去除背景convertcyclops.png-bordercolorwhite-border1x1-matte-fillnone-fuzz20%-draw'matte0,0floodfill'-shave1x1cyclops_flood_3.png
分类:
其他好文 时间:
2014-11-01 13:22:30
阅读次数:
320
/////////////////////////////////////////////////////////////////////////////
//CX_SelfViewconstruction/destruction
//voidDrawHMI(CDC*pDC,intNodeNum,CRectrect,inttype,BOOLMasterNet,BOOLSlaveNet,intnParent=View)
voidDrawHMI(CDC*pDC,intNodeNum,CRectrect,intty..
分类:
编程语言 时间:
2014-11-01 06:25:42
阅读次数:
252
这节主要讲的是文本编程 1 // CTextView 绘制 2 3 void CTextView::OnDraw(CDC* pDC) 4 { 5 CTextDoc* pDoc = GetDocument(); 6 ASSERT_VALID(pDoc); 7 if (!pDo...
分类:
编程语言 时间:
2014-10-31 13:42:14
阅读次数:
252
Android - Layout clipChildren属性本文地址: http://blog.csdn.net/caroline_wendyandroid:clipChildren: Defines whether a child is limited to draw inside of its bounds or not.子控件是否它的范围之内,默认是true,如果设为false,则子控件可...
分类:
移动开发 时间:
2014-10-30 21:04:24
阅读次数:
170
??
1 draw绘图
头文件
T19Draw.h
#ifndef
__T19Draw_H__
#define
__T19Draw_H__
#include
"cocos2d.h"
#include
"TBack.h"
USING_NS_CC;
class
T...
分类:
其他好文 时间:
2014-10-30 11:46:06
阅读次数:
270
Container With Most WaterGiven n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are draw...
分类:
其他好文 时间:
2014-10-28 19:30:59
阅读次数:
163
//>第一章节整理复习//c++编程技术要点/*//1、虚函数及多态的实现//演示多态技术#include using namespace std;void Demo();int main(){Demo();getchar();return 0;}class Graphic{public:virtual void Draw();}; //END CLASS DEFINITION Graphicvo...
分类:
编程语言 时间:
2014-10-28 12:13:36
阅读次数:
336
转载请注明出处:http://blog.csdn.net/guolin_blog/article/details/17045157在前面一篇文章中,我带着大家一起从源码的层面上分析了视图的绘制流程,了解了视图绘制流程中onMeasure、onLayout、onDraw这三个最重要步骤的工作原理,那么...
分类:
移动开发 时间:
2014-10-27 19:20:49
阅读次数:
253
当自定义View的时候,可以利用Canvas给View添加一些动画效果。下面的例子,是在屏幕上绘制一个红色的小方块,这个小方块会在屏幕上面“乱跳”。知识点使用到的知识点:(1) 在View的子类的draw()中调用invalidate(),可以让View对象一直保持重绘状态,从而可以使Canvas一...
分类:
移动开发 时间:
2014-10-27 00:19:11
阅读次数:
1155