DlangUICtx

Constructors

this
this()
Undocumented in source.

Members

Aliases

Line
alias Line = Tuple!(PPoint, PPoint)
Undocumented in source.

Functions

clipViewport
void clipViewport(Viewport vp)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLineSoft
void drawLineSoft(PPoint a, PPoint b, int c)
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill()
Undocumented in source. Be warned that the author may not have intended to support it.
fillTriangleSoft
void fillTriangleSoft(PPoint p0, PPoint p1, PPoint p2, int clr)
Undocumented in source. Be warned that the author may not have intended to support it.
getTextSize
void getTextSize(string str, double w, double h)
Undocumented in source. Be warned that the author may not have intended to support it.
lineTo
void lineTo(double x, double y)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(double x, double y)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
restore
void restore()
Undocumented in source. Be warned that the author may not have intended to support it.
save
void save()
Undocumented in source. Be warned that the author may not have intended to support it.
set
StackReseter set(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(double r, double g, double b, double a)
Undocumented in source. Be warned that the author may not have intended to support it.
setCurrentState
void setCurrentState()
Undocumented in source. Be warned that the author may not have intended to support it.
setDash
void setDash(double[] dash, double offset)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(string name, double size)
Undocumented in source. Be warned that the author may not have intended to support it.
setLineWidth
void setLineWidth(double lw)
Undocumented in source. Be warned that the author may not have intended to support it.
showText
void showText(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
state
State state()
Undocumented in source. Be warned that the author may not have intended to support it.
stroke
void stroke()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

StackReseter
struct StackReseter
Undocumented in source.
State
struct State
Undocumented in source.

Variables

buf
DrawBuf buf;
Undocumented in source.
stateStack
State[] stateStack;
Undocumented in source.

Inherited Members

From Ctx

save
void save()
restore
void restore()
stroke
void stroke()
fill
void fill()
moveTo
void moveTo(double x, double y)
lineTo
void lineTo(double x, double y)
setLineWidth
void setLineWidth(double lw)
showText
void showText(string str)
setDash
void setDash(double[] dash, double offset)
setColor
void setColor(double r, double g, double b, double a)
getTextSize
void getTextSize(string str, double w, double h)
setFont
void setFont(string name, double size)
clipViewport
void clipViewport(Viewport vp)
moveToP
void moveToP(P p)
lineToP
void lineToP(P p)
lineP2P
void lineP2P(Point p0, Point[] ps)
lineP2P
void lineP2P(double x1, double y1, double x2, double y2)
setColor
void setColor(C c)
setColor
void setColor(C c, double a)

Meta