Graphics
Refresh Screen Examples*
House Drawing
The following code shows examples of using Refresh Screen to show how double buffering works.
Output:
Draw Bitmap Examples*
Basic Bitmap Drawing
The following code shows an example of using Draw Bitmap to display a Bitmap image of the SplashKit logo in a graphics Window.
Output:
Fill Triangle Examples*
Simple Red Triangle
The following code demonstrates how to use the Fill Triangle function to draw a simple red-colored filled triangle. It creates a triangle with specified coordinates and fills it with red color.
Output:
Fill Triangle On Bitmap Examples*
Fill Triangle on Bitmap
The following code shows an example of using the Fill Triangle On Bitmap function to draw a red triangle on a loaded bitmap.
Output: