Draws the specified text using the format information provided by an D2DFont object.
text
String to draw.
font
D2DFont that defines the text format of the string.
brush
Brush that determines the color and texture of the drawn text.
rect
The size and position of the area in which the text is drawn.
This method draws the specified text using the format information provided by an D2DFont.