iphone Programming Glossary: paintingwindow
Save OpenGL Drawn item as a Image http://stackoverflow.com/questions/9660723/save-opengl-drawn-item-as-a-image glPointSize width kBrushScale Make sure to start with a cleared buffer needsErase YES return self AppDelegate.h PaintingWindow window its a class inherited from window. PaintingView drawingView @property nonatomic retain IBOutlet PaintingWindow window.. PaintingWindow window its a class inherited from window. PaintingView drawingView @property nonatomic retain IBOutlet PaintingWindow window @property nonatomic retain IBOutlet PaintingView drawingView @synthesize window @synthesize drawingView AppDelegate.m.. when recieving a notification named shake from the NSNotificationCenter object The shake nofification is posted by the PaintingWindow object when user shakes the device NSNotificationCenter defaultCenter addObserver self selector @selector eraseView name..
Record the drawing as a m4v video file - OpenGL http://stackoverflow.com/questions/9661259/record-the-drawing-as-a-m4v-video-file-opengl GL_TRUE glPointSize width kBrushScale Make sure to start with a cleared buffer needsErase YES AppDelegate.h PaintingWindow window its a class inherited from window. PaintingView drawingView @property nonatomic retain IBOutlet PaintingWindow window.. PaintingWindow window its a class inherited from window. PaintingView drawingView @property nonatomic retain IBOutlet PaintingWindow window @property nonatomic retain IBOutlet PaintingView drawingView @synthesize window @synthesize drawingView return self.. when recieving a notification named shake from the NSNotificationCenter object The shake nofification is posted by the PaintingWindow object when user shakes the device NSNotificationCenter defaultCenter addObserver self selector @selector eraseView name..
Saving imageRef from GLPaint creates completely black image http://stackoverflow.com/questions/9857912/saving-imageref-from-glpaint-creates-completely-black-image app works fine the problem is doing it in my new app. The only difference I can tell is that I have not included PaintingWindow would that be the problem It's as if the saveImage method isn't seeing the data for drawings. iphone ios ipad opengl es..
|