USE: build-from-source "raysan5" "raylib" raylib-versions last [ ] with-github-worktree-tag USE: libclang "resource:build-from-source/github/raysan5/raylib/5.0/src/raylib.h" parse-include ! IN: raylib.ffi FUNCTION: void InitWindow ( int width, int height, char * title ) FUNCTION: void CloseWindow ( ) FUNCTION: bool WindowShouldClose ( ) FUNCTION: bool IsWindowReady ( ) FUNCTION: bool IsWindowFullscreen ( ) FUNCTION: bool IsWindowHidden ( ) FUNCTION: bool IsWindowMinimized ( ) FUNCTION: bool IsWindowMaximized ( ) FUNCTION: bool IsWindowFocused ( ) FUNCTION: bool IsWindowResized ( ) FUNCTION: bool IsWindowState ( unsigned int flag ) FUNCTION: void SetWindowState ( unsigned int flags ) FUNCTION: void ClearWindowState ( unsigned int flags ) FUNCTION: void ToggleFullscreen ( ) FUNCTION: void ToggleBorderlessWindowed ( ) FUNCTION: void MaximizeWindow ( ) FUNCTION: void MinimizeWindow ( ) FUNCTION: void RestoreWindow ( ) FUNCTION: void SetWindowIcon ( Image image ) FUNCTION: void SetWindowIcons ( Image * images, int count ) FUNCTION: void SetWindowTitle ( char * title ) FUNCTION: void SetWindowPosition ( int x, int y ) FUNCTION: void SetWindowMonitor ( int monitor ) FUNCTION: void SetWindowMinSize ( int width, int height ) FUNCTION: void SetWindowMaxSize ( int width, int height ) FUNCTION: void SetWindowSize ( int width, int height ) FUNCTION: void SetWindowOpacity ( float opacity ) FUNCTION: void SetWindowFocused ( ) FUNCTION: void* GetWindowHandle ( ) FUNCTION: int GetScreenWidth ( ) FUNCTION: int GetScreenHeight ( ) FUNCTION: int GetRenderWidth ( ) FUNCTION: int GetRenderHeight ( ) FUNCTION: int GetMonitorCount ( ) FUNCTION: int GetCurrentMonitor ( ) FUNCTION: Vector2 GetMonitorPosition ( int monitor ) FUNCTION: int GetMonitorWidth ( int monitor ) FUNCTION: int GetMonitorHeight ( int monitor ) FUNCTION: int GetMonitorPhysicalWidth ( int monitor ) FUNCTION: int GetMonitorPhysicalHeight ( int monitor ) FUNCTION: int GetMonitorRefreshRate ( int monitor ) FUNCTION: Vector2 GetWindowPosition ( ) FUNCTION: Vector2 GetWindowScaleDPI ( ) FUNCTION: char* GetMonitorName ( int monitor ) FUNCTION: void SetClipboardText ( char * text ) FUNCTION: char* GetClipboardText ( ) FUNCTION: void EnableEventWaiting ( ) FUNCTION: void DisableEventWaiting ( ) FUNCTION: void ShowCursor ( ) FUNCTION: void HideCursor ( ) FUNCTION: bool IsCursorHidden ( ) FUNCTION: void EnableCursor ( ) FUNCTION: void DisableCursor ( ) FUNCTION: bool IsCursorOnScreen ( ) FUNCTION: void ClearBackground ( Color color ) FUNCTION: void BeginDrawing ( ) FUNCTION: void EndDrawing ( ) FUNCTION: void BeginMode2D ( Camera2D camera ) FUNCTION: void EndMode2D ( ) FUNCTION: void BeginMode3D ( Camera3D camera ) FUNCTION: void EndMode3D ( ) FUNCTION: void BeginTextureMode ( RenderTexture2D target ) FUNCTION: void EndTextureMode ( ) FUNCTION: void BeginShaderMode ( Shader shader ) FUNCTION: void EndShaderMode ( ) FUNCTION: void BeginBlendMode ( int mode ) FUNCTION: void EndBlendMode ( ) FUNCTION: void BeginScissorMode ( int x, int y, int width, int height ) FUNCTION: void EndScissorMode ( ) FUNCTION: void BeginVrStereoMode ( VrStereoConfig config ) FUNCTION: void EndVrStereoMode ( ) FUNCTION: VrStereoConfig LoadVrStereoConfig ( VrDeviceInfo device ) FUNCTION: void UnloadVrStereoConfig ( VrStereoConfig config ) FUNCTION: Shader LoadShader ( char * vsFileName, char * fsFileName ) FUNCTION: Shader LoadShaderFromMemory ( char * vsCode, char * fsCode ) FUNCTION: bool IsShaderReady ( Shader shader ) FUNCTION: int GetShaderLocation ( Shader shader, char * uniformName ) FUNCTION: int GetShaderLocationAttrib ( Shader shader, char * attribName ) FUNCTION: void SetShaderValue ( Shader shader, int locIndex, void * value, int uniformType ) FUNCTION: void SetShaderValueV ( Shader shader, int locIndex, void * value, int uniformType, int count ) FUNCTION: void SetShaderValueMatrix ( Shader shader, int locIndex, Matrix mat ) FUNCTION: void SetShaderValueTexture ( Shader shader, int locIndex, Texture2D texture ) FUNCTION: void UnloadShader ( Shader shader ) FUNCTION: Ray GetMouseRay ( Vector2 mousePosition, Camera camera ) FUNCTION: Matrix GetCameraMatrix ( Camera camera ) FUNCTION: Matrix GetCameraMatrix2D ( Camera2D camera ) FUNCTION: Vector2 GetWorldToScreen ( Vector3 position, Camera camera ) FUNCTION: Vector2 GetScreenToWorld2D ( Vector2 position, Camera2D camera ) FUNCTION: Vector2 GetWorldToScreenEx ( Vector3 position, Camera camera, int width, int height ) FUNCTION: Vector2 GetWorldToScreen2D ( Vector2 position, Camera2D camera ) FUNCTION: void SetTargetFPS ( int fps ) FUNCTION: float GetFrameTime ( ) FUNCTION: double GetTime ( ) FUNCTION: int GetFPS ( ) FUNCTION: void SwapScreenBuffer ( ) FUNCTION: void PollInputEvents ( ) FUNCTION: void WaitTime ( double seconds ) FUNCTION: void SetRandomSeed ( unsigned int seed ) FUNCTION: int GetRandomValue ( int min, int max ) FUNCTION: int* LoadRandomSequence ( unsigned int count, int min, int max ) FUNCTION: void UnloadRandomSequence ( int * sequence ) FUNCTION: void TakeScreenshot ( char * fileName ) FUNCTION: void SetConfigFlags ( unsigned int flags ) FUNCTION: void OpenURL ( char * url ) FUNCTION: void TraceLog ( int logLevel, char * text ) FUNCTION: void SetTraceLogLevel ( int logLevel ) FUNCTION: void* MemAlloc ( unsigned int size ) FUNCTION: void* MemRealloc ( void * ptr, unsigned int size ) FUNCTION: void MemFree ( void * ptr ) FUNCTION: void SetTraceLogCallback ( TraceLogCallback callback ) FUNCTION: void SetLoadFileDataCallback ( LoadFileDataCallback callback ) FUNCTION: void SetSaveFileDataCallback ( SaveFileDataCallback callback ) FUNCTION: void SetLoadFileTextCallback ( LoadFileTextCallback callback ) FUNCTION: void SetSaveFileTextCallback ( SaveFileTextCallback callback ) FUNCTION: uchar* LoadFileData ( char * fileName, int * dataSize ) FUNCTION: void UnloadFileData ( unsigned char * data ) FUNCTION: bool SaveFileData ( char * fileName, void * data, int dataSize ) FUNCTION: bool ExportDataAsCode ( unsigned char * data, int dataSize, char * fileName ) FUNCTION: char* LoadFileText ( char * fileName ) FUNCTION: void UnloadFileText ( char * text ) FUNCTION: bool SaveFileText ( char * fileName, char * text ) FUNCTION: bool FileExists ( char * fileName ) FUNCTION: bool DirectoryExists ( char * dirPath ) FUNCTION: bool IsFileExtension ( char * fileName, char * ext ) FUNCTION: int GetFileLength ( char * fileName ) FUNCTION: char* GetFileExtension ( char * fileName ) FUNCTION: char* GetFileName ( char * filePath ) FUNCTION: char* GetFileNameWithoutExt ( char * filePath ) FUNCTION: char* GetDirectoryPath ( char * filePath ) FUNCTION: char* GetPrevDirectoryPath ( char * dirPath ) FUNCTION: char* GetWorkingDirectory ( ) FUNCTION: char* GetApplicationDirectory ( ) FUNCTION: bool ChangeDirectory ( char * dir ) FUNCTION: bool IsPathFile ( char * path ) FUNCTION: FilePathList LoadDirectoryFiles ( char * dirPath ) FUNCTION: FilePathList LoadDirectoryFilesEx ( char * basePath, char * filter, _Bool scanSubdirs ) FUNCTION: void UnloadDirectoryFiles ( FilePathList files ) FUNCTION: bool IsFileDropped ( ) FUNCTION: FilePathList LoadDroppedFiles ( ) FUNCTION: void UnloadDroppedFiles ( FilePathList files ) FUNCTION: long GetFileModTime ( char * fileName ) FUNCTION: uchar* CompressData ( unsigned char * data, int dataSize, int * compDataSize ) FUNCTION: uchar* DecompressData ( unsigned char * compData, int compDataSize, int * dataSize ) FUNCTION: char* EncodeDataBase64 ( unsigned char * data, int dataSize, int * outputSize ) FUNCTION: uchar* DecodeDataBase64 ( unsigned char * data, int * outputSize ) FUNCTION: AutomationEventList LoadAutomationEventList ( char * fileName ) FUNCTION: void UnloadAutomationEventList ( AutomationEventList * list ) FUNCTION: bool ExportAutomationEventList ( AutomationEventList list, char * fileName ) FUNCTION: void SetAutomationEventList ( AutomationEventList * list ) FUNCTION: void SetAutomationEventBaseFrame ( int frame ) FUNCTION: void StartAutomationEventRecording ( ) FUNCTION: void StopAutomationEventRecording ( ) FUNCTION: void PlayAutomationEvent ( AutomationEvent event ) FUNCTION: bool IsKeyPressed ( int key ) FUNCTION: bool IsKeyPressedRepeat ( int key ) FUNCTION: bool IsKeyDown ( int key ) FUNCTION: bool IsKeyReleased ( int key ) FUNCTION: bool IsKeyUp ( int key ) FUNCTION: int GetKeyPressed ( ) FUNCTION: int GetCharPressed ( ) FUNCTION: void SetExitKey ( int key ) FUNCTION: bool IsGamepadAvailable ( int gamepad ) FUNCTION: char* GetGamepadName ( int gamepad ) FUNCTION: bool IsGamepadButtonPressed ( int gamepad, int button ) FUNCTION: bool IsGamepadButtonDown ( int gamepad, int button ) FUNCTION: bool IsGamepadButtonReleased ( int gamepad, int button ) FUNCTION: bool IsGamepadButtonUp ( int gamepad, int button ) FUNCTION: int GetGamepadButtonPressed ( ) FUNCTION: int GetGamepadAxisCount ( int gamepad ) FUNCTION: float GetGamepadAxisMovement ( int gamepad, int axis ) FUNCTION: int SetGamepadMappings ( char * mappings ) FUNCTION: bool IsMouseButtonPressed ( int button ) FUNCTION: bool IsMouseButtonDown ( int button ) FUNCTION: bool IsMouseButtonReleased ( int button ) FUNCTION: bool IsMouseButtonUp ( int button ) FUNCTION: int GetMouseX ( ) FUNCTION: int GetMouseY ( ) FUNCTION: Vector2 GetMousePosition ( ) FUNCTION: Vector2 GetMouseDelta ( ) FUNCTION: void SetMousePosition ( int x, int y ) FUNCTION: void SetMouseOffset ( int offsetX, int offsetY ) FUNCTION: void SetMouseScale ( float scaleX, float scaleY ) FUNCTION: float GetMouseWheelMove ( ) FUNCTION: Vector2 GetMouseWheelMoveV ( ) FUNCTION: void SetMouseCursor ( int cursor ) FUNCTION: int GetTouchX ( ) FUNCTION: int GetTouchY ( ) FUNCTION: Vector2 GetTouchPosition ( int index ) FUNCTION: int GetTouchPointId ( int index ) FUNCTION: int GetTouchPointCount ( ) FUNCTION: void SetGesturesEnabled ( unsigned int flags ) FUNCTION: bool IsGestureDetected ( unsigned int gesture ) FUNCTION: int GetGestureDetected ( ) FUNCTION: float GetGestureHoldDuration ( ) FUNCTION: Vector2 GetGestureDragVector ( ) FUNCTION: float GetGestureDragAngle ( ) FUNCTION: Vector2 GetGesturePinchVector ( ) FUNCTION: float GetGesturePinchAngle ( ) FUNCTION: void UpdateCamera ( Camera * camera, int mode ) FUNCTION: void UpdateCameraPro ( Camera * camera, Vector3 movement, Vector3 rotation, float zoom ) FUNCTION: void SetShapesTexture ( Texture2D texture, Rectangle source ) FUNCTION: void DrawPixel ( int posX, int posY, Color color ) FUNCTION: void DrawPixelV ( Vector2 position, Color color ) FUNCTION: void DrawLine ( int startPosX, int startPosY, int endPosX, int endPosY, Color color ) FUNCTION: void DrawLineV ( Vector2 startPos, Vector2 endPos, Color color ) FUNCTION: void DrawLineEx ( Vector2 startPos, Vector2 endPos, float thick, Color color ) FUNCTION: void DrawLineStrip ( Vector2 * points, int pointCount, Color color ) FUNCTION: void DrawLineBezier ( Vector2 startPos, Vector2 endPos, float thick, Color color ) FUNCTION: void DrawCircle ( int centerX, int centerY, float radius, Color color ) FUNCTION: void DrawCircleSector ( Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color ) FUNCTION: void DrawCircleSectorLines ( Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color ) FUNCTION: void DrawCircleGradient ( int centerX, int centerY, float radius, Color color1, Color color2 ) FUNCTION: void DrawCircleV ( Vector2 center, float radius, Color color ) FUNCTION: void DrawCircleLines ( int centerX, int centerY, float radius, Color color ) FUNCTION: void DrawCircleLinesV ( Vector2 center, float radius, Color color ) FUNCTION: void DrawEllipse ( int centerX, int centerY, float radiusH, float radiusV, Color color ) FUNCTION: void DrawEllipseLines ( int centerX, int centerY, float radiusH, float radiusV, Color color ) FUNCTION: void DrawRing ( Vector2 center, float innerRadius, float outerRadius, float startAngle, float endAngle, int segments, Color color ) FUNCTION: void DrawRingLines ( Vector2 center, float innerRadius, float outerRadius, float startAngle, float endAngle, int segments, Color color ) FUNCTION: void DrawRectangle ( int posX, int posY, int width, int height, Color color ) FUNCTION: void DrawRectangleV ( Vector2 position, Vector2 size, Color color ) FUNCTION: void DrawRectangleRec ( Rectangle rec, Color color ) FUNCTION: void DrawRectanglePro ( Rectangle rec, Vector2 origin, float rotation, Color color ) FUNCTION: void DrawRectangleGradientV ( int posX, int posY, int width, int height, Color color1, Color color2 ) FUNCTION: void DrawRectangleGradientH ( int posX, int posY, int width, int height, Color color1, Color color2 ) FUNCTION: void DrawRectangleGradientEx ( Rectangle rec, Color col1, Color col2, Color col3, Color col4 ) FUNCTION: void DrawRectangleLines ( int posX, int posY, int width, int height, Color color ) FUNCTION: void DrawRectangleLinesEx ( Rectangle rec, float lineThick, Color color ) FUNCTION: void DrawRectangleRounded ( Rectangle rec, float roundness, int segments, Color color ) FUNCTION: void DrawRectangleRoundedLines ( Rectangle rec, float roundness, int segments, float lineThick, Color color ) FUNCTION: void DrawTriangle ( Vector2 v1, Vector2 v2, Vector2 v3, Color color ) FUNCTION: void DrawTriangleLines ( Vector2 v1, Vector2 v2, Vector2 v3, Color color ) FUNCTION: void DrawTriangleFan ( Vector2 * points, int pointCount, Color color ) FUNCTION: void DrawTriangleStrip ( Vector2 * points, int pointCount, Color color ) FUNCTION: void DrawPoly ( Vector2 center, int sides, float radius, float rotation, Color color ) FUNCTION: void DrawPolyLines ( Vector2 center, int sides, float radius, float rotation, Color color ) FUNCTION: void DrawPolyLinesEx ( Vector2 center, int sides, float radius, float rotation, float lineThick, Color color ) FUNCTION: void DrawSplineLinear ( Vector2 * points, int pointCount, float thick, Color color ) FUNCTION: void DrawSplineBasis ( Vector2 * points, int pointCount, float thick, Color color ) FUNCTION: void DrawSplineCatmullRom ( Vector2 * points, int pointCount, float thick, Color color ) FUNCTION: void DrawSplineBezierQuadratic ( Vector2 * points, int pointCount, float thick, Color color ) FUNCTION: void DrawSplineBezierCubic ( Vector2 * points, int pointCount, float thick, Color color ) FUNCTION: void DrawSplineSegmentLinear ( Vector2 p1, Vector2 p2, float thick, Color color ) FUNCTION: void DrawSplineSegmentBasis ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color ) FUNCTION: void DrawSplineSegmentCatmullRom ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float thick, Color color ) FUNCTION: void DrawSplineSegmentBezierQuadratic ( Vector2 p1, Vector2 c2, Vector2 p3, float thick, Color color ) FUNCTION: void DrawSplineSegmentBezierCubic ( Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float thick, Color color ) FUNCTION: Vector2 GetSplinePointLinear ( Vector2 startPos, Vector2 endPos, float t ) FUNCTION: Vector2 GetSplinePointBasis ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t ) FUNCTION: Vector2 GetSplinePointCatmullRom ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t ) FUNCTION: Vector2 GetSplinePointBezierQuad ( Vector2 p1, Vector2 c2, Vector2 p3, float t ) FUNCTION: Vector2 GetSplinePointBezierCubic ( Vector2 p1, Vector2 c2, Vector2 c3, Vector2 p4, float t ) FUNCTION: bool CheckCollisionRecs ( Rectangle rec1, Rectangle rec2 ) FUNCTION: bool CheckCollisionCircles ( Vector2 center1, float radius1, Vector2 center2, float radius2 ) FUNCTION: bool CheckCollisionCircleRec ( Vector2 center, float radius, Rectangle rec ) FUNCTION: bool CheckCollisionPointRec ( Vector2 point, Rectangle rec ) FUNCTION: bool CheckCollisionPointCircle ( Vector2 point, Vector2 center, float radius ) FUNCTION: bool CheckCollisionPointTriangle ( Vector2 point, Vector2 p1, Vector2 p2, Vector2 p3 ) FUNCTION: bool CheckCollisionPointPoly ( Vector2 point, Vector2 * points, int pointCount ) FUNCTION: bool CheckCollisionLines ( Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, Vector2 endPos2, Vector2 * collisionPoint ) FUNCTION: bool CheckCollisionPointLine ( Vector2 point, Vector2 p1, Vector2 p2, int threshold ) FUNCTION: Rectangle GetCollisionRec ( Rectangle rec1, Rectangle rec2 ) FUNCTION: Image LoadImage ( char * fileName ) FUNCTION: Image LoadImageRaw ( char * fileName, int width, int height, int format, int headerSize ) FUNCTION: Image LoadImageSvg ( char * fileNameOrString, int width, int height ) FUNCTION: Image LoadImageAnim ( char * fileName, int * frames ) FUNCTION: Image LoadImageFromMemory ( char * fileType, unsigned char * fileData, int dataSize ) FUNCTION: Image LoadImageFromTexture ( Texture2D texture ) FUNCTION: Image LoadImageFromScreen ( ) FUNCTION: bool IsImageReady ( Image image ) FUNCTION: void UnloadImage ( Image image ) FUNCTION: bool ExportImage ( Image image, char * fileName ) FUNCTION: uchar* ExportImageToMemory ( Image image, char * fileType, int * fileSize ) FUNCTION: bool ExportImageAsCode ( Image image, char * fileName ) FUNCTION: Image GenImageColor ( int width, int height, Color color ) FUNCTION: Image GenImageGradientLinear ( int width, int height, int direction, Color start, Color end ) FUNCTION: Image GenImageGradientRadial ( int width, int height, float density, Color inner, Color outer ) FUNCTION: Image GenImageGradientSquare ( int width, int height, float density, Color inner, Color outer ) FUNCTION: Image GenImageChecked ( int width, int height, int checksX, int checksY, Color col1, Color col2 ) FUNCTION: Image GenImageWhiteNoise ( int width, int height, float factor ) FUNCTION: Image GenImagePerlinNoise ( int width, int height, int offsetX, int offsetY, float scale ) FUNCTION: Image GenImageCellular ( int width, int height, int tileSize ) FUNCTION: Image GenImageText ( int width, int height, char * text ) FUNCTION: Image ImageCopy ( Image image ) FUNCTION: Image ImageFromImage ( Image image, Rectangle rec ) FUNCTION: Image ImageText ( char * text, int fontSize, Color color ) FUNCTION: Image ImageTextEx ( Font font, char * text, float fontSize, float spacing, Color tint ) FUNCTION: void ImageFormat ( Image * image, int newFormat ) FUNCTION: void ImageToPOT ( Image * image, Color fill ) FUNCTION: void ImageCrop ( Image * image, Rectangle crop ) FUNCTION: void ImageAlphaCrop ( Image * image, float threshold ) FUNCTION: void ImageAlphaClear ( Image * image, Color color, float threshold ) FUNCTION: void ImageAlphaMask ( Image * image, Image alphaMask ) FUNCTION: void ImageAlphaPremultiply ( Image * image ) FUNCTION: void ImageBlurGaussian ( Image * image, int blurSize ) FUNCTION: void ImageResize ( Image * image, int newWidth, int newHeight ) FUNCTION: void ImageResizeNN ( Image * image, int newWidth, int newHeight ) FUNCTION: void ImageResizeCanvas ( Image * image, int newWidth, int newHeight, int offsetX, int offsetY, Color fill ) FUNCTION: void ImageMipmaps ( Image * image ) FUNCTION: void ImageDither ( Image * image, int rBpp, int gBpp, int bBpp, int aBpp ) FUNCTION: void ImageFlipVertical ( Image * image ) FUNCTION: void ImageFlipHorizontal ( Image * image ) FUNCTION: void ImageRotate ( Image * image, int degrees ) FUNCTION: void ImageRotateCW ( Image * image ) FUNCTION: void ImageRotateCCW ( Image * image ) FUNCTION: void ImageColorTint ( Image * image, Color color ) FUNCTION: void ImageColorInvert ( Image * image ) FUNCTION: void ImageColorGrayscale ( Image * image ) FUNCTION: void ImageColorContrast ( Image * image, float contrast ) FUNCTION: void ImageColorBrightness ( Image * image, int brightness ) FUNCTION: void ImageColorReplace ( Image * image, Color color, Color replace ) FUNCTION: Color* LoadImageColors ( Image image ) FUNCTION: Color* LoadImagePalette ( Image image, int maxPaletteSize, int * colorCount ) FUNCTION: void UnloadImageColors ( Color * colors ) FUNCTION: void UnloadImagePalette ( Color * colors ) FUNCTION: Rectangle GetImageAlphaBorder ( Image image, float threshold ) FUNCTION: Color GetImageColor ( Image image, int x, int y ) FUNCTION: void ImageClearBackground ( Image * dst, Color color ) FUNCTION: void ImageDrawPixel ( Image * dst, int posX, int posY, Color color ) FUNCTION: void ImageDrawPixelV ( Image * dst, Vector2 position, Color color ) FUNCTION: void ImageDrawLine ( Image * dst, int startPosX, int startPosY, int endPosX, int endPosY, Color color ) FUNCTION: void ImageDrawLineV ( Image * dst, Vector2 start, Vector2 end, Color color ) FUNCTION: void ImageDrawCircle ( Image * dst, int centerX, int centerY, int radius, Color color ) FUNCTION: void ImageDrawCircleV ( Image * dst, Vector2 center, int radius, Color color ) FUNCTION: void ImageDrawCircleLines ( Image * dst, int centerX, int centerY, int radius, Color color ) FUNCTION: void ImageDrawCircleLinesV ( Image * dst, Vector2 center, int radius, Color color ) FUNCTION: void ImageDrawRectangle ( Image * dst, int posX, int posY, int width, int height, Color color ) FUNCTION: void ImageDrawRectangleV ( Image * dst, Vector2 position, Vector2 size, Color color ) FUNCTION: void ImageDrawRectangleRec ( Image * dst, Rectangle rec, Color color ) FUNCTION: void ImageDrawRectangleLines ( Image * dst, Rectangle rec, int thick, Color color ) FUNCTION: void ImageDraw ( Image * dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint ) FUNCTION: void ImageDrawText ( Image * dst, char * text, int posX, int posY, int fontSize, Color color ) FUNCTION: void ImageDrawTextEx ( Image * dst, Font font, char * text, Vector2 position, float fontSize, float spacing, Color tint ) FUNCTION: Texture LoadTexture ( char * fileName ) FUNCTION: Texture LoadTextureFromImage ( Image image ) FUNCTION: Texture LoadTextureCubemap ( Image image, int layout ) FUNCTION: RenderTexture LoadRenderTexture ( int width, int height ) FUNCTION: bool IsTextureReady ( Texture2D texture ) FUNCTION: void UnloadTexture ( Texture2D texture ) FUNCTION: bool IsRenderTextureReady ( RenderTexture2D target ) FUNCTION: void UnloadRenderTexture ( RenderTexture2D target ) FUNCTION: void UpdateTexture ( Texture2D texture, void * pixels ) FUNCTION: void UpdateTextureRec ( Texture2D texture, Rectangle rec, void * pixels ) FUNCTION: void GenTextureMipmaps ( Texture2D * texture ) FUNCTION: void SetTextureFilter ( Texture2D texture, int filter ) FUNCTION: void SetTextureWrap ( Texture2D texture, int wrap ) FUNCTION: void DrawTexture ( Texture2D texture, int posX, int posY, Color tint ) FUNCTION: void DrawTextureV ( Texture2D texture, Vector2 position, Color tint ) FUNCTION: void DrawTextureEx ( Texture2D texture, Vector2 position, float rotation, float scale, Color tint ) FUNCTION: void DrawTextureRec ( Texture2D texture, Rectangle source, Vector2 position, Color tint ) FUNCTION: void DrawTexturePro ( Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint ) FUNCTION: void DrawTextureNPatch ( Texture2D texture, NPatchInfo nPatchInfo, Rectangle dest, Vector2 origin, float rotation, Color tint ) FUNCTION: Color Fade ( Color color, float alpha ) FUNCTION: int ColorToInt ( Color color ) FUNCTION: Vector4 ColorNormalize ( Color color ) FUNCTION: Color ColorFromNormalized ( Vector4 normalized ) FUNCTION: Vector3 ColorToHSV ( Color color ) FUNCTION: Color ColorFromHSV ( float hue, float saturation, float value ) FUNCTION: Color ColorTint ( Color color, Color tint ) FUNCTION: Color ColorBrightness ( Color color, float factor ) FUNCTION: Color ColorContrast ( Color color, float contrast ) FUNCTION: Color ColorAlpha ( Color color, float alpha ) FUNCTION: Color ColorAlphaBlend ( Color dst, Color src, Color tint ) FUNCTION: Color GetColor ( unsigned int hexValue ) FUNCTION: Color GetPixelColor ( void * srcPtr, int format ) FUNCTION: void SetPixelColor ( void * dstPtr, Color color, int format ) FUNCTION: int GetPixelDataSize ( int width, int height, int format ) FUNCTION: Font GetFontDefault ( ) FUNCTION: Font LoadFont ( char * fileName ) FUNCTION: Font LoadFontEx ( char * fileName, int fontSize, int * codepoints, int codepointCount ) FUNCTION: Font LoadFontFromImage ( Image image, Color key, int firstChar ) FUNCTION: Font LoadFontFromMemory ( char * fileType, unsigned char * fileData, int dataSize, int fontSize, int * codepoints, int codepointCount ) FUNCTION: bool IsFontReady ( Font font ) FUNCTION: GlyphInfo* LoadFontData ( unsigned char * fileData, int dataSize, int fontSize, int * codepoints, int codepointCount, int type ) FUNCTION: Image GenImageFontAtlas ( GlyphInfo * glyphs, Rectangle ** glyphRecs, int glyphCount, int fontSize, int padding, int packMethod ) FUNCTION: void UnloadFontData ( GlyphInfo * glyphs, int glyphCount ) FUNCTION: void UnloadFont ( Font font ) FUNCTION: bool ExportFontAsCode ( Font font, char * fileName ) FUNCTION: void DrawFPS ( int posX, int posY ) FUNCTION: void DrawText ( char * text, int posX, int posY, int fontSize, Color color ) FUNCTION: void DrawTextEx ( Font font, char * text, Vector2 position, float fontSize, float spacing, Color tint ) FUNCTION: void DrawTextPro ( Font font, char * text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint ) FUNCTION: void DrawTextCodepoint ( Font font, int codepoint, Vector2 position, float fontSize, Color tint ) FUNCTION: void DrawTextCodepoints ( Font font, int * codepoints, int codepointCount, Vector2 position, float fontSize, float spacing, Color tint ) FUNCTION: void SetTextLineSpacing ( int spacing ) FUNCTION: int MeasureText ( char * text, int fontSize ) FUNCTION: Vector2 MeasureTextEx ( Font font, char * text, float fontSize, float spacing ) FUNCTION: int GetGlyphIndex ( Font font, int codepoint ) FUNCTION: GlyphInfo GetGlyphInfo ( Font font, int codepoint ) FUNCTION: Rectangle GetGlyphAtlasRec ( Font font, int codepoint ) FUNCTION: char* LoadUTF8 ( int * codepoints, int length ) FUNCTION: void UnloadUTF8 ( char * text ) FUNCTION: int* LoadCodepoints ( char * text, int * count ) FUNCTION: void UnloadCodepoints ( int * codepoints ) FUNCTION: int GetCodepointCount ( char * text ) FUNCTION: int GetCodepoint ( char * text, int * codepointSize ) FUNCTION: int GetCodepointNext ( char * text, int * codepointSize ) FUNCTION: int GetCodepointPrevious ( char * text, int * codepointSize ) FUNCTION: char* CodepointToUTF8 ( int codepoint, int * utf8Size ) FUNCTION: int TextCopy ( char * dst, char * src ) FUNCTION: bool TextIsEqual ( char * text1, char * text2 ) FUNCTION: uint TextLength ( char * text ) FUNCTION: char* TextFormat ( char * text ) FUNCTION: char* TextSubtext ( char * text, int position, int length ) FUNCTION: char* TextReplace ( char * text, char * replace, char * by ) FUNCTION: char* TextInsert ( char * text, char * insert, int position ) FUNCTION: char* TextJoin ( char ** textList, int count, char * delimiter ) FUNCTION: char** TextSplit ( char * text, char delimiter, int * count ) FUNCTION: void TextAppend ( char * text, char * append, int * position ) FUNCTION: int TextFindIndex ( char * text, char * find ) FUNCTION: char* TextToUpper ( char * text ) FUNCTION: char* TextToLower ( char * text ) FUNCTION: char* TextToPascal ( char * text ) FUNCTION: int TextToInteger ( char * text ) FUNCTION: void DrawLine3D ( Vector3 startPos, Vector3 endPos, Color color ) FUNCTION: void DrawPoint3D ( Vector3 position, Color color ) FUNCTION: void DrawCircle3D ( Vector3 center, float radius, Vector3 rotationAxis, float rotationAngle, Color color ) FUNCTION: void DrawTriangle3D ( Vector3 v1, Vector3 v2, Vector3 v3, Color color ) FUNCTION: void DrawTriangleStrip3D ( Vector3 * points, int pointCount, Color color ) FUNCTION: void DrawCube ( Vector3 position, float width, float height, float length, Color color ) FUNCTION: void DrawCubeV ( Vector3 position, Vector3 size, Color color ) FUNCTION: void DrawCubeWires ( Vector3 position, float width, float height, float length, Color color ) FUNCTION: void DrawCubeWiresV ( Vector3 position, Vector3 size, Color color ) FUNCTION: void DrawSphere ( Vector3 centerPos, float radius, Color color ) FUNCTION: void DrawSphereEx ( Vector3 centerPos, float radius, int rings, int slices, Color color ) FUNCTION: void DrawSphereWires ( Vector3 centerPos, float radius, int rings, int slices, Color color ) FUNCTION: void DrawCylinder ( Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color ) FUNCTION: void DrawCylinderEx ( Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color ) FUNCTION: void DrawCylinderWires ( Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color ) FUNCTION: void DrawCylinderWiresEx ( Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color ) FUNCTION: void DrawCapsule ( Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color ) FUNCTION: void DrawCapsuleWires ( Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color ) FUNCTION: void DrawPlane ( Vector3 centerPos, Vector2 size, Color color ) FUNCTION: void DrawRay ( Ray ray, Color color ) FUNCTION: void DrawGrid ( int slices, float spacing ) FUNCTION: Model LoadModel ( char * fileName ) FUNCTION: Model LoadModelFromMesh ( Mesh mesh ) FUNCTION: bool IsModelReady ( Model model ) FUNCTION: void UnloadModel ( Model model ) FUNCTION: BoundingBox GetModelBoundingBox ( Model model ) FUNCTION: void DrawModel ( Model model, Vector3 position, float scale, Color tint ) FUNCTION: void DrawModelEx ( Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint ) FUNCTION: void DrawModelWires ( Model model, Vector3 position, float scale, Color tint ) FUNCTION: void DrawModelWiresEx ( Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint ) FUNCTION: void DrawBoundingBox ( BoundingBox box, Color color ) FUNCTION: void DrawBillboard ( Camera camera, Texture2D texture, Vector3 position, float size, Color tint ) FUNCTION: void DrawBillboardRec ( Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint ) FUNCTION: void DrawBillboardPro ( Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint ) FUNCTION: void UploadMesh ( Mesh * mesh, _Bool dynamic ) FUNCTION: void UpdateMeshBuffer ( Mesh mesh, int index, void * data, int dataSize, int offset ) FUNCTION: void UnloadMesh ( Mesh mesh ) FUNCTION: void DrawMesh ( Mesh mesh, Material material, Matrix transform ) FUNCTION: void DrawMeshInstanced ( Mesh mesh, Material material, Matrix * transforms, int instances ) FUNCTION: bool ExportMesh ( Mesh mesh, char * fileName ) FUNCTION: BoundingBox GetMeshBoundingBox ( Mesh mesh ) FUNCTION: void GenMeshTangents ( Mesh * mesh ) FUNCTION: Mesh GenMeshPoly ( int sides, float radius ) FUNCTION: Mesh GenMeshPlane ( float width, float length, int resX, int resZ ) FUNCTION: Mesh GenMeshCube ( float width, float height, float length ) FUNCTION: Mesh GenMeshSphere ( float radius, int rings, int slices ) FUNCTION: Mesh GenMeshHemiSphere ( float radius, int rings, int slices ) FUNCTION: Mesh GenMeshCylinder ( float radius, float height, int slices ) FUNCTION: Mesh GenMeshCone ( float radius, float height, int slices ) FUNCTION: Mesh GenMeshTorus ( float radius, float size, int radSeg, int sides ) FUNCTION: Mesh GenMeshKnot ( float radius, float size, int radSeg, int sides ) FUNCTION: Mesh GenMeshHeightmap ( Image heightmap, Vector3 size ) FUNCTION: Mesh GenMeshCubicmap ( Image cubicmap, Vector3 cubeSize ) FUNCTION: Material* LoadMaterials ( char * fileName, int * materialCount ) FUNCTION: Material LoadMaterialDefault ( ) FUNCTION: bool IsMaterialReady ( Material material ) FUNCTION: void UnloadMaterial ( Material material ) FUNCTION: void SetMaterialTexture ( Material * material, int mapType, Texture2D texture ) FUNCTION: void SetModelMeshMaterial ( Model * model, int meshId, int materialId ) FUNCTION: ModelAnimation* LoadModelAnimations ( char * fileName, int * animCount ) FUNCTION: void UpdateModelAnimation ( Model model, ModelAnimation anim, int frame ) FUNCTION: void UnloadModelAnimation ( ModelAnimation anim ) FUNCTION: void UnloadModelAnimations ( ModelAnimation * animations, int animCount ) FUNCTION: bool IsModelAnimationValid ( Model model, ModelAnimation anim ) FUNCTION: bool CheckCollisionSpheres ( Vector3 center1, float radius1, Vector3 center2, float radius2 ) FUNCTION: bool CheckCollisionBoxes ( BoundingBox box1, BoundingBox box2 ) FUNCTION: bool CheckCollisionBoxSphere ( BoundingBox box, Vector3 center, float radius ) FUNCTION: RayCollision GetRayCollisionSphere ( Ray ray, Vector3 center, float radius ) FUNCTION: RayCollision GetRayCollisionBox ( Ray ray, BoundingBox box ) FUNCTION: RayCollision GetRayCollisionMesh ( Ray ray, Mesh mesh, Matrix transform ) FUNCTION: RayCollision GetRayCollisionTriangle ( Ray ray, Vector3 p1, Vector3 p2, Vector3 p3 ) FUNCTION: RayCollision GetRayCollisionQuad ( Ray ray, Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4 ) FUNCTION: void InitAudioDevice ( ) FUNCTION: void CloseAudioDevice ( ) FUNCTION: bool IsAudioDeviceReady ( ) FUNCTION: void SetMasterVolume ( float volume ) FUNCTION: float GetMasterVolume ( ) FUNCTION: Wave LoadWave ( char * fileName ) FUNCTION: Wave LoadWaveFromMemory ( char * fileType, unsigned char * fileData, int dataSize ) FUNCTION: bool IsWaveReady ( Wave wave ) FUNCTION: Sound LoadSound ( char * fileName ) FUNCTION: Sound LoadSoundFromWave ( Wave wave ) FUNCTION: Sound LoadSoundAlias ( Sound source ) FUNCTION: bool IsSoundReady ( Sound sound ) FUNCTION: void UpdateSound ( Sound sound, void * data, int sampleCount ) FUNCTION: void UnloadWave ( Wave wave ) FUNCTION: void UnloadSound ( Sound sound ) FUNCTION: void UnloadSoundAlias ( Sound alias ) FUNCTION: bool ExportWave ( Wave wave, char * fileName ) FUNCTION: bool ExportWaveAsCode ( Wave wave, char * fileName ) FUNCTION: void PlaySound ( Sound sound ) FUNCTION: void StopSound ( Sound sound ) FUNCTION: void PauseSound ( Sound sound ) FUNCTION: void ResumeSound ( Sound sound ) FUNCTION: bool IsSoundPlaying ( Sound sound ) FUNCTION: void SetSoundVolume ( Sound sound, float volume ) FUNCTION: void SetSoundPitch ( Sound sound, float pitch ) FUNCTION: void SetSoundPan ( Sound sound, float pan ) FUNCTION: Wave WaveCopy ( Wave wave ) FUNCTION: void WaveCrop ( Wave * wave, int initSample, int finalSample ) FUNCTION: void WaveFormat ( Wave * wave, int sampleRate, int sampleSize, int channels ) FUNCTION: float* LoadWaveSamples ( Wave wave ) FUNCTION: void UnloadWaveSamples ( float * samples ) FUNCTION: Music LoadMusicStream ( char * fileName ) FUNCTION: Music LoadMusicStreamFromMemory ( char * fileType, unsigned char * data, int dataSize ) FUNCTION: bool IsMusicReady ( Music music ) FUNCTION: void UnloadMusicStream ( Music music ) FUNCTION: void PlayMusicStream ( Music music ) FUNCTION: bool IsMusicStreamPlaying ( Music music ) FUNCTION: void UpdateMusicStream ( Music music ) FUNCTION: void StopMusicStream ( Music music ) FUNCTION: void PauseMusicStream ( Music music ) FUNCTION: void ResumeMusicStream ( Music music ) FUNCTION: void SeekMusicStream ( Music music, float position ) FUNCTION: void SetMusicVolume ( Music music, float volume ) FUNCTION: void SetMusicPitch ( Music music, float pitch ) FUNCTION: void SetMusicPan ( Music music, float pan ) FUNCTION: float GetMusicTimeLength ( Music music ) FUNCTION: float GetMusicTimePlayed ( Music music ) FUNCTION: AudioStream LoadAudioStream ( unsigned int sampleRate, unsigned int sampleSize, unsigned int channels ) FUNCTION: bool IsAudioStreamReady ( AudioStream stream ) FUNCTION: void UnloadAudioStream ( AudioStream stream ) FUNCTION: void UpdateAudioStream ( AudioStream stream, void * data, int frameCount ) FUNCTION: bool IsAudioStreamProcessed ( AudioStream stream ) FUNCTION: void PlayAudioStream ( AudioStream stream ) FUNCTION: void PauseAudioStream ( AudioStream stream ) FUNCTION: void ResumeAudioStream ( AudioStream stream ) FUNCTION: bool IsAudioStreamPlaying ( AudioStream stream ) FUNCTION: void StopAudioStream ( AudioStream stream ) FUNCTION: void SetAudioStreamVolume ( AudioStream stream, float volume ) FUNCTION: void SetAudioStreamPitch ( AudioStream stream, float pitch ) FUNCTION: void SetAudioStreamPan ( AudioStream stream, float pan ) FUNCTION: void SetAudioStreamBufferSizeDefault ( int size ) FUNCTION: void SetAudioStreamCallback ( AudioStream stream, AudioCallback callback ) FUNCTION: void AttachAudioStreamProcessor ( AudioStream stream, AudioCallback processor ) FUNCTION: void DetachAudioStreamProcessor ( AudioStream stream, AudioCallback processor ) FUNCTION: void AttachAudioMixedProcessor ( AudioCallback processor ) FUNCTION: void DetachAudioMixedProcessor ( AudioCallback processor ) USE: build-from-source "raysan5" "raygui" raygui-versions last [ ] with-github-worktree-tag USE: libclang "resource:build-from-source/github/raysan5/raygui/4.0/src/raygui.h" parse-include ! IN: raygui ! https://github.com/factor/factor/blob/master/extra/raygui/raygui.factor FUNCTION: void GuiEnable ( ) FUNCTION: void GuiDisable ( ) FUNCTION: void GuiLock ( ) FUNCTION: void GuiUnlock ( ) FUNCTION: int GuiIsLocked ( ) FUNCTION: void GuiSetAlpha ( float alpha ) FUNCTION: void GuiSetState ( int state ) FUNCTION: int GuiGetState ( ) FUNCTION: void GuiSetFont ( int font ) FUNCTION: int GuiGetFont ( ) FUNCTION: void GuiSetStyle ( int control, int property, int value ) FUNCTION: int GuiGetStyle ( int control, int property ) FUNCTION: void GuiLoadStyle ( char * fileName ) FUNCTION: void GuiLoadStyleDefault ( ) FUNCTION: void GuiEnableTooltip ( ) FUNCTION: void GuiDisableTooltip ( ) FUNCTION: void GuiSetTooltip ( char * tooltip ) FUNCTION: char* GuiIconText ( int iconId, char * text ) FUNCTION: void GuiSetIconScale ( int scale ) FUNCTION: uint* GuiGetIcons ( ) FUNCTION: char** GuiLoadIcons ( char * fileName, int loadIconsName ) FUNCTION: void GuiDrawIcon ( int iconId, int posX, int posY, int pixelSize, int color ) FUNCTION: int GuiWindowBox ( int bounds, char * title ) FUNCTION: int GuiGroupBox ( int bounds, char * text ) FUNCTION: int GuiLine ( int bounds, char * text ) FUNCTION: int GuiPanel ( int bounds, char * text ) FUNCTION: int GuiTabBar ( int bounds, char ** text, int count, int * active ) FUNCTION: int GuiScrollPanel ( int bounds, char * text, int content, int * scroll, int * view ) FUNCTION: int GuiLabel ( int bounds, char * text ) FUNCTION: int GuiButton ( int bounds, char * text ) FUNCTION: int GuiLabelButton ( int bounds, char * text ) FUNCTION: int GuiToggle ( int bounds, char * text, int * active ) FUNCTION: int GuiToggleGroup ( int bounds, char * text, int * active ) FUNCTION: int GuiToggleSlider ( int bounds, char * text, int * active ) FUNCTION: int GuiCheckBox ( int bounds, char * text, int * checked ) FUNCTION: int GuiComboBox ( int bounds, char * text, int * active ) FUNCTION: int GuiDropdownBox ( int bounds, char * text, int * active, int editMode ) FUNCTION: int GuiSpinner ( int bounds, char * text, int * value, int minValue, int maxValue, int editMode ) FUNCTION: int GuiValueBox ( int bounds, char * text, int * value, int minValue, int maxValue, int editMode ) FUNCTION: int GuiTextBox ( int bounds, char * text, int textSize, int editMode ) FUNCTION: int GuiSlider ( int bounds, char * textLeft, char * textRight, float * value, float minValue, float maxValue ) FUNCTION: int GuiSliderBar ( int bounds, char * textLeft, char * textRight, float * value, float minValue, float maxValue ) FUNCTION: int GuiProgressBar ( int bounds, char * textLeft, char * textRight, float * value, float minValue, float maxValue ) FUNCTION: int GuiStatusBar ( int bounds, char * text ) FUNCTION: int GuiDummyRec ( int bounds, char * text ) FUNCTION: int GuiGrid ( int bounds, char * text, float spacing, int subdivs, int * mouseCell ) FUNCTION: int GuiListView ( int bounds, char * text, int * scrollIndex, int * active ) FUNCTION: int GuiListViewEx ( int bounds, char ** text, int count, int * scrollIndex, int * active, int * focus ) FUNCTION: int GuiMessageBox ( int bounds, char * title, char * message, char * buttons ) FUNCTION: int GuiTextInputBox ( int bounds, char * title, char * message, char * buttons, char * text, int textMaxSize, int * secretViewActive ) FUNCTION: int GuiColorPicker ( int bounds, char * text, int * color ) FUNCTION: int GuiColorPanel ( int bounds, char * text, int * color ) FUNCTION: int GuiColorBarAlpha ( int bounds, char * text, float * alpha ) FUNCTION: int GuiColorBarHue ( int bounds, char * text, float * value ) FUNCTION: int GuiColorPickerHSV ( int bounds, char * text, int * colorHsv ) FUNCTION: int GuiColorPanelHSV ( int bounds, char * text, int * colorHsv )