Game Development Reference
In-Depth Information
Our blue rectangle with a red border
As you might guess, there is a lot more you can do with drawing geometry. You can
draw curved line segments and draw shapes with gradient brushes too for example.
You can also draw text on the screen using the render target's DrawText() meth-
od. But since we have limited space on these pages, we're going to look at how to
draw bitmap images on the screen. These images are something that makes up the
graphics of most 2D games.
Search WWH ::




Custom Search