A destructor is present on this object, but not explicitly documented in the source.
A postblit is present on this object, but not explicitly documented in the source.
Draws an arc inside the bounding box given by upperLeft, width, and height, from the angle (start / 64) degrees for (length / 64) degrees of rotation.
this function draws a circle with the drawEllipse() function above, it requires the upper left point and the radius
Arguments are the points of the bounding rectangle
Draws a pen using the current pen / outlineColor
Drawing an individual pixel is slow. Avoid it if possible.
Draws a pixmap (represented by the Sprite class) on the drawable.
.
.
Draws a rectangle using the current pen/outline color for the border and brush/fill color for the insides The outer lines, inclusive of x = 0, y = 0, x = width - 1, and y = height - 1 are drawn with the outlineColor The rest of the pixels are drawn with the fillColor. If fillColor is transparent, those pixels are not drawn.
Draws a rectangle with rounded corners. It is outlined with the current foreground pen and filled with the current background brush.
Draws a string in the window with the set font (see setFont to change it).
Draws text using a custom font.
If you are using manual invalidations, this informs the window system that a section needs to be redrawn.
EXPERIMENTAL. subject to change.
Scrolls the contents in the bounding rectangle by dx, dy. Positive dx means scroll left (make space available at the right), positive dy means scroll up (make space available at the bottom)
Sets the clipping region for drawing. If width == 0 && height == 0, disabled clipping.
Most functions use the outlineColor instead of taking a color themselves. ScreenPainter is reference counted and draws its buffer to the screen when its final reference goes out of scope.
The 2D drawing proxy. You acquire one of these with SimpleWindow.draw rather than constructing it directly. Then, it is reference counted so you can pass it at around and when the last ref goes out of scope, the buffered drawing activities are all carried out.