Module ddi.Drawable
| Constructor Summary | |
|---|---|
| public |
(GObject* gObject) |
| public |
(Widget widget) Creates a drawable from a widget. |
|
(Widget widget, GdkDrawable *window) Creates a drawable from a widget. |
|
| Methods Summary | |
|---|---|
| public GC |
getGC() Gets the GC of this drawable |
| public void |
setDrawable(Widget widget) Sets this drawable GdkDrawable and GdkGC from a widget |
| GdkDrawable* |
gDraw() Gets this drawable GdkDrawable |
| void |
drawPoint(GC gc, gint x, gint y) Draws a point |
| void |
drawPoint(gint x, gint y) Draws a point using the current GC |
| void |
getSize(gint* width, gint* height) Gets the size of this drawable |
| gint |
getDepth() |
| Screen |
getScreen() |
| void |
drawLine(GC gc, gint x1, gint y1, gint x2, gint y2) Draws a line |
| void |
drawLine(gint x1, gint y1, gint x2, gint y2) Draws a line using the current GC |
| void |
drawRectangle(GC gc, bit filled, gint x, gint y, gint width, gint height) Draws a rectangle |
| void |
drawRectangle(bit filled, gint x, gint y, gint width, gint height) Draws a rectangle using the current GC |
| void |
drawArc(bit filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2) Draws an arc using the current GC |
| void |
drawArc(GC gc, bit filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2) Draws an arc |
| void |
drawPolygon(GC gc, bit filled, GdkPoint* points, gint npoints) |
| void |
drawPolygon(bit filled, Point points) |
| void |
drawDrawable(GC gc, Drawable drawable, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height) Draws a Drawable into this drawable. |
| void |
drawImage(GC gc, GdkImage* image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height) |
| void |
drawImage(Image image, gint xdest, gint ydest) |
| void |
drawPixbuf(GC gc, Pixbuf pixbuf, int x, int y) |
| void |
drawString(Font font, int x, int y, char string) |
| void |
drawString(Font font, int x, int y, String string) |
| void |
drawPoints(Point points) |
| void |
drawLines(Point points) |