Contents Up << >>

### wxSVGFileDC::DrawText

void DrawText(const wxString& text, wxCoord x, wxCoord y)

Draws a text string at the specified point, using the current text font, and the current text foreground and background colours.

The coordinates refer to the top-left corner of the rectangle bounding the string. See wxSVGFileDC::GetTextExtent (REF NOT FOUND) for how to get the dimensions of a text string, which can be used to position the text more precisely.