Image exporting functions...
This commit is contained in:
parent
2009b26716
commit
6a3ff8d264
66
raylib.ads
66
raylib.ads
@ -2904,41 +2904,45 @@ package Raylib is
|
|||||||
Import => True,
|
Import => True,
|
||||||
Convention => C,
|
Convention => C,
|
||||||
External_Name => "LoadImageFromScreen";
|
External_Name => "LoadImageFromScreen";
|
||||||
--~################################################################
|
|
||||||
--~function bool IsImageReady (
|
|
||||||
--~Image image
|
|
||||||
--~) with
|
|
||||||
--~Import => True,
|
|
||||||
--~Convention => C,
|
|
||||||
--~External_Name => "";
|
|
||||||
|
|
||||||
--~procedure UnloadImage (
|
function Is_Image_Ready (
|
||||||
--~Image image
|
Data : Image := No_Image
|
||||||
--~) with
|
) return Logical with
|
||||||
--~Import => True,
|
Import => True,
|
||||||
--~Convention => C,
|
Convention => C,
|
||||||
--~External_Name => "";
|
External_Name => "IsImageReady";
|
||||||
|
|
||||||
--~function bool ExportImage (
|
procedure Unload_Image (
|
||||||
--~Image image, const char *fileName
|
Data : Image := No_Image
|
||||||
--~) with
|
) with
|
||||||
--~Import => True,
|
Import => True,
|
||||||
--~Convention => C,
|
Convention => C,
|
||||||
--~External_Name => "";
|
External_Name => "UnloadImage";
|
||||||
|
|
||||||
--~function unsigned char *ExportImageToMemory (
|
function Export_Image (
|
||||||
--~Image image, const char *fileType, int *fileSize
|
Data : Image := No_Image;
|
||||||
--~) with
|
File_Name : String := ""
|
||||||
--~Import => True,
|
) return Logical with
|
||||||
--~Convention => C,
|
Import => True,
|
||||||
--~External_Name => "";
|
Convention => C,
|
||||||
|
External_Name => "ExportImage";
|
||||||
|
|
||||||
--~function bool ExportImageAsCode (
|
function Export_Image_To_Memory (
|
||||||
--~Image image, const char *fileName
|
Data : Image := No_Image;
|
||||||
--~) with
|
File_Type : String := "";
|
||||||
--~Import => True,
|
File_Size : access Integer := null
|
||||||
--~Convention => C,
|
) return Pointer with
|
||||||
--~External_Name => "";
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "ExportImageToMemory";
|
||||||
|
|
||||||
|
function Export_Image_As_Code (
|
||||||
|
Data : Image := No_Image;
|
||||||
|
File_Name : String := ""
|
||||||
|
) return Logical with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "ExportImageAsCode";
|
||||||
|
|
||||||
--~function Image GenImageColor (
|
--~function Image GenImageColor (
|
||||||
--~int width, int height, Color color
|
--~int width, int height, Color color
|
||||||
|
Loading…
Reference in New Issue
Block a user