Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natives for getting how b-big resources are, nyu #56

Closed
marrub-- opened this issue Sep 27, 2017 · 1 comment
Closed

Natives for getting how b-big resources are, nyu #56

marrub-- opened this issue Sep 27, 2017 · 1 comment
Assignees

Comments

@marrub--
Copy link
Contributor

DGE_Point2I DGE_Font_GetTextSize(unsigned font, char const *text);
DGE_Point2I DGE_Texture_GetSize(unsigned texture);

for fonts just return the width of the biggest line and height * lines
for textures I need to add the width/height of textures to TextureData, at that point I can also make RenderThinkers default to rendering at that size (instead of 0x0 pixels)

@marrub-- marrub-- self-assigned this Sep 27, 2017
@Kyle873 Kyle873 added this to the Semicomplex game architecture milestone Sep 27, 2017
@marrub--
Copy link
Contributor Author

Done in 13ca43c and ebfd13f

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

No branches or pull requests

2 participants