- 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.
- aaFillRectFloat
void aaFillRectFloat(V v, float x1, float y1, float x2, float y2, COLOR color, float globalAlpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- aaFillSector
void aaFillSector(V v, float x, float y, float r0, float r1, float a0, float a1, COLOR c)
Rough anti-aliased fillsector
- 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.
- aaPutPixelFloat
void aaPutPixelFloat(V v, int x, int y, COLOR color, A alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- aaSoftCircle
void aaSoftCircle(V v, float x, float y, float r1, float r2, float r3, COLOR color, float globalAlpha)
Draw a circle gradually fading in between r1 and r2 and fading out between r2 and r3
- aaSoftDisc
void aaSoftDisc(V v, float x, float y, float r1, float r2, COLOR color, float globalAlpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- aaSoftEllipse
void aaSoftEllipse(V v, float x, float y, float r1, float r2, float scaleX, float scaleY, COLOR color, float globalAlpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- blendWithAlpha
void blendWithAlpha(SRC srcView, DST dstView, ImageRef!L8 alphaView)
Blits a view onto another.
The views must have the same size.
PERF: optimize that
- fillAll
void fillAll(V v, COLOR c)
Undocumented in source. Be warned that the author may not have intended to support it.
- 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.
- 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.
- fillRectFloat
void fillRectFloat(V v, int x1, int y1, int x2, int y2, COLOR b, float globalAlpha)
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.
- horizontalSlope
void horizontalSlope(V v, box2i rect, COLOR c0, COLOR c1)
Fill rectangle while interpolating a COLOR (can be depth) horiontally.
- 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, float x, float y, float r1, float r2, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- softRing
void softRing(V v, float x, float y, float r0, float r1, float r2, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
- uncheckedFloodFill
deprecated void uncheckedFloodFill(V v, int x, int y, COLOR c)
Unchecked! Make sure area is bounded.
- verticalSlope
void verticalSlope(V v, box2i rect, COLOR c0, COLOR c1)
Fill rectangle while interpolating a COLOR (can be depth) vertically.
- 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.
Drawing functions. Port of ae.utils.graphics. In many many cases, you should use dplug:canvas instead.