码迷,mamicode.com
首页 >  
搜索关键字:pt px pixel    ( 3374个结果
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
windows消息机制(MFC)
windows消息机制(MFC)消息分类与消息队列Windows中,消息使用统一的结构体(MSG)来存放信息,其中message表明消息的具体的类型,而wParam,lParam是其最灵活的两个变量,为不同的消息类型时,存放数据的含义也不一样。time表示产生消息的时间,pt表示产生消息时鼠标的位置...
分类:Windows程序   时间:2014-09-01 00:20:22    阅读次数:422
判断文件结束,feof……
因为文本文件中存储的是ASCII码,而ASCII码中FF代表空值(blank),一般不使用,所以如果读文件返回了FF,说明已经到了文本文件的结尾。但是如果是二进制文件,其中可能会包含FF,因此不能把读到EOF作为文件结束的条件,此时只能用feof()函数。在VC里,只有当文件位置指针(fp->_pt...
分类:其他好文   时间:2014-08-30 21:41:20    阅读次数:286
【技术】文字和图片垂直居中
注:代码:所有的宽度都应该写%或em,不应该用px。效果如下图:代码如下: 建站指导.nav_bg{ width: 100%; height: 70px; background: url('images/ico2.png') no-repeat 7em center #e60012;}.nav...
分类:其他好文   时间:2014-08-29 12:48:57    阅读次数:225
A Novel Human Detection Approach Based on Depth Map via Kinect
In this paper, a new method of human detection based on depth map from 3D sensor Kinect is proposed. First, the pixel filtering and context filtering ...
分类:移动开发   时间:2014-08-28 19:44:45    阅读次数:445
Flexigrid列之间的拖拉线条在某些浏览器中不能很好地与栏目边缘重合解决方法介绍
提示:flexigrid.pack.js$("div:eq("+r+")",g.cDrag).css({left:(!browser.mozilla?i-n:i)+"px"}).show();改为$("div:eq("+r+")",g.cDrag).css({left:i+"px"}).show()...
分类:其他好文   时间:2014-08-27 17:53:38    阅读次数:235
css3圆角讲解
Css3圆角讲解:想必大家对于图片,背景圆角,都不陌生吧,圆角语法:border-radius:圆角值;这个值可以使用:em ,ex,pt,px,百分比;Border-radius跟margin,padding差不多Border-radius:lefttop,righttop,rightbottom...
分类:Web程序   时间:2014-08-27 16:29:37    阅读次数:251
POJ 2031
最小生成树#include #include #include #include #include using namespace std;const int Maxn=110;struct Pex{ double x,y,z; double r;};Pex pt[Maxn];int n;doubl...
分类:其他好文   时间:2014-08-26 21:18:06    阅读次数:198
优化ClipSpace to Screen TexCoord 变换.
在deferred shading 和post process 阶段, 通常要做的一件事情就是讲裁减空间坐标转换到屏幕空间的纹理坐标.这里面通常的做法就是Vertex Shader 输出clip space position 到pixel shader.pixel shader 做除法,然后再 + ...
分类:其他好文   时间:2014-08-26 15:10:16    阅读次数:266
Linux-网络操作相关命令--rcp;finger
rcp1.作用rcp代表远程文件拷贝,用于计算机之间文件拷贝,使用权限是所有用户。2.格式rcp[-px][-krealm]file1file2rcp[-px][-r][-krealm]file3.主要参数-r:递归地把源目录中的所有内容拷贝到目的目录中。要使用这个选项,目的必须是一个目录。-p:试图保留源文件的修改时间和..
分类:系统相关   时间:2014-08-25 19:34:15    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!