During the requirements analysis, we have identified a number of attributes that are user-customizable. Obviously, users must enter the text to be rendered in addition to selecting font, color, and orientation. The easiest way to collect all this information is through a Windows Form. This form can combine all inputs for the 3D text feature by providing controls for text, font, color, positions, and rotation. Figure 9.1 shows the desired layout for this form.
Figure 9.1. 3D Text Form
.NET provides access to Windows common dialogs for selecting a font and picking a color. These dialogs, shown in Figure 9.2, can be invoked by pressing the corresponding button on the 3D text form.
Figure 9.2. Font (Top) and Color Picker Forms
Introducing Software Engineering
A .NET Prototype
The Photo Editor Application
GDI+ Graphics Extensions
Advanced GDI+ Operations
Dynamic Loading of Components
Accessing System Resources
Performance Optimization, Multithreading, and Profiling
Building the Web Application with ASP.NET
Security and Database Access