- aaFillRect
void aaFillRect(V v, F x1, F y1, F x2, F y2, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- aaLine
void aaLine(V v, float x1, float y1, float x2, float y2, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- aaLine
void aaLine(V v, float x1, float y1, float x2, float y2, COLOR color, frac alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- aaPutPixel
void aaPutPixel(V v, F x, F y, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
typeof(this) draw(int x, int y, SRCCANVAS v)
Draws an image. Returns this.
- fill
void fill(V v, COLOR c)
Fills a writable view with a solid color.
- fillCircle
void fillCircle(V v, int x, int y, int r, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillPoly
void fillPoly(V v, Coord[] coords, COLOR f)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(V v, int x1, int y1, int x2, int y2, COLOR b)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillRect
void fillRect(V v, int x1, int y1, int x2, int y2, COLOR c, COLOR b)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillSector
void fillSector(V v, int x, int y, int r0, int r1, real a0, real a1, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- hline
void hline(V v, int x1, int x2, int y, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- hline
void hline(V v, int x1, int x2, int y, COLOR color, frac alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- line
void line(V v, int x1, int y1, int x2, int y2, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- pixelPtr
ViewColor!V* pixelPtr(V v, int x, int y)
Gets a pixel's address from a direct view.
- putPixel
void putPixel(V v, int x, int y, COLOR value)
Forwards to safePut or opIndex, depending on the
CHECKED parameter. Allows propagation of a
CHECKED parameter from other callers.
- rect
void rect(V v, int x1, int y1, int x2, int y2, COLOR c)
Draws a rectangle with a solid line.
The coordinates represent bounds (open on the right) for the outside of the rectangle.
- safeGet
COLOR safeGet(V v, int x, int y, COLOR def)
Get the pixel color at the specified coordinates,
or fall back to the specified default value if
the coordinates are out of bounds.
- safePut
void safePut(V v, int x, int y, COLOR value)
Set the pixel color at the specified coordinates
if the coordinates are not out of bounds.
- softCircle
void softCircle(V v, T x, T y, T r1, T r2, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- softRing
void softRing(V v, T x, T y, T r0, T r1, T r2, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- subpixelDownscale
void subpixelDownscale()
Undocumented in source. Be warned that the author may not have intended to support it.
- thickLine
void thickLine(V v, int x1, int y1, int x2, int y2, int r, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- thickLinePoly
void thickLinePoly(V v, Coord[] coords, int r, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- uncheckedFloodFill
void uncheckedFloodFill(V v, int x, int y, COLOR c)
Unchecked! Make sure area is bounded.
- vline
void vline(V v, int x, int y1, int y2, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- vline
void vline(V v, int x, int y1, int y2, COLOR color, frac alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- whiteNoise
void whiteNoise(V v)
Undocumented in source. Be warned that the author may not have intended to support it.
Drawing functions.