sdl3/gfx/primitives library

Constants

aaBits → const int
aaLevels → const int
defaultEllipseOverscan → const int

Properties

charHeight int
getter/setter pair
charHeightLocal int
getter/setter pair
charPitch int
getter/setter pair
charRotation int
getter/setter pair
charSize int
getter/setter pair
charWidth int
getter/setter pair
charWidthLocal int
getter/setter pair
currentFontdata List<int>
getter/setter pair

Functions

aacircleColor(Pointer<SdlRenderer> renderer, double x, double y, double rad, int color) bool
aacircleRgba(Pointer<SdlRenderer> renderer, double x, double y, double rad, int r, int g, int b, int a) bool
aaellipseColor(Pointer<SdlRenderer> renderer, double x, double y, double rx, double ry, int color) bool
aaellipseRgba(Pointer<SdlRenderer> renderer, double x, double y, double rx, double ry, int r, int g, int b, int a) bool
aalineColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int color) bool
aalineRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int r, int g, int b, int a) bool
aapolygonColor(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int color) bool
aapolygonRgba(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int r, int g, int b, int a) bool
aatrigonColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double x3, double y3, int color) bool
aatrigonRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double x3, double y3, int r, int g, int b, int a) bool
arcColor(Pointer<SdlRenderer> renderer, double x, double y, double rad, double start, double end, int color) bool
arcRgba(Pointer<SdlRenderer> renderer, double x, double y, double rad, double start, double end, int r, int g, int b, int a) bool
bezierColor(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int s, int color) bool
bezierRgba(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int s, int r, int g, int b, int a) bool
boxColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int color) bool
boxRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int r, int g, int b, int a) bool
characterColor(Pointer<SdlRenderer> renderer, double x, double y, int c, int color) bool
characterRgba(Pointer<SdlRenderer> renderer, double x, double y, int c, int r, int g, int b, int a) bool
circleColor(Pointer<SdlRenderer> renderer, double x, double y, double rad, int color) bool
circleRgba(Pointer<SdlRenderer> renderer, double x, double y, double rad, int r, int g, int b, int a) bool
createCharacterSurface(int c, int rotation) Pointer<SdlSurface>
ellipseColor(Pointer<SdlRenderer> renderer, double x, double y, double rx, double ry, int color) bool
ellipseRgba(Pointer<SdlRenderer> renderer, double x, double y, double rx, double ry, int r, int g, int b, int a) bool
filledCircleColor(Pointer<SdlRenderer> renderer, double x, double y, double rad, int color) bool
filledCircleRgba(Pointer<SdlRenderer> renderer, double x, double y, double rad, int r, int g, int b, int a) bool
filledEllipseColor(Pointer<SdlRenderer> renderer, double x, double y, double rx, double ry, int color) bool
filledEllipseRgba(Pointer<SdlRenderer> renderer, double x, double y, double rx, double ry, int r, int g, int b, int a) bool
filledPieColor(Pointer<SdlRenderer> renderer, double x, double y, double rad, double start, double end, int color) bool
filledPieRgba(Pointer<SdlRenderer> renderer, double x, double y, double rad, double start, double end, int r, int g, int b, int a) bool
filledPolygonColor(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int color) bool
filledPolygonRgba(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int r, int g, int b, int a) bool
filledPolygonRgbaMt(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int r, int g, int b, int a) bool
filledTrigonColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double x3, double y3, int color) bool
filledTrigonRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double x3, double y3, int r, int g, int b, int a) bool
gfxFree() → void
gfxPrimitivesSetFont(List<int> fontdata, int cw, int ch) → void
gfxPrimitivesSetFontRotation(int rotation) → void
hline(Pointer<SdlRenderer> renderer, double x1, double x2, double y) bool
hlineColor(Pointer<SdlRenderer> renderer, double x1, double x2, double y, int color) bool
hlineRgba(Pointer<SdlRenderer> renderer, double x1, double x2, double y, int r, int g, int b, int a) bool
line(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2) bool
lineColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int color) bool
lineRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int r, int g, int b, int a) bool
pieColor(Pointer<SdlRenderer> renderer, double x, double y, double rad, double start, double end, int color) bool
pieRgba(Pointer<SdlRenderer> renderer, double x, double y, double rad, double start, double end, int r, int g, int b, int a) bool
pixel(Pointer<SdlRenderer> renderer, double x, double y) bool
pixelColor(Pointer<SdlRenderer> renderer, double x, double y, int color) bool
pixelRgba(Pointer<SdlRenderer> renderer, double x, double y, int r, int g, int b, int a) bool
pixelRgbaWeight(Pointer<SdlRenderer> renderer, double x, double y, int r, int g, int b, int a, int weight) bool
polygon(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n) bool
polygonColor(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int color) bool
polygonRgba(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, int r, int g, int b, int a) bool
rectangleColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int color) bool
rectangleRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, int r, int g, int b, int a) bool
roundedBoxColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double rad, int color) bool
roundedBoxRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double rad, int r, int g, int b, int a) bool
roundedRectangleColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double rad, int color) bool
roundedRectangleRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double rad, int r, int g, int b, int a) bool
stringColor(Pointer<SdlRenderer> renderer, double x, double y, String s, int color) bool
stringRgba(Pointer<SdlRenderer> renderer, double x, double y, String s, int r, int g, int b, int a) bool
texturedPolygon(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, Pointer<SdlSurface> texture, int textureDx, int textureDy) bool
texturedPolygonMt(Pointer<SdlRenderer> renderer, Pointer<Int16> vx, Pointer<Int16> vy, int n, Pointer<SdlSurface> texture, int textureDx, int textureDy) bool
thickLineColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double width, int color) bool
thickLineRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double width, int r, int g, int b, int a) bool
trigonColor(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double x3, double y3, int color) bool
trigonRgba(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2, double x3, double y3, int r, int g, int b, int a) bool
vline(Pointer<SdlRenderer> renderer, double x, double y1, double y2) bool
vlineColor(Pointer<SdlRenderer> renderer, double x, double y1, double y2, int color) bool
vlineRgba(Pointer<SdlRenderer> renderer, double x, double y1, double y2, int r, int g, int b, int a) bool