NativeScreenPainterImplementation

Undocumented in source.

Members

Functions

colorToX
uint colorToX(Color c, Display* display)
Undocumented in source. Be warned that the author may not have intended to support it.
create
void create(NativeWindowHandle window)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
drawArc
void drawArc(int x1, int y1, int width, int height, int start, int finish)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(int x1, int y1, int x2, int y2)

Arguments are the points of the bounding rectangle

drawImage
void drawImage(int x, int y, Image i, int ix, int iy, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(int x1, int y1, int x2, int y2)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixel
void drawPixel(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(Sprite s, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolygon
void drawPolygon(Point[] vertexes)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRectangle
void drawRectangle(int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(int x, int y, int x2, int y2, char[] originalText, uint alignment)
Undocumented in source. Be warned that the author may not have intended to support it.
fontHeight
int fontHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
setClipRectangle
void setClipRectangle(int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(OperatingSystemFont font)
Undocumented in source. Be warned that the author may not have intended to support it.
swapColors
void swapColors()
Undocumented in source. Be warned that the author may not have intended to support it.
textSize
Size textSize(char[] text)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

fillColor
Color fillColor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
pen
Pen pen [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
rasterOp
RasterOp rasterOp [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

defaultfont
XFontStruct* defaultfont;
Undocumented in source.
defaultfontset
XFontSet defaultfontset;
Undocumented in source.
fontAttempted
bool fontAttempted;
Undocumented in source.

Variables

_activePen
Pen _activePen;
Undocumented in source.
_clipRectangle
arsd.color.Rectangle _clipRectangle;
Undocumented in source.
_currentRasterOp
RasterOp _currentRasterOp;
Undocumented in source.
_currentRasterOpInitialized
bool _currentRasterOpInitialized;
Undocumented in source.
_fillColor
Color _fillColor;
Undocumented in source.
_fillColorInitialized
bool _fillColorInitialized;
Undocumented in source.
_outlineColor
Color _outlineColor;
Undocumented in source.
_penInitialized
bool _penInitialized;
Undocumented in source.
backgroundIsNotTransparent
bool backgroundIsNotTransparent;
Undocumented in source.
d
Drawable d;
Undocumented in source.
destiny
Drawable destiny;
Undocumented in source.
display
Display* display;
Undocumented in source.
font
XFontStruct* font;
Undocumented in source.
fontset
XFontSet fontset;
Undocumented in source.
foregroundIsNotTransparent
bool foregroundIsNotTransparent;
Undocumented in source.
gc
GC gc;
Undocumented in source.

Meta