Added support for DrawEllipse and pen styles to
GNOME printing. Added test. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,9 +33,13 @@ class MyFrame: public wxFrame
|
||||
{
|
||||
public:
|
||||
MyCanvas *canvas;
|
||||
wxBitmap m_bitmap;
|
||||
int m_angle;
|
||||
MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size);
|
||||
|
||||
void Draw(wxDC& dc);
|
||||
void OnAngleUp(wxCommandEvent& event);
|
||||
void OnAngleDown(wxCommandEvent& event);
|
||||
|
||||
void OnSize(wxSizeEvent& event);
|
||||
void OnPrint(wxCommandEvent& event);
|
||||
@@ -89,3 +93,5 @@ class MyPrintout: public wxPrintout
|
||||
|
||||
#define WXPRINT_ABOUT 109
|
||||
|
||||
#define WXPRINT_ANGLEUP 110
|
||||
#define WXPRINT_ANGLEDOWN 111
|
||||
|
Reference in New Issue
Block a user