Hello Everyone, In the last two posts, we have learned how to display text and display images using the emWin framework under a simulated environment using Code::Blocks. If you have not seen those blog posts, I would recommend you first have a look at them.
Getting Started with emWin using Code::Blocks
Draw Bitmap Images using emWin
Now in this blog post, I will show you to use some other basic 2D APIs to draw some basic 2D shapes, such as rectangle, triangle, polygon, ellipse, pie chart, etc.
The following is the complete Code::Blocks program, also watch the video given below to view how the complete program runs.
Getting Started with emWin using Code::Blocks
Draw Bitmap Images using emWin
Now in this blog post, I will show you to use some other basic 2D APIs to draw some basic 2D shapes, such as rectangle, triangle, polygon, ellipse, pie chart, etc.
Basic 2D Shapes
- Draw horizontal and vertical Gradients
- Draw rectangles
- Change Pen Size
Draw Circles
Draw Ellipses
Draw Polygon
Draw Pie Chart
Draw Line Graph
Draw Bitmap Images
There is a separate blog post to draw bitmap images on the display, click here to read the blog post link.The following is the complete Code::Blocks program, also watch the video given below to view how the complete program runs.
No comments:
Post a Comment