NativeScreenPainterImplementation

Undocumented in source.

Members

Functions

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, const(char)[] text, 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.
textSize
Size textSize(const(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

defaultGuiFont
HFONT defaultGuiFont;
Undocumented in source.

Variables

_activePen
Pen _activePen;
Undocumented in source.
_clipRectangle
arsd.color.Rectangle _clipRectangle;
Undocumented in source.
_fillColor
Color _fillColor;
Undocumented in source.
currentBrush
HBRUSH currentBrush;
Undocumented in source.
currentPen
HPEN currentPen;
Undocumented in source.
hdc
HDC hdc;
Undocumented in source.
hwnd
HWND hwnd;
Undocumented in source.
oldBmp
HBITMAP oldBmp;
Undocumented in source.
originalBrush
HBRUSH originalBrush;
Undocumented in source.
originalPen
HPEN originalPen;
Undocumented in source.

Meta