码迷,mamicode.com
首页 >  
搜索关键字:pasha and pixels    ( 276个结果
【Android】getwidth和getmeasuredwidth的区别以及两者的使用场景
getWidth(): public final int getWidth () Added in API level 1 Return the width of the your view. Returns The width of your view, in pixels....
分类:移动开发   时间:2014-09-08 08:32:56    阅读次数:224
安卓屏幕尺寸相关知识
本文由PurpleSword(jzj1993)原创,转载请注明 原文网址 http://blog.csdn.net/jzj1993 1.px = Pixels,像素值 2.dp = dip = device independent pixel,设备独立像素(安卓专用虚拟像素单位) 3.density,屏幕密度 (1)近似换算关系 px = dip*...
分类:移动开发   时间:2014-09-04 22:22:50    阅读次数:291
使用 rem 设置文字大小(文字响应式)
响应式理念:响应式网页不仅仅是响应不同类型的设备,而且需要响应不同的用户需求。响应式的初衷是为了让信息更好的传递交流,让所有人无障碍的获取信息,同时这也是 Web 的初衷。一、rem的定义 网页中常用的文字大小单位是 px(Pixels),em,现在新增了 rem 这个单位。 「rem」是指...
分类:其他好文   时间:2014-09-04 16:35:49    阅读次数:247
UVA - 1156 Pixel Shuffle (置换+模拟)
Description Shuffling the pixels in a bitmap image sometimes yields random looking images. However, by repeating the shuffling enough times, one finally recovers the original images. This should ...
分类:其他好文   时间:2014-09-01 15:39:53    阅读次数:230
javascript 之clientHeight、scrollHeight、offsetHeight
三者均用于获取一个Dom节点的高度,不过他们的含义并不相同。clientHeight :MDN对该属性的描述如下:TheElement.clientHeightread-only property returns the inner height of an element in pixels, i...
分类:编程语言   时间:2014-08-30 22:52:40    阅读次数:312
Camera图片特效处理综述(Bitmap的Pixels处理、Canvas/paint的drawBitmap处理、旋转图片、裁截图片、播放幻灯片浏览图片<线程固定时间显示一张>)
一种是直接对Bitmap的像素进行操作,如:叠加、边框、怀旧、(高斯)模糊、锐化(拉普拉斯变换)。Bitmap.getPixels(srcPixels, 0, width, 0, 0, width, height); newR = (int) (pixR * alpha + layR * (1 -....
分类:编程语言   时间:2014-08-29 21:20:58    阅读次数:382
android适配_相关概念和应用
有几个概念以及相关公式先理解下:1、dp:device independent pixels(设备独立像素),是像素和密度的比dp = px / density2、dpi(dot per inch每英寸的点数)和ppi相等,是屏幕对角线的像素数和屏幕尺寸的比例dpi = ppi = (√(scree...
分类:移动开发   时间:2014-08-22 16:06:58    阅读次数:250
OpenGL位图函数
【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
移动端webapp开发基础
(1) CSS pixels与device pixels CSS pixels: 浏览器使用的抽象单位, 主要用来在网页上绘制内容。 device pixels: 显示屏幕的的最小物理单位,每个dp包含自己的颜色、亮度。 等值的 CSS pixels在手机屏幕上占...
分类:移动开发   时间:2014-08-15 13:04:49    阅读次数:253
android开发中用到的px、dp、sp
先介绍一下这几个单位: px : pixels(像素),对应屏幕上的实际像素点。 dip :device independent pixels,与密度无关的像素,基于屏幕密度的抽象单位。在每英寸160点的显示器上, 1dp = 1px ,即1 :1关系。(dp 就是 dip) sp : scaled pixels(放大像素).与密度和字体缩放度无关的像素。 主要用于字体显示...
分类:移动开发   时间:2014-07-30 10:01:57    阅读次数:258
276条   上一页 1 ... 24 25 26 27 28 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!