Image generating functions...

This commit is contained in:
Ognjen Milan Robovic 2024-04-23 05:33:45 -04:00
parent 6a3ff8d264
commit 5c89a05bf1

View File

@ -2944,68 +2944,97 @@ package Raylib is
Convention => C, Convention => C,
External_Name => "ExportImageAsCode"; External_Name => "ExportImageAsCode";
--~function Image GenImageColor ( function Gen_Image_Color (
--~int width, int height, Color color Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Tint : Color := White
--~Convention => C, ) return Image with
--~External_Name => ""; Import => True,
Convention => C,
External_Name => "GenImageColor";
--~function Image GenImageGradientLinear ( function Gen_Image_Gradient_Linear (
--~int width, int height, int direction, Color start, Color end Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Direction : Integer := 0;
--~Convention => C, From : Color := White;
--~External_Name => ""; To : Color := Black
) return Image with
Import => True,
Convention => C,
External_Name => "GenImageGradientLinear";
--~function Image GenImageGradientRadial ( function Gen_Image_Gradient_Radial (
--~int width, int height, float density, Color inner, Color outer Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Density : Float := 0.0;
--~Convention => C, Inner : Color := White;
--~External_Name => ""; Outer : Color := Black
) return Image with
Import => True,
Convention => C,
External_Name => "GenImageGradientRadial";
--~function Image GenImageGradientSquare ( function Gen_Image_Gradient_Square (
--~int width, int height, float density, Color inner, Color outer Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Density : Float := 0.0;
--~Convention => C, Inner : Color := White;
--~External_Name => ""; Outer : Color := Black
) return Image with
Import => True,
Convention => C,
External_Name => "GenImageGradientSquare";
--~function Image GenImageChecked ( function Gen_Image_Checked (
--~int width, int height, int checksX, int checksY, Color col1, Color col2 Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, X : Natural := 0;
--~Convention => C, Y : Natural := 0;
--~External_Name => ""; Color_1 : Color := White;
Color_2 : Color := Black
) return Image with
Import => True,
Convention => C,
External_Name => "GenImageChecked";
--~function Image GenImageWhiteNoise ( function Gen_Image_White_Noise (
--~int width, int height, float factor Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Factor : Float := 0.0
--~Convention => C, ) return Image with
--~External_Name => ""; Import => True,
Convention => C,
External_Name => "GenImageWhiteNoise";
--~function Image GenImagePerlinNoise ( function Gen_Image_Perlin_Noise (
--~int width, int height, int offsetX, int offsetY, float scale Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, X : Natural := 0;
--~Convention => C, Y : Natural := 0;
--~External_Name => ""; Scale : Float := 0.0
) return Image with
Import => True,
Convention => C,
External_Name => "GenImagePerlinNoise";
--~function Image GenImageCellular ( function Gen_Image_Cellular (
--~int width, int height, int tileSize Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Size : Natural := 0
--~Convention => C, ) return Image with
--~External_Name => ""; Import => True,
Convention => C,
External_Name => "GenImageCellular";
--~function Image GenImageText ( function Gen_Image_Text (
--~int width, int height, const char *text Width : Natural := 0;
--~) with Height : Natural := 0;
--~Import => True, Text : String := ""
--~Convention => C, ) return Image with
--~External_Name => ""; Import => True,
Convention => C,
External_Name => "GenImageText";
--~function Image ImageCopy ( --~function Image ImageCopy (
--~Image image --~Image image