wxCairoGraphics need a font event without drawing text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -417,6 +417,7 @@ void MyFrame::Draw(wxDC& dc)
|
||||
{
|
||||
// make a path that contains a circle and some lines, centered at 100,100
|
||||
gc->SetPen( *wxRED_PEN );
|
||||
gc->SetFont( wxGetApp().m_testFont, *wxGREEN );
|
||||
wxGraphicsPath path = gc->CreatePath();
|
||||
path.AddCircle( 50.0, 50.0, 50.0 );
|
||||
path.MoveToPoint(0.0, 50.0);
|
||||
|
Reference in New Issue
Block a user