码迷,mamicode.com
首页 >  
搜索关键字:there is a huge rect    ( 5271个结果
iOS 设置UILabel 的内边距
iOS 设置UILabel 的内边距- (void)drawTextInRect:(CGRect)rect { UIEdgeInsets insets = {0, 5, 0, 5}; [super drawTextInRect:UIEdgeInsetsInsetRect(rect, in...
分类:移动开发   时间:2014-05-14 10:12:21    阅读次数:4319
Starship Troopers
Problem DescriptionYou, the leader of Starship Troopers, are sent to destroy a base of the bugs. The base is built underground. It is actually a huge ...
分类:其他好文   时间:2014-05-14 04:02:54    阅读次数:336
把鼠标限制在窗口内
玩魔兽和LOL时注意到即时游戏窗口最小化,鼠标仍限制在窗口内,这具体是怎么实现的呢?Msdn上有个例子Confining a Cursor:RECT rcClip; // new area for ClipCursorRECT rcOldClip; // previ...
分类:其他好文   时间:2014-05-12 20:25:11    阅读次数:431
路径构造
1 前言构造和绘制路径,能够在图形环境上画任意形状.2 代码实例ZYViewControllerView.m[plain]view plaincopy-(void)drawRect:(CGRect)rect{//创建路径创建一个新的CGMutablePathRef类型的可变路径并返回其句柄。CGMu...
分类:其他好文   时间:2014-05-12 10:02:22    阅读次数:308
进度条
EditorGUI.ProgressBar 进度条static functionProgressBar(position:Rect,value: float,text: string) : voidParameters参数totalPositionRectangle on the screen to...
分类:其他好文   时间:2014-05-10 01:28:36    阅读次数:440
hust 1164 4 Rain on your Parade
题目描述You’re giving a party in the garden of your villa by the sea. The party is a huge success, and everyone is here. It’s a warm, sunny evening, and a...
分类:其他好文   时间:2014-05-05 21:55:51    阅读次数:305
线段树入门(Billboard)
Billboard Time Limit:8000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description At the entrance to the university, there is a huge rectangu...
分类:其他好文   时间:2014-05-01 19:28:02    阅读次数:444
UVA 10692 Huge Mod
Problem XHuge ModInput:standard inputOutput:standard outputTime Limit:1 secondThe operator for exponentiation is different from the addition, subtract...
分类:其他好文   时间:2014-05-01 09:03:35    阅读次数:540
DirectDraw 直接显示RGB图象的最简单实现
来自:#include "DDraw.h"class CDDraw{public:void CleanUp();void DrawDIB(BITMAPINFOHEADER* pBI,char* pData,RECT*rt);BOOL Init(HWND hWnd,int nWidth,int nHe...
分类:其他好文   时间:2014-05-01 05:25:10    阅读次数:407
在view扣除正方形
- (void)drawRect:(CGRect)rect { [super drawRect:rect]; CGContextRef ctx = UIGraphicsGetCurrentContext(); CGContextSetRGBFillColor(ctx, .3, .3, .3, .1); CGContextFillRect(ctx, self.boun...
分类:其他好文   时间:2014-04-29 13:33:22    阅读次数:284
5271条   上一页 1 ... 525 526 527 528 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!