1, first create a LayerColor
Scene *scene=Scene::create() ;
director->runWithScene(scene);
//Goal
auto layer = LayerColor::create(Color4B(0, 255, 0, 255), 100 , 100);
//The main step
1, first create a LayerColor
Scene *scene=Scene::create() ;
director->runWithScene(scene);
//Goal
auto layer = LayerColor::create(Color4B(0, 255, 0, 255), 100 , 100);
//The main step
SpriteBatchNode inherits from Node and implements the TextureProtocol interface, rewriting Node’s addChild() method, visit() method and draw() method.
The addChild() method restricts its chil
1. Basic graphics drawingA. The key role in the Qt graphics system
QPainter–The painter in Qt can draw various foundations Graphics, with brushes, brushes, and fonts needed for drawing
QPaintDevic
From: http://www.cnblogs.com/xuling/archive/2011/06/06/android.html