@@ -585,6 +585,18 @@ function SDL_RenderClear(renderer: PSDL_Renderer): SInt32 cdecl; external SDL_Li
585585 *}
586586function SDL_RenderDrawPoint (renderer: PSDL_Renderer; x: SInt32; y: SInt32): SInt32 cdecl; external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawPoint' { $ENDIF} { $ENDIF} ;
587587
588+ { **
589+ * Draw a point on the current rendering target.
590+ *
591+ * renderer The renderer which should draw a point.
592+ * x The x coordinate of the point.
593+ * y The y coordinate of the point.
594+ *
595+ * 0 on success, or -1 on error
596+ *}
597+ function SDL_RenderDrawPointF (renderer: PSDL_Renderer; x, y: single): SInt32 cdecl;
598+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawPointF' { $ENDIF} { $ENDIF} ;
599+
588600 { **
589601 * Draw multiple points on the current rendering target.
590602 *
@@ -596,6 +608,18 @@ function SDL_RenderDrawPoint(renderer: PSDL_Renderer; x: SInt32; y: SInt32): SIn
596608 *}
597609function SDL_RenderDrawPoints (renderer: PSDL_Renderer; points: PSDL_Point; count: SInt32): SInt32 cdecl; external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawPoints' { $ENDIF} { $ENDIF} ;
598610
611+ { **
612+ * Draw multiple points on the current rendering target.
613+ *
614+ * renderer The renderer which should draw multiple points.
615+ * points The points to draw
616+ * count The number of points to draw
617+ *
618+ * 0 on success, or -1 on error
619+ *}
620+ function SDL_RenderDrawPointsF (renderer: PSDL_Renderer; points: PSDL_FPoint; count: SInt32): SInt32 cdecl;
621+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawPointsF' { $ENDIF} { $ENDIF} ;
622+
599623 { **
600624 * Draw a line on the current rendering target.
601625 *
@@ -609,6 +633,20 @@ function SDL_RenderDrawPoints(renderer: PSDL_Renderer; points: PSDL_Point; count
609633 *}
610634function SDL_RenderDrawLine (renderer: PSDL_Renderer; x1: SInt32; y1: SInt32; x2: SInt32; y2: SInt32): SInt32 cdecl; external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawLine' { $ENDIF} { $ENDIF} ;
611635
636+ { **
637+ * Draw a line on the current rendering target.
638+ *
639+ * renderer The renderer which should draw a line.
640+ * x1 The x coordinate of the start point.
641+ * y1 The y coordinate of the start point.
642+ * x2 The x coordinate of the end point.
643+ * y2 The y coordinate of the end point.
644+ *
645+ * 0 on success, or -1 on error
646+ *}
647+ function SDL_RenderDrawLineF (renderer: PSDL_Renderer; x1, y1, x2, y2: single): SInt32 cdecl;
648+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawLineF' { $ENDIF} { $ENDIF} ;
649+
612650 { **
613651 * \brief Draw a series of connected lines on the current rendering target.
614652 *
@@ -620,6 +658,18 @@ function SDL_RenderDrawLine(renderer: PSDL_Renderer; x1: SInt32; y1: SInt32; x2:
620658 *}
621659function SDL_RenderDrawLines (renderer: PSDL_Renderer; points: PSDL_Point; count: SInt32): SInt32 cdecl; external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawLines' { $ENDIF} { $ENDIF} ;
622660
661+ { **
662+ * Draw a series of connected lines on the current rendering target.
663+ *
664+ * renderer The renderer which should draw multiple lines.
665+ * points The points along the lines
666+ * count The number of points, drawing count-1 lines
667+ *
668+ * 0 on success, or -1 on error
669+ *}
670+ function SDL_RenderDrawLinesF (renderer: PSDL_Renderer; points: PSDL_FPoint; count: SInt32): SInt32 cdecl;
671+ external SDL_LibName { $IFDEF DELPHI} { $IFDEF MACOS} name ' _SDL_RenderDrawLinesF' { $ENDIF} { $ENDIF} ;
672+
623673 { **
624674 * Draw a rectangle on the current rendering target.
625675 *
0 commit comments