|
| static void | setShapesTexture (const texture::RlTexture &texture, const Rectangle &source) |
| | Set texture and rectangle to be used on shapes drawing NOTE: It can be useful when using basic shapes and one single font, defining a font char white rectangle would allow drawing everything in a single Draw call. More...
|
| |
| static void | drawPixel (int posX, int posY, const RlColor &color) |
| | Draw a pixel. More...
|
| |
| static void | drawPixel (const Vector2f &position, const RlColor &color) |
| | Draw a pixel. More...
|
| |
| static void | drawLine (int startPosX, int startPosY, int endPosX, int endPosY, const RlColor &color) |
| | Draw a line. More...
|
| |
| static void | drawLine (const Vector2f &startPos, const Vector2f &endPos, const RlColor &color) |
| | Draw a line. More...
|
| |
| static void | drawLine (const Vector2f &startPos, const Vector2f &endPos, float thick, const RlColor &color) |
| | Draw a line. More...
|
| |
| static void | drawLineBezier (const Vector2f &startPos, const Vector2f &endPos, float thick, const RlColor &color) |
| | Draw a Line using cubic-bezier curves in-out. More...
|
| |
| static void | drawLineBezierQuad (const Vector2f &startPos, const Vector2f &endPos, const Vector2f &controlPos, float thick, const RlColor &color) |
| | Draw a line using quadratic bezier curves with a control point. More...
|
| |
| static void | drawLineBezierCubic (const Vector2f &startPos, const Vector2f &endPos, const Vector2f &startControlPos, const Vector2f &endControlPos, float thick, const RlColor &color) |
| | Draw a line using cubic bezier curves with 2 control points. More...
|
| |
| static void | drawLineStrip (const std::vector< Vector2f > &points, const RlColor &color) |
| | Draw lines sequence. More...
|
| |
| static void | drawCircle (int centerX, int centerY, float radius, const RlColor &color) |
| | Draw a color-filled circle. More...
|
| |
| static void | drawCircleSector (const Vector2f ¢er, float radius, float startAngle, float endAngle, int segments, const RlColor &color) |
| | Draw a piece of a circle. More...
|
| |
| static void | drawCircleSectorLines (const Vector2f ¢er, float radius, float startAngle, float endAngle, int segments, const RlColor &color) |
| | Draw circle sector outline. More...
|
| |
| static void | drawCircleGradient (int centerX, int centerY, float radius, const RlColor &color1, const RlColor &color2) |
| | Draw a gradient-filled circle. More...
|
| |
| static void | drawCircle (const Vector2f ¢er, float radius, const RlColor &color) |
| | Draw a color-filled circle. More...
|
| |
| static void | drawCircleLines (int centerX, int centerY, float radius, const RlColor &color) |
| | Draw circle outline. More...
|
| |
| static void | drawEllipse (int centerX, int centerY, float radiusH, float radiusV, const RlColor &color) |
| | Draw ellipse. More...
|
| |
| static void | drawEllipseLines (int centerX, int centerY, float radiusH, float radiusV, const RlColor &color) |
| | Draw ellipse outline. More...
|
| |
| static void | drawRing (const Vector2f ¢er, float innerRadius, float outerRadius, float startAngle, float endAngle, int segments, const RlColor &color) |
| | Draw a ring. More...
|
| |
| static void | drawRingLines (const Vector2f ¢er, float innerRadius, float outerRadius, float startAngle, float endAngle, int segments, const RlColor &color) |
| | Draw a ring outline. More...
|
| |
| static void | drawRectangle (int posX, int posY, int width, int height, const RlColor &color) |
| | Draw a filled rectangle. More...
|
| |
| static void | drawRectangle (const Vector2f &position, const Vector2f &size, const RlColor &color) |
| | Draw a filled rectangle. More...
|
| |
| static void | drawRectangle (const Rectangle &rec, const RlColor &color) |
| | Draw a filled rectangle. More...
|
| |
| static void | drawRectangle (const Rectangle &rec, const Vector2f &origin, float rotation, const RlColor &color) |
| | Draw a filled rectangle. More...
|
| |
| static void | drawRectangleGradientV (int posX, int posY, int width, int height, const RlColor &color1, const RlColor &color2) |
| | Draw a vertical-gradient-filled rectangle. More...
|
| |
| static void | drawRectangleGradientH (int posX, int posY, int width, int height, const RlColor &color1, const RlColor &color2) |
| | Draw a horizontal-gradient-filled rectangle. More...
|
| |
| static void | drawRectangleGradient (const Rectangle &rec, const RlColor &col1, const RlColor &col2, const RlColor &col3, const RlColor &col4) |
| | Draw a gradient-filled rectangle with custom vertex colors. More...
|
| |
| static void | drawRectangleLines (int posX, int posY, int width, int height, const RlColor &color) |
| | Draw rectangle outline. More...
|
| |
| static void | drawRectangleLinesEx (const Rectangle &rec, float lineThick, const RlColor &color) |
| | Draw rectangle outline with extended parameters. More...
|
| |
| static void | drawRectangleRounded (const Rectangle &rec, float roundness, int segments, const RlColor &color) |
| | Draw rectangle with rounded edges. More...
|
| |
| static void | drawRectangleRoundedLines (const Rectangle &rec, float roundness, int segments, float lineThick, const RlColor &color) |
| | Draw rectangle with rounded edges outline. More...
|
| |
| static void | drawTriangle (const Vector2f &v1, const Vector2f &v2, const Vector2f &v3, const RlColor &color) |
| | Draw a color-filled triangle (vertex in counter-clockwise order!) More...
|
| |
| static void | drawTriangleLines (const Vector2f &v1, const Vector2f &v2, const Vector2f &v3, const RlColor &color) |
| | Draw a triangle outline (vertex in counter-clockwise order!) More...
|
| |
| static void | drawTriangleFan (const std::vector< Vector2f > &points, const RlColor &color) |
| | Draw a triangle fan defined by points (first vertex is the center, shared by all triangles) By default, following vertex should be provided in counter-clockwise order. More...
|
| |
| static void | drawTriangleStrip (const std::vector< Vector2f > &points, const RlColor &color) |
| | Draw a triangle strip defined by points. More...
|
| |
| static void | drawPoly (const Vector2f ¢er, int sides, float radius, float rotation, const RlColor &color) |
| | Draw a regular polygon (Vector version) More...
|
| |
| static void | drawPolyLines (const Vector2f ¢er, int sides, float radius, float rotation, const RlColor &color) |
| | Draw a polygon outline of n sides. More...
|
| |
| static void | drawPolyLines (const Vector2f ¢er, int sides, float radius, float rotation, float lineThick, const RlColor &color) |
| | Draw a polygon outline of n sides with extended parameters. More...
|
| |
Helper class for drawing 2D shapes.