Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2015-04-17 18:05:48
阅读次数:
104
var container = Ext.create('Ext.Container',{ fullscreen:true, html: 'This container is scrollable!', scrollable:{direction:'vertical'}})
分类:
其他好文 时间:
2015-04-17 18:04:08
阅读次数:
117
android:id="@+id/toast_layout"
android:layout_width="200dip"
android:layout_height="fill_parent"
android:background="#f0f0f0"
android:orientation="vertical" >
andr...
分类:
移动开发 时间:
2015-04-17 11:26:46
阅读次数:
244
边缘方法有: sobel, scharr, laplacisan, canny原图:sobel vertical filter 垂直滤波sobel horizonal filter水平滤波laplacian中值去躁后拉普拉斯滤波laplacian只输出二值化边缘canny
分类:
其他好文 时间:
2015-04-17 10:50:04
阅读次数:
389
题目:
Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find tw...
分类:
其他好文 时间:
2015-04-16 21:59:36
阅读次数:
114
1. Margin collapsing ONLY happens with top and bottom margins, not left and right, and not at all on inline elements.2. vertical-align can use digit a...
分类:
其他好文 时间:
2015-04-15 10:57:53
阅读次数:
112
一、LinearLayout线性布局
1、常见属性
android:orientation="horizontal":制定线性布局的排列方式
水平 horizontal
垂直 vertical
gravity 控制当前控件内容显示区域
layout_gravity 当前控件在父元素的位置
Layout_weight 额外空间分配(权重)
android:v...
分类:
移动开发 时间:
2015-04-15 09:43:52
阅读次数:
202
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:id="@+id/short...
分类:
移动开发 时间:
2015-04-14 11:22:10
阅读次数:
152
一、效果图
二、css
::-webkit-srollbar-track-piece{background:none;-webkit-border-radius:0;}
::-webkit-scrollbar{width:8px;height:8px;}
::-webkit-scrollbar-thumb:vertical{height:50px;background-...
分类:
Web程序 时间:
2015-04-14 10:00:51
阅读次数:
255
概念
VSYNC,vertical synchronization
Refresh Rate 屏幕一秒钟刷新的次数,由硬件决定,单位Hz,一般是60Hz
Frame Rate GPU在一秒内绘制的帧数,单位fps(Frames per second)
具体解释GPU获取图形数据进行绘制,硬件将绘制好的数据呈现在屏幕上,为了使画面在屏幕上流畅的显示,需要保持Frame Rate 在60以上,也就是一次...
分类:
移动开发 时间:
2015-04-11 20:55:37
阅读次数:
186