#include <Gdc2.h>
Inheritance diagram for GSurface:
Public Member Functions | |
virtual void | Set (int x, int y) |
Sets a pixel with the current colour. | |
virtual COLOUR | Get (int x, int y) |
Gets a pixel (doesn't work on some types of image, i.e. GScreenDC). | |
virtual void | HLine (int x1, int x2, int y) |
Draw a horizontal line in the current colour. | |
virtual void | VLine (int x, int y1, int y2) |
Draw a vertical line in the current colour. | |
virtual void | Line (int x1, int y1, int x2, int y2) |
Draw a line in the current colour. | |
virtual void | Circle (double cx, double cy, double radius) |
Stroke a circle in the current colour. | |
virtual void | FilledCircle (double cx, double cy, double radius) |
Fill a circle in the current colour. | |
virtual void | Arc (double cx, double cy, double radius, double start, double end) |
Stroke an arc in the current colour. | |
virtual void | FilledArc (double cx, double cy, double radius, double start, double end) |
Fill an arc in the current colour. | |
virtual void | Ellipse (double cx, double cy, double x, double y) |
Stroke an ellipse in the current colour. | |
virtual void | FilledEllipse (double cx, double cy, double x, double y) |
Fill an ellipse in the current colour. | |
virtual void | Box (int x1, int y1, int x2, int y2) |
Stroke a rectangle in the current colour. | |
virtual void | Box (GRect *a=NULL) |
Stroke a rectangle in the current colour. | |
virtual void | Rectangle (int x1, int y1, int x2, int y2) |
Fill a rectangle in the current colour. | |
virtual void | Rectangle (GRect *a=NULL) |
Fill a rectangle in the current colour. | |
virtual void | Blt (int x, int y, GSurface *Src, GRect *a=NULL) |
Copy an image onto the surface. | |
virtual void | StretchBlt (GRect *d, GSurface *Src, GRect *s) |
Not implemented. | |
virtual void | Polygon (int Points, GdcPt2 *Data) |
Fill a polygon in the current colour. | |
virtual void | Bezier (int Threshold, GdcPt2 *Pt) |
Stroke a bezier in the current colour. | |
virtual void | FloodFill (int x, int y, int Mode, COLOUR Border=0, GRect *Bounds=NULL) |
Flood fill in the current colour (doesn't work on a GScreenDC). |
|
Copy an image onto the surface.
|
|
Stroke a rectangle in the current colour.
Reimplemented in GScreenDC. |
|
Flood fill in the current colour (doesn't work on a GScreenDC).
Reimplemented in GScreenDC. |
|
Fill a rectangle in the current colour.
Reimplemented in GScreenDC. |