Triangle and polygon functions...

This commit is contained in:
Ognjen Milan Robovic 2024-04-22 20:44:58 -04:00
parent 52a507cff1
commit 3f78901759

View File

@ -2526,522 +2526,753 @@ package Raylib is
Convention => C, Convention => C,
External_Name => "DrawRectangleRoundedLines"; External_Name => "DrawRectangleRoundedLines";
--~procedure DrawTriangle (Vector2 v1, Vector2 v2, Vector2 v3, Color color) with procedure Draw_Triangle (
--~Import => True, Point_1 : Vector_2D := (others => 0.0);
--~Convention => C, Point_2 : Vector_2D := (others => 0.0);
--~External_Name => ""; Point_3 : Vector_2D := (others => 0.0);
Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawTriangle";
--~procedure DrawTriangleLines (Vector2 v1, Vector2 v2, Vector2 v3, Color color) with procedure Draw_Triangle_Lines (
--~Import => True, Point_1 : Vector_2D := (others => 0.0);
--~Convention => C, Point_2 : Vector_2D := (others => 0.0);
--~External_Name => ""; Point_3 : Vector_2D := (others => 0.0);
Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawTriangleLines";
--~procedure DrawTriangleFan (Vector2 *points, int pointCount, Color color) with procedure Draw_Triangle_Fan (
--~Import => True, Points : access Vector_2D := null;
--~Convention => C, Point_Count : Natural := 0;
--~External_Name => ""; Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawTriangleFan";
--~procedure DrawTriangleStrip (Vector2 *points, int pointCount, Color color) with procedure Draw_Triangle_Strip (
--~Import => True, Points : access Vector_2D := null;
--~Convention => C, Point_Count : Natural := 0;
--~External_Name => ""; Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawTriangleStrip";
--~procedure DrawPoly (Vector2 center, int sides, float radius, float rotation, Color color) with procedure Draw_Poly (
--~Import => True, Center : Vector_2D := (others => 0.0);
--~Convention => C, Sides : Natural := 0;
--~External_Name => ""; Radius : Float := 0.0;
Rotation : Float := 0.0;
Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawPoly";
--~procedure DrawPolyLines (Vector2 center, int sides, float radius, float rotation, Color color) with procedure Draw_Poly_Lines (
--~Import => True, Center : Vector_2D := (others => 0.0);
--~Convention => C, Sides : Natural := 0;
--~External_Name => ""; Radius : Float := 0.0;
Rotation : Float := 0.0;
Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawPolyLines";
--~procedure DrawPolyLinesEx (Vector2 center, int sides, float radius, float rotation, float lineThick, Color color) with procedure Draw_Poly_Lines_Ex (
--~Import => True, Center : Vector_2D := (others => 0.0);
--~Convention => C, Sides : Natural := 0;
--~External_Name => ""; Radius : Float := 0.0;
Rotation : Float := 0.0;
Thickness : Float := 0.0;
Tint : Color := White
) with
Import => True,
Convention => C,
External_Name => "DrawPolyLinesEx";
--~procedure DrawSplineLinear (Vector2 *points, int pointCount, float thick, Color color) with --~procedure DrawSplineLinear (
--~Vector2 *points, int pointCount, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineBasis (Vector2 *points, int pointCount, float thick, Color color) with --~procedure DrawSplineBasis (
--~Vector2 *points, int pointCount, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineCatmullRom (Vector2 *points, int pointCount, float thick, Color color) with --~procedure DrawSplineCatmullRom (
--~Vector2 *points, int pointCount, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineBezierQuadratic (Vector2 *points, int pointCount, float thick, Color color) with --~procedure DrawSplineBezierQuadratic (
--~Vector2 *points, int pointCount, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineBezierCubic (Vector2 *points, int pointCount, float thick, Color color) with --~procedure DrawSplineBezierCubic (
--~Vector2 *points, int pointCount, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineSegmentLinear (Vector2 p1, Vector2 p2, float thick, Color color) with --~procedure DrawSplineSegmentLinear (
--~Vector2 p1, Vector2 p2, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineSegmentBasis (Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color) with --~procedure DrawSplineSegmentBasis (
--~Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineSegmentCatmullRom (Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color) with --~procedure DrawSplineSegmentCatmullRom (
--~Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineSegmentBezierQuadratic (Vector2 p1, Vector2 c2, Vector2 p3, float thick, Color color) with --~procedure DrawSplineSegmentBezierQuadratic (
--~Vector2 p1, Vector2 c2, Vector2 p3, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure DrawSplineSegmentBezierCubic (Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float thick, Color color) with --~procedure DrawSplineSegmentBezierCubic (
--~Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Vector2 GetSplinePointLinear (Vector2 startPos, Vector2 endPos, float t) with --~function Vector2 GetSplinePointLinear (
--~Vector2 startPos, Vector2 endPos, float t
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Vector2 GetSplinePointBasis (Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) with --~function Vector2 GetSplinePointBasis (
--~Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Vector2 GetSplinePointCatmullRom (Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) with --~function Vector2 GetSplinePointCatmullRom (
--~Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Vector2 GetSplinePointBezierQuad (Vector2 p1, Vector2 c2, Vector2 p3, float t) with --~function Vector2 GetSplinePointBezierQuad (
--~Vector2 p1, Vector2 c2, Vector2 p3, float t
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Vector2 GetSplinePointBezierCubic (Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float t) with --~function Vector2 GetSplinePointBezierCubic (
--~Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float t
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionRecs (Rectangle rec1, Rectangle rec2) with --~function bool CheckCollisionRecs (
--~Rectangle rec1, Rectangle rec2
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionCircles (Vector2 center1, float radius1, Vector2 center2, float radius2) with --~function bool CheckCollisionCircles (
--~Vector2 center1, float radius1, Vector2 center2, float radius2
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionCircleRec (Vector2 center, float radius, Rectangle rec) with --~function bool CheckCollisionCircleRec (
--~Vector2 center, float radius, Rectangle rec
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionPointRec (Vector2 point, Rectangle rec) with --~function bool CheckCollisionPointRec (
--~Vector2 point, Rectangle rec
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionPointCircle (Vector2 point, Vector2 center, float radius) with --~function bool CheckCollisionPointCircle (
--~Vector2 point, Vector2 center, float radius
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionPointTriangle (Vector2 point, Vector2 p1, Vector2 p2, Vector2 p3) with --~function bool CheckCollisionPointTriangle (
--~Vector2 point, Vector2 p1, Vector2 p2, Vector2 p3
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionPointPoly (Vector2 point, Vector2 *points, int pointCount) with --~function bool CheckCollisionPointPoly (
--~Vector2 point, Vector2 *points, int pointCount
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionLines (Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, Vector2 endPos2, Vector2 *collisionPoint) with --~function bool CheckCollisionLines (
--~Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, Vector2 endPos2, Vector2 *collisionPoint
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool CheckCollisionPointLine (Vector2 point, Vector2 p1, Vector2 p2, int threshold) with --~function bool CheckCollisionPointLine (
--~Vector2 point, Vector2 p1, Vector2 p2, int threshold
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Rectangle GetCollisionRec (Rectangle rec1, Rectangle rec2) with --~function Rectangle GetCollisionRec (
--~Rectangle rec1, Rectangle rec2
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImage (const char *fileName) with --~function Image LoadImage (
--~const char *fileName
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImageRaw (const char *fileName, int width, int height, int format, int headerSize) with --~function Image LoadImageRaw (
--~const char *fileName, int width, int height, int format, int headerSize
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImageSvg (const char *fileNameOrString, int width, int height) with --~function Image LoadImageSvg (
--~const char *fileNameOrString, int width, int height
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImageAnim (const char *fileName, int *frames) with --~function Image LoadImageAnim (
--~const char *fileName, int *frames
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImageFromMemory (const char *fileType, const unsigned char *fileData, int dataSize) with --~function Image LoadImageFromMemory (
--~const char *fileType, const unsigned char *fileData, int dataSize
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImageFromTexture (Texture2D texture) with --~function Image LoadImageFromTexture (
--~Texture2D texture
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image LoadImageFromScreen (void) with --~function Image LoadImageFromScreen (
--~void
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool IsImageReady (Image image) with --~function bool IsImageReady (
--~Image image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure UnloadImage (Image image) with --~procedure UnloadImage (
--~Image image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool ExportImage (Image image, const char *fileName) with --~function bool ExportImage (
--~Image image, const char *fileName
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function unsigned char *ExportImageToMemory (Image image, const char *fileType, int *fileSize) with --~function unsigned char *ExportImageToMemory (
--~Image image, const char *fileType, int *fileSize
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function bool ExportImageAsCode (Image image, const char *fileName) with --~function bool ExportImageAsCode (
--~Image image, const char *fileName
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageColor (int width, int height, Color color) with --~function Image GenImageColor (
--~int width, int height, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageGradientLinear (int width, int height, int direction, Color start, Color end) with --~function Image GenImageGradientLinear (
--~int width, int height, int direction, Color start, Color end
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageGradientRadial (int width, int height, float density, Color inner, Color outer) with --~function Image GenImageGradientRadial (
--~int width, int height, float density, Color inner, Color outer
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageGradientSquare (int width, int height, float density, Color inner, Color outer) with --~function Image GenImageGradientSquare (
--~int width, int height, float density, Color inner, Color outer
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageChecked (int width, int height, int checksX, int checksY, Color col1, Color col2) with --~function Image GenImageChecked (
--~int width, int height, int checksX, int checksY, Color col1, Color col2
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageWhiteNoise (int width, int height, float factor) with --~function Image GenImageWhiteNoise (
--~int width, int height, float factor
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImagePerlinNoise (int width, int height, int offsetX, int offsetY, float scale) with --~function Image GenImagePerlinNoise (
--~int width, int height, int offsetX, int offsetY, float scale
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageCellular (int width, int height, int tileSize) with --~function Image GenImageCellular (
--~int width, int height, int tileSize
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image GenImageText (int width, int height, const char *text) with --~function Image GenImageText (
--~int width, int height, const char *text
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image ImageCopy (Image image) with --~function Image ImageCopy (
--~Image image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image ImageFromImage (Image image, Rectangle rec) with --~function Image ImageFromImage (
--~Image image, Rectangle rec
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image ImageText (const char *text, int fontSize, Color color) with --~function Image ImageText (
--~const char *text, int fontSize, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Image ImageTextEx (Font font, const char *text, float fontSize, float spacing, Color tint) with --~function Image ImageTextEx (
--~Font font, const char *text, float fontSize, float spacing, Color tint
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageFormat (Image *image, int newFormat) with --~procedure ImageFormat (
--~Image *image, int newFormat
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageToPOT (Image *image, Color fill) with --~procedure ImageToPOT (
--~Image *image, Color fill
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageCrop (Image *image, Rectangle crop) with --~procedure ImageCrop (
--~Image *image, Rectangle crop
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageAlphaCrop (Image *image, float threshold) with --~procedure ImageAlphaCrop (
--~Image *image, float threshold
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageAlphaClear (Image *image, Color color, float threshold) with --~procedure ImageAlphaClear (
--~Image *image, Color color, float threshold
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageAlphaMask (Image *image, Image alphaMask) with --~procedure ImageAlphaMask (
--~Image *image, Image alphaMask
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageAlphaPremultiply (Image *image) with --~procedure ImageAlphaPremultiply (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageBlurGaussian (Image *image, int blurSize) with --~procedure ImageBlurGaussian (
--~Image *image, int blurSize
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageKernelConvolution (Image *image, float* kernel, int kernelSize) with --~procedure ImageKernelConvolution (
--~Image *image, float* kernel, int kernelSize
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageResize (Image *image, int newWidth, int newHeight) with --~procedure ImageResize (
--~Image *image, int newWidth, int newHeight
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageResizeNN (Image *image, int newWidth,int newHeight) with --~procedure ImageResizeNN (
--~Image *image, int newWidth,int newHeight
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageResizeCanvas (Image *image, int newWidth, int newHeight, int offsetX, int offsetY, Color fill) with --~procedure ImageResizeCanvas (
--~Image *image, int newWidth, int newHeight, int offsetX, int offsetY, Color fill
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageMipmaps (Image *image) with --~procedure ImageMipmaps (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDither (Image *image, int rBpp, int gBpp, int bBpp, int aBpp) with --~procedure ImageDither (
--~Image *image, int rBpp, int gBpp, int bBpp, int aBpp
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageFlipVertical (Image *image) with --~procedure ImageFlipVertical (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageFlipHorizontal (Image *image) with --~procedure ImageFlipHorizontal (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageRotate (Image *image, int degrees) with --~procedure ImageRotate (
--~Image *image, int degrees
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageRotateCW (Image *image) with --~procedure ImageRotateCW (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageRotateCCW (Image *image) with --~procedure ImageRotateCCW (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageColorTint (Image *image, Color color) with --~procedure ImageColorTint (
--~Image *image, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageColorInvert (Image *image) with --~procedure ImageColorInvert (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageColorGrayscale (Image *image) with --~procedure ImageColorGrayscale (
--~Image *image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageColorContrast (Image *image, float contrast) with --~procedure ImageColorContrast (
--~Image *image, float contrast
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageColorBrightness (Image *image, int brightness) with --~procedure ImageColorBrightness (
--~Image *image, int brightness
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageColorReplace (Image *image, Color color, Color replace) with --~procedure ImageColorReplace (
--~Image *image, Color color, Color replace
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Color *LoadImageColors (Image image) with --~function Color *LoadImageColors (
--~Image image
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Color *LoadImagePalette (Image image, int maxPaletteSize, int *colorCount) with --~function Color *LoadImagePalette (
--~Image image, int maxPaletteSize, int *colorCount
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure UnloadImageColors (Color *colors) with --~procedure UnloadImageColors (
--~Color *colors
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure UnloadImagePalette (Color *colors) with --~procedure UnloadImagePalette (
--~Color *colors
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Rectangle GetImageAlphaBorder (Image image, float threshold) with --~function Rectangle GetImageAlphaBorder (
--~Image image, float threshold
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~function Color GetImageColor (Image image, int x, int y) with --~function Color GetImageColor (
--~Image image, int x, int y
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageClearBackground (Image *dst, Color color) with --~procedure ImageClearBackground (
--~Image *dst, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawPixel (Image *dst, int posX, int posY, Color color) with --~procedure ImageDrawPixel (
--~Image *dst, int posX, int posY, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawPixelV (Image *dst, Vector2 position, Color color) with --~procedure ImageDrawPixelV (
--~Image *dst, Vector2 position, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawLine (Image *dst, int startPosX, int startPosY, int endPosX, int endPosY, Color color) with --~procedure ImageDrawLine (
--~Image *dst, int startPosX, int startPosY, int endPosX, int endPosY, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawLineV (Image *dst, Vector2 start, Vector2 end, Color color) with --~procedure ImageDrawLineV (
--~Image *dst, Vector2 start, Vector2 end, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawCircle (Image *dst, int centerX, int centerY, int radius, Color color) with --~procedure ImageDrawCircle (
--~Image *dst, int centerX, int centerY, int radius, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawCircleV (Image *dst, Vector2 center, int radius, Color color) with --~procedure ImageDrawCircleV (
--~Image *dst, Vector2 center, int radius, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawCircleLines (Image *dst, int centerX, int centerY, int radius, Color color) with --~procedure ImageDrawCircleLines (
--~Image *dst, int centerX, int centerY, int radius, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawCircleLinesV (Image *dst, Vector2 center, int radius, Color color) with --~procedure ImageDrawCircleLinesV (
--~Image *dst, Vector2 center, int radius, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawRectangle (Image *dst, int posX, int posY, int width, int height, Color color) with --~procedure ImageDrawRectangle (
--~Image *dst, int posX, int posY, int width, int height, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawRectangleV (Image *dst, Vector2 position, Vector2 size, Color color) with --~procedure ImageDrawRectangleV (
--~Image *dst, Vector2 position, Vector2 size, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawRectangleRec (Image *dst, Rectangle rec, Color color) with --~procedure ImageDrawRectangleRec (
--~Image *dst, Rectangle rec, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawRectangleLines (Image *dst, Rectangle rec, int thick, Color color) with --~procedure ImageDrawRectangleLines (
--~Image *dst, Rectangle rec, int thick, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDraw (Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint) with --~procedure ImageDraw (
--~Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawText (Image *dst, const char *text, int posX, int posY, int fontSize, Color color) with --~procedure ImageDrawText (
--~Image *dst, const char *text, int posX, int posY, int fontSize, Color color
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";
--~procedure ImageDrawTextEx (Image *dst, Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint) with --~procedure ImageDrawTextEx (
--~Image *dst, Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint
--~) with
--~Import => True, --~Import => True,
--~Convention => C, --~Convention => C,
--~External_Name => ""; --~External_Name => "";