GlDraw

Undocumented in source.

Constructors

this
this(GlContext context)
Undocumented in source.

Members

Aliases

Clip
alias Clip = float[4]
Undocumented in source.

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clip
void clip(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
finishFrame
void finishFrame()
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.
line
void line(int[2] start, int[2] end)
Undocumented in source. Be warned that the author may not have intended to support it.
noclip
void noclip()
Undocumented in source. Be warned that the author may not have intended to support it.
rect
void rect(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
rectOutline
void rectOutline(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(float[3] rgb)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(float[4] rgba)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(string f, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
text
int text(int[2] pos, string text, double offset)
Undocumented in source. Be warned that the author may not have intended to support it.
text
int text(int[2] pos, int h, string text, double offset)
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width(string text)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

clipStack
Clip[] clipStack;
Undocumented in source.
color
float[4] color;
Undocumented in source.
context
GlContext context;
Undocumented in source.
screen
float[3] screen;
Undocumented in source.

Inherited Members

From DrawEmpty

destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(float[3] color)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(float[4] color)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(int color)
Undocumented in source. Be warned that the author may not have intended to support it.
clip
void clip(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
noclip
void noclip()
Undocumented in source. Be warned that the author may not have intended to support it.
rect
void rect(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
rectOutline
void rectOutline(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
line
void line(int[2] start, int[2] end)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(string font, int size)
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.
text
int text(int[2] pos, string text, double offset)
Undocumented in source. Be warned that the author may not have intended to support it.
text
int text(int[2] pos, int h, string text, double offset)
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
finishFrame
void finishFrame()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta