Rotated text patch from Hans-Joachim Baader (with some corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -278,6 +278,9 @@ void MyCanvas::OnPaint(wxPaintEvent &WXUNUSED(event))
|
||||
|
||||
dc.DrawText( "This is text", 110, 10 );
|
||||
|
||||
dc.DrawRotatedText( "+90 rotated text", 30, 30, 90 );
|
||||
dc.DrawRotatedText( "-90 rotated text", 30, 30, -90 );
|
||||
|
||||
dc.SetFont( wxFont( 18, wxSWISS, wxNORMAL, wxNORMAL ) );
|
||||
|
||||
dc.DrawText( "This is Swiss 18pt text.", 110, 40 );
|
||||
|
Reference in New Issue
Block a user