- void GetClippingBox(wxCoord *WXUNUSED(x), wxCoord *WXUNUSED(y), wxCoord * WXUNUSED(width), wxCoord * WXUNUSED(height))
- { wxASSERT_MSG (false, wxT("wxSVGFILEDC::GetClippingBox not implemented")); return ; }
-
- void SetLogicalFunction(int WXUNUSED(function))
- { wxASSERT_MSG (false, wxT("wxSVGFILEDC::SetLogicalFunction Call not implemented")); return ; }
-
- int GetLogicalFunction() const
- { wxASSERT_MSG (false, wxT("wxSVGFILEDC::GetLogicalFunction() not implemented")); return wxCOPY ; }
-
- void SetBackground( const wxBrush &brush ) ;
- void SetBackgroundMode( int mode ) ;
- void SetBrush(const wxBrush& brush) ;
- void SetFont(const wxFont& font) ;
- void SetPen(const wxPen& pen) ;
-
- bool IsOk() const {return m_OK;}
-
- virtual wxCoord DeviceToLogicalX(wxCoord x) const;
- virtual wxCoord DeviceToLogicalY(wxCoord y) const;
- virtual wxCoord DeviceToLogicalXRel(wxCoord x) const;
- virtual wxCoord DeviceToLogicalYRel(wxCoord y) const;
- virtual wxCoord LogicalToDeviceX(wxCoord x) const;
- virtual wxCoord LogicalToDeviceY(wxCoord y) const;
- virtual wxCoord LogicalToDeviceXRel(wxCoord x) const;
- virtual wxCoord LogicalToDeviceYRel(wxCoord y) const ;
+ virtual ~wxSVGFileDC();
+
+ virtual bool CanDrawBitmap() const { return true; }
+ virtual bool CanGetTextExtent() const { return true; }
+
+ virtual int GetDepth() const
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::GetDepth Call not implemented"));
+ return -1;
+ }
+
+ virtual void Clear()
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::Clear() Call not implemented \nNot sensible for an output file?"));
+ }
+
+ virtual void DestroyClippingRegion()
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::void Call not yet implemented"));
+ }
+
+ virtual wxCoord GetCharHeight() const;
+ virtual wxCoord GetCharWidth() const;
+
+ virtual void SetClippingRegion(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y),
+ wxCoord WXUNUSED(w), wxCoord WXUNUSED(h))
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::SetClippingRegion not implemented"));
+ }
+
+ virtual void SetPalette(const wxPalette& WXUNUSED(palette))
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::SetPalette not implemented"));
+ }
+
+ virtual void GetClippingBox(wxCoord *WXUNUSED(x), wxCoord *WXUNUSED(y),
+ wxCoord *WXUNUSED(w), wxCoord *WXUNUSED(h))
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::GetClippingBox not implemented"));
+ }
+
+ virtual void SetLogicalFunction(int WXUNUSED(function))
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::SetLogicalFunction Call not implemented"));
+ }
+
+ virtual int GetLogicalFunction() const
+ {
+ wxFAIL_MSG(wxT("wxSVGFILEDC::GetLogicalFunction() not implemented"));
+ return -1;
+ }
+
+ virtual void SetBackground( const wxBrush &brush );
+ virtual void SetBackgroundMode( int mode );
+ virtual void SetBrush(const wxBrush& brush);
+ virtual void SetFont(const wxFont& font);
+ virtual void SetPen(const wxPen& pen);
+
+ virtual bool IsOk() const {return m_OK;}