码迷,mamicode.com
首页 >  
搜索关键字:point    ( 7079个结果
Cocos2d-x Render-NewCulling
.cpp layout->setBackGroundImageScale9Enabled(true); layout->setBackGroundImage("green_edit.png"); layout->setPosition(Point(0,0...
分类:其他好文   时间:2014-07-16 21:39:31    阅读次数:173
Windows Graphics Programming Win32 GDI and DirectDraw第六章疑问
《Windows Graphics Programming Win32 GDI and DirectDraw》6.1节中有这样的描述:The Windows NT/2000 graphics engine uses signed fixed-point numbers to represent co...
分类:Windows程序   时间:2014-07-16 20:12:18    阅读次数:321
Android 画个圆 淡入淡出
private class SimpleView extends ImageView{ int point_x; int point_y; int radius = 0; public SimpleView(Context c...
分类:移动开发   时间:2014-07-15 00:28:07    阅读次数:457
【足迹C++primer】45、拷贝控制示例
拷贝控制示例 那么接下来尽情欣赏这个案例吧!!! /** * 功能:拷贝控制示例 * 时间:2014年7月14日10:57:39 * 作者:cutter_point */ #include #include #include #include using namespace std; class Folder; /** Message类 */ class Message { fr...
分类:编程语言   时间:2014-07-14 17:39:36    阅读次数:293
弹出菜单的实现
void CNumEdit::OnRButtonDown(UINT nFlags, CPoint point){ // TODO: 在此添加消息处理程序代码和/或调用默认值 //CEdit::OnRButtonDown(nFlags, point); //弹出菜单//定义一个菜单类 CMenu po...
分类:其他好文   时间:2014-07-14 09:46:04    阅读次数:220
CSliderCtrl(滑块)控件
CSliderCtrl(滑块)控件CSliderCtrl常用属性CSliderCtrl类常用成员函数CSliderCtrl运用示例一、CSliderCtr常用属性Orientation 水平,还是垂直Point 滑块样式Tooltips 刻度提示 //由于视频录制软件的问题,这个无法在视频上显示出来...
分类:其他好文   时间:2014-07-14 00:41:13    阅读次数:970
Pascal小游戏 贪吃蛇
一段未完成的Pascal贪吃蛇说这段代码未完成其实是没有源代码格式化,FP中一行最多只有255字符宽。uses crt;const screenwidth=50;screenheight=24; wallchar='#'; snakechar='*'; ; type point=record x,y...
分类:其他好文   时间:2014-07-13 12:34:00    阅读次数:348
java中不常见的keyword:strictfp,transient
1.strictfp, 即 strict float point (精确浮点)。 strictfp keyword可应用于类、接口或方法。使用 strictfp keyword声明一个方法时,该方法中全部的float和double表达式都严格遵守FP-strict的限制,符合IEEE-754规范。....
分类:编程语言   时间:2014-07-13 11:59:07    阅读次数:245
环形矩阵
1.逆时针代码: 1 // huanxingjz.cpp : Defines the entry point for the console application. 2 // 3 4 #include "stdafx.h" 5 #include 6 #include 7 #include "...
分类:其他好文   时间:2014-07-13 09:53:40    阅读次数:246
九野的计算几何模版
#include #include #include #include #include using namespace std; #define point Point const double eps = 1e-8; const double PI = acos(-1.0); double ABS(double x){return x>0?x:-x;} int sgn(double x){...
分类:其他好文   时间:2014-07-10 23:54:16    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!