picofuse-objc

NXGraphicsContext.h
Go to the documentation of this file.
1 
5 #pragma once
7 
29 @private
30  void *_bitmap;
31 }
32 
36 - (NXSize)size;
37 
42 - (BOOL)blending;
43 
48 - (void)setBlending:(BOOL)blending;
49 
53 - (void)fillWithColor:(NXColor *)color;
54 
58 - (void)fillRect:(NXRect)rect withColor:(NXColor *)color;
59 
63 - (void)drawLineFrom:(NXPoint)from to:(NXPoint)to withColor:(NXColor *)color;
64 
68 - (void)setColor:(NXColor *)color atPoint:(NXPoint)point;
69 
73 - (NXColor *)colorAtPoint:(NXPoint)point;
74 
75 @end
What a display is drawn with, while it's being drawn: a display gives it to its delegate's -display:d...
BOOL blending()
Returns YES if a color with an opacity under 1 is blended, the default, or NO if it replaces what's t...
A size, in pixels.
Definition: NXGeometry.h:21
bool BOOL
A Boolean value.
Definition: runtime.h:60
Defines points, sizes and rectangles, in pixels.
NXSize size()
Returns the size of what's drawn on, which is the display's.
The base class for objects in the Foundation framework.
Definition: NXObject.h:28
A color: red, green and blue, with an opacity.
Definition: NXColor.h:27
A point, in pixels from the top left.
Definition: NXGeometry.h:12
A rectangle: its top left, and its size.
Definition: NXGeometry.h:30