Ctx

Members

Functions

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

Meta