CommonGraphics

Undocumented in source.

Constructors

this
this(HWND hwnd, HDC hdc, bool owned)
Undocumented in source.

Members

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

hwnd
HWND hwnd;
Undocumented in source.

Inherited Members

From Graphics

~this
~this()
Undocumented in source.
drawSizeGrip
void drawSizeGrip(int right, int bottom)
Undocumented in source. Be warned that the author may not have intended to support it.
drawMoveGrip
void drawMoveGrip(Rect movableArea, bool vSplit, size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
getCachedTextFormat
TextFormat getCachedTextFormat()
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(Dstring text, Font font, Color color, Rect r, TextFormat fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(Dstring text, Font font, Color color, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
drawTextDisabled
void drawTextDisabled(Dstring text, Font font, Color color, Color backColor, Rect r, TextFormat fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
drawTextDisabled
void drawTextDisabled(Dstring text, Font font, Color color, Color backColor, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
measureText
Size measureText(Dstring text, Font font, int maxWidth, TextFormat fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
measureText
Size measureText(Dstring text, Font font, TextFormat fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
measureText
Size measureText(Dstring text, Font font, int maxWidth)
Undocumented in source. Be warned that the author may not have intended to support it.
measureText
Size measureText(Dstring text, Font font)
Undocumented in source. Be warned that the author may not have intended to support it.
drawIcon
void drawIcon(Icon icon, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
drawIcon
void drawIcon(Icon icon, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRectangle
void fillRectangle(Brush brush, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRectangle
void fillRectangle(Brush brush, int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRectangle
void fillRectangle(Color color, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRectangle
void fillRectangle(Color color, int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRegion
void fillRegion(Brush brush, Region region)
Undocumented in source. Be warned that the author may not have intended to support it.
fromHwnd
Graphics fromHwnd(HWND hwnd)
Undocumented in source. Be warned that the author may not have intended to support it.
getScreen
Graphics getScreen()

Get the entire screen's Graphics for the primary monitor.

drawLine
void drawLine(Pen pen, Point start, Point end)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(Pen pen, int startX, int startY, int endX, int endY)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines(Pen pen, Point[] points)
Undocumented in source. Be warned that the author may not have intended to support it.
drawArc
void drawArc(Pen pen, int x, int y, int width, int height, int arcX1, int arcY1, int arcX2, int arcY2)
Undocumented in source. Be warned that the author may not have intended to support it.
drawArc
void drawArc(Pen pen, Rect r, Point arc1, Point arc2)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBezier
void drawBezier(Pen pen, Point[4] points)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBezier
void drawBezier(Pen pen, Point pt1, Point pt2, Point pt3, Point pt4)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBeziers
void drawBeziers(Pen pen, Point[] points)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(Pen pen, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(Pen pen, int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolygon
void drawPolygon(Pen pen, Point[] points)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRectangle
void drawRectangle(Pen pen, Rect r)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRectangle
void drawRectangle(Pen pen, int x, int y, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRectangles
void drawRectangles(Pen pen, Rect[] rs)
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
getNearestColor
Color getNearestColor(Color c)
Undocumented in source. Be warned that the author may not have intended to support it.
getScaleSize
Size getScaleSize(Font f)
Undocumented in source. Be warned that the author may not have intended to support it.
copyTo
bool copyTo(HDC dest, int destX, int destY, int width, int height, int srcX, int srcY, DWORD rop)
Undocumented in source. Be warned that the author may not have intended to support it.
copyTo
bool copyTo(Graphics destGraphics, int destX, int destY, int width, int height, int srcX, int srcY, DWORD rop)
Undocumented in source. Be warned that the author may not have intended to support it.
copyTo
bool copyTo(Graphics destGraphics, Rect bounds)
Undocumented in source. Be warned that the author may not have intended to support it.
handle
HDC handle [@property getter]
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.

Meta