Usage Example - Load Font Size#321
Usage Example - Load Font Size#321rmachu wants to merge 39 commits intothoth-tech:usage-examplesfrom
Conversation
✅ Deploy Preview for splashkit-usage-examples ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
I have reviewed this PR and I approve this. There is a small typo in your description for the function names (swapped font and load) but the main content of this PR is all good :)
Describe the example and what it demonstrates.
Splashkit Functions: font_load_size and font_load_size_name_as_string
Checks
- All required files are present.
- Title and explanation (.txt)
- C++ code
- C# code (top-level statements)
- C# code (Object-Oriented Programming)
- Python code
- Code correctly uses Splashkit functions.
- Code clearly demonstrates the function.
- All versions maintain the same structure and comments.
Tests done
- C++ code ran correctly.
- C# top level code ran correctly.
- C# OOP code ran correctly.
- Python code ran correctly.
huyhuynh2319
left a comment
There was a problem hiding this comment.
I've reviewed the usage examples. Everything ran without issue.
Checks
- All required files are present.
- Title and explanation (.txt)
- C++ code
- C# code (top-level statements)
- C# code (Object-Oriented Programming)
- Python code
Tests done
- C++ code ran correctly.
- C# top level code ran correctly.
- C# OOP code ran correctly.
- Python code ran correctly.
…arlight into add/beyond-splashkit
|
Good try with these, but upon further inspection, I can't actually see a useful "use case" for these functions as other graphics functions take a size parameter when using a font. Combined with the large amount of excess files, I will close this PR. |
This is a usage example of the function load font size and load font size with name as string. The program loads font size 20 then prompts the user to enter a number and validates if the input equals to the size.
Splashkit Functions:
Load_font_sizeand 'Load_font_size_name_as_string'