【OpenGL位图函数】1、OpenGL中glBitmap用于绘制一个二值阵列。 When drawn, the bitmap is positioned relative to the current raster position, and framebuffer pixels corre...
分类:
其他好文 时间:
2014-08-17 21:11:32
阅读次数:
368
(1) CSS pixels与device pixels CSS pixels: 浏览器使用的抽象单位, 主要用来在网页上绘制内容。 device pixels: 显示屏幕的的最小物理单位,每个dp包含自己的颜色、亮度。 等值的 CSS pixels在手机屏幕上占...
分类:
移动开发 时间:
2014-08-15 13:04:49
阅读次数:
253
dimen.xml在values文件夹下面 16dp 16dp布局中的使用: 文件夹含义:values-v11 -------API 11+代表android 3.0 +,意思是在API11设备上,该目录下的dimens.xml代替res/values/dimens.xmlva...
分类:
移动开发 时间:
2014-08-12 18:24:04
阅读次数:
196
先介绍一下这几个单位:
px : pixels(像素),对应屏幕上的实际像素点。
dip :device independent pixels,与密度无关的像素,基于屏幕密度的抽象单位。在每英寸160点的显示器上,
1dp = 1px ,即1 :1关系。(dp 就是 dip)
sp : scaled pixels(放大像素).与密度和字体缩放度无关的像素。 主要用于字体显示...
分类:
移动开发 时间:
2014-07-30 10:01:57
阅读次数:
258
有必要了解的 Android中常见的单位 dip, dp, px, sp之间的区别:dip: device independent pixels(设备独立像素). 不同设备有不同的显示效果,这个和设备硬件有关,一般我们为了支持WVGA、HVGA和QVGA 推荐使用这个,不依赖像素。px: pixel...
分类:
移动开发 时间:
2014-07-30 09:47:43
阅读次数:
443
【Stencil】 The stencil buffer can be used as a general purpose per pixel mask for saving or discarding pixels. The stencil buffer is usually an 8 bit.....
分类:
其他好文 时间:
2014-07-26 16:51:21
阅读次数:
267
【Fog】 Fog parameters are controlled with Fog command. Fogging blends the color of the generated pixels down towards a constant color based on dist...
分类:
其他好文 时间:
2014-07-26 14:57:00
阅读次数:
250
Counting the Pixels with Histograms
分类:
其他好文 时间:
2014-07-22 23:14:32
阅读次数:
283
1.dp(dip):不同设备有不同的显示效果,这个和设备硬件有关系,一般我们为了支持WVGA,HVGA和QVGA对剑使用这个,它是不依赖像素的2.px:pixels(像素),不同设备显示效果相同,一般我们HVGA代表320×480像素,这个用的比较多3.pt:point,是一个标准的长度单位,1pt...
分类:
移动开发 时间:
2014-07-18 23:15:10
阅读次数:
338
HTML 标签
标签的 border 属性" href="">border
pixels
规定表格边框的宽度。
STF
标签的 cellpadding 属性" href="">cellpadding
pixels %
规定单元边沿与其内容之间的空白。
STF
标签的 cellspacing 属性" href="">cellsp...
分类:
其他好文 时间:
2014-07-18 22:34:42
阅读次数:
373