码迷,mamicode.com
首页 >  
搜索关键字:there is a huge rect    ( 5271个结果
利用Quartz2D推图的另一个方法 (使用CGMutalePathRef进行分层次)
可以利用 CGMutablePathRef 创建每个不同图形,然后再一起添加到CGContext中- (void)drawRect:(CGRect)rect{ CGContextRef ctx = UIGraphicsGetCurrentContext(); //一、 画线 ...
分类:Web程序   时间:2015-07-02 20:48:18    阅读次数:151
大页(huge pages) 三大系列 ---计算大页配置参数
使用以下shell 脚本来计算大页配置参数,确保使用脚本实例之前的数据已经开始,如果数据库的版本号11g,确认是否使用自己主动的内存管理(AMM)+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...
分类:其他好文   时间:2015-07-02 09:54:52    阅读次数:171
绘制图形-移动,旋转,阴影,渐变
// Only override drawRect: if you perform custom drawing. // An empty implementation adversely affects performance during animation. - (void)drawRect:(CGRect)rect {     UIBezierPath *path = [UI...
分类:移动开发   时间:2015-07-01 22:19:53    阅读次数:259
ios绘图
#import "LCSView.h" @implementation LCSView ////绘图 - (void)drawRect:(CGRect)rect {      #if 0     //图形上下文对象     CGContextRef context = UIGraphicsGetCurrentContext();  ...
分类:移动开发   时间:2015-06-30 18:21:10    阅读次数:221
pyglet----画一个矩形
这里列出一种在窗口Window中画图的程序框架。。。。。。。。。。#-*- coding:utf-8 -*-from pyglet.gl import *def draw_rect(x, y, width, height): glBegin(GL_LINE_LOOP) glVertex2...
分类:其他好文   时间:2015-06-27 22:41:01    阅读次数:1012
pyglet--旋转的矩形
展示怎么制作动画。。。。#-*- coding:utf-8 -*-from pyglet.gl import *from pyglet import clockdef draw_rect(x, y,z,width, height,ang): glClear(GL_COLOR_BUFFER_BI...
分类:其他好文   时间:2015-06-27 22:35:28    阅读次数:208
unity4.6学习Ugui中文文档-------参考-UGUI Rect Transform
1、Rect TransformRect Transform是2D与3D图形的Transform组件对应。它用来指定用户界面系统中的大小、位置和旋转的控件PropertiesProperty:Function:Pos (X, Y and Z)相对锚点anchors的矩形枢轴pivot点的位置。Wid...
分类:编程语言   时间:2015-06-26 14:58:14    阅读次数:211
【MFC】MFC中窗口重绘
MFC中窗口重绘摘自:http://blog.csdn.net/shuilan0066/article/details/5859057在刷新窗口时经常要调用重绘函数MFC提供了三个函数用于窗口重绘InvalidateRect(&Rect)Invalidate()UpdateWindow()当需要更新...
分类:编程语言   时间:2015-06-26 14:52:47    阅读次数:125
redis做RDB时请求超时case
排查redis做RDB时请求超时的case,介绍THP(Transparent Huge Pages)的影响...
分类:数据库   时间:2015-06-24 21:09:04    阅读次数:320
html5 SVG 涂鸦
<!DOCTYPEHTML> <html> <body> <svgxmlns="http://www.w3.org/2000/svg"version="1.1"width="1000px"height="800px"> <rect x="20" y="20" rx="20" ry="20" width="250" height="100" style="fill:red;stroke:black;stroke-width:5;fill-o..
分类:Web程序   时间:2015-06-19 21:45:07    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!