]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/graphicc.cpp
Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
[wxWidgets.git] / src / generic / graphicc.cpp
index b83475e66368c3b36a4dafcc82628150ccb9043c..e0281739250c07d180bbfd9764d1d00ebc7072a4 100755 (executable)
@@ -688,6 +688,8 @@ void wxCairoBrush::Init()
 // wxCairoFont implementation
 //-----------------------------------------------------------------------------
 
+IMPLEMENT_DYNAMIC_CLASS(wxCairoFont,wxGraphicsFont)
+
 wxCairoFont::wxCairoFont() : wxGraphicsFont(NULL)
 {
     wxLogDebug(wxT("Illegal Constructor called"));
@@ -725,6 +727,8 @@ void wxCairoFont::Apply( wxGraphicsContext* context )
 // wxCairoPath implementation
 //-----------------------------------------------------------------------------
 
+IMPLEMENT_DYNAMIC_CLASS(wxCairoPath,wxGraphicsPath)
+
 wxCairoPath::wxCairoPath() : wxGraphicsPath(NULL)
 {
     wxLogDebug(wxT("Illegal Constructor called"));
@@ -787,6 +791,11 @@ void wxCairoPath::AddLineToPoint( wxDouble x , wxDouble y )
     cairo_line_to(m_pathContext,x,y);
 }
 
+void wxCairoPath::AddPath( const wxGraphicsPath* path )
+{
+    // TODO
+}
+
 void wxCairoPath::CloseSubpath()
 {
     cairo_close_path(m_pathContext);