Skip to content

Add rlImGuiImageFit function#97

Open
zhp774 wants to merge 3 commits into
raylib-extras:mainfrom
zhp774:main
Open

Add rlImGuiImageFit function#97
zhp774 wants to merge 3 commits into
raylib-extras:mainfrom
zhp774:main

Conversation

@zhp774

@zhp774 zhp774 commented Jul 18, 2025

Copy link
Copy Markdown

This PR just clones the rlImGuiImageRenderTextureFit function and adapts it to work with normal Textures.
It will draw the image in a scale that will fit the free space on the ImGui context. Additionally it can center into the free space.

Result:
2025-07-1817-08-39-ezgif com-video-to-gif-converter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant