#ifndef __gprint_H__
#define __gprint_H__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
// Include wxWindows' headers
-#ifndef WX_PRECOMP
- #include <wx/wx.h>
-#endif
+#include "wx/defs.h"
#if wxUSE_LIBGNOMEPRINT
#include "wx/print.h"
-#include "wx/prntbase.h"
#include "wx/printdlg.h"
+#include "wx/dc.h"
typedef struct _GnomePrintJob GnomePrintJob;
typedef struct _GnomePrintContext GnomePrintContext;
wxGnomePrintDialog( wxWindow *parent,
wxPrintDialogData* data = NULL );
wxGnomePrintDialog( wxWindow *parent, wxPrintData* data);
- ~wxGnomePrintDialog();
+ virtual ~wxGnomePrintDialog();
wxPrintData& GetPrintData()
{ return m_printDialogData.GetPrintData(); }
public:
wxGnomePageSetupDialog( wxWindow *parent,
wxPageSetupDialogData* data = NULL );
- ~wxGnomePageSetupDialog();
+ virtual ~wxGnomePageSetupDialog();
virtual wxPageSetupDialogData& GetPageSetupDialogData();
{
public:
wxGnomePrintDC( wxGnomePrinter *printer );
- ~wxGnomePrintDC();
+ virtual ~wxGnomePrintDC();
bool Ok() const;
- virtual void BeginDrawing() {}
- virtual void EndDrawing() {}
-
bool DoFloodFill(wxCoord x1, wxCoord y1, const wxColour &col, int style=wxFLOOD_SURFACE );
bool DoGetPixel(wxCoord x1, wxCoord y1, wxColour *col) const;
void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2);
wxGnomePrinter *m_printer;
GnomePrintContext *m_gpc;
+ void makeEllipticalPath(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
+
private:
wxCoord XDEV2LOG(wxCoord x) const
{