Home | All Classes | Grouped Classes | Index | Search
Graphic rendering target. More...
Derived from:
none
Derived by:
none
Group: Display (Display 2D)
#include <ClanLib/display.h>
Construction:
Constructs a graphic context. |
Attributes:
Returns the current width of the context. | |
Returns the current height of the context. | |
Returns the current clipping rectangle used on the graphic context. | |
Returns the current effective x-axis translation offset. | |
Returns the current effective y-axis translation offset. | |
Returns a pixel value at specified coordinates. |
Operations:
Copy assignment operator. | |
Begin window 3D rendering mode. | |
End windows 3D rendering mode. | |
Draw a pixel at (x, y) using the specified color. | |
Draw a line from (x1, y1) to (x2, y2) using the specified color. | |
Draw a rectangle using the specified color. | |
Draw a filled rectangle using the specified color. | |
Clears the whole context using the specified color. | |
Set the current clipping rectangle. | |
Push current clipping rectangle to stack. | |
Pop current clipping rectangle from the stack. | |
Sets the translate offset. | |
Push translation offset onto translation stack. | |
Pops the last pushed translation offset from the translation offset stack. |
Implementation:
Detailed description:
A graphic context is something that ClanLib can render onto.