Make text printed by wxGraphicsContext shorter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -247,7 +247,7 @@ void MyApp::Draw(wxDC&dc)
|
|||||||
gc->StrokePath(path);
|
gc->StrokePath(path);
|
||||||
|
|
||||||
// draw some text
|
// draw some text
|
||||||
wxString text("This text is drawn by wxGraphicsContext");
|
wxString text("Text by wxGraphicsContext");
|
||||||
gc->SetFont( m_testFont, *wxBLUE );
|
gc->SetFont( m_testFont, *wxBLUE );
|
||||||
gc->DrawText(text, 50.0, 50.0);
|
gc->DrawText(text, 50.0, 50.0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user