Add usage example for draw_rectangle_on_bitmap#730
Open
jasveena15 wants to merge 7 commits intothoth-tech:mainfrom
Open
Add usage example for draw_rectangle_on_bitmap#730jasveena15 wants to merge 7 commits intothoth-tech:mainfrom
jasveena15 wants to merge 7 commits intothoth-tech:mainfrom
Conversation
❌ Deploy Preview for splashkit failed.
|
Sparsh300
reviewed
Apr 15, 2026
Sparsh300
left a comment
There was a problem hiding this comment.
Looks good overall. Please just confirm whether the filenames should use the standard -example naming instead of -basic as per CONTRIBUTING.mdx.
…itmap-1-example-oop.cs
…e_on_bitmap-1-example-top-level.cs
Author
i guess it was just overlooked , i have renamed the files anyways , thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds a new usage example for the
draw_rectangle_on_bitmapfunction.The example shows how to draw rectangles onto a bitmap first and then display that bitmap in a window. This helps demonstrate the difference between drawing to an off-screen bitmap and drawing directly to the screen.
Type of change
How Has This Been Tested?
The example was tested locally in all required languages:
The output was verified to ensure:
Reproduction steps:
public/usage-examples/graphics/npm run devdraw_rectangle_on_bitmapAPI pageTesting Checklist
Checklist
If involving code
If modified config files
Folders and Files Added/Modified
Added:
Modified:
Additional Notes
This example was designed to be beginner-friendly and visually clear for usage example readers. It focuses on a simple representative overload of
draw_rectangle_on_bitmapusingx,y,width, andheight.