Forward port wxGraphicsBitmap cairo implementation, and fix the credit info in measuring.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-06-20 23:33:55 +00:00
parent 015d04462f
commit 2fc9c1ea77
4 changed files with 138 additions and 104 deletions

View File

@@ -781,20 +781,12 @@ wxGraphicsFont wxGraphicsContext::CreateFont( const wxFont &font , const wxColou
wxGraphicsBitmap wxGraphicsContext::CreateBitmap( const wxBitmap& bmp ) const
{
#ifndef __WXGTK20__
return GetRenderer()->CreateBitmap(bmp);
#else
return wxNullGraphicsBitmap;
#endif
}
wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp, wxDouble x, wxDouble y, wxDouble w, wxDouble h ) const
{
#ifndef __WXGTK20__
return GetRenderer()->CreateSubBitmap(bmp,x,y,w,h);
#else
return wxNullGraphicsBitmap;
#endif
}
/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)