}
}
+void * wxGraphicsBitmap::GetNativeBitmap() const
+{
+ return GetBitmapData()->GetNativeBitmap();
+}
+
//-----------------------------------------------------------------------------
// wxGraphicsContext Convenience Methods
//-----------------------------------------------------------------------------
);
}
-// sets the font
wxGraphicsFont wxGraphicsContext::CreateFont( const wxFont &font , const wxColour &col ) const
{
return GetRenderer()->CreateFont(font,col);
}
+wxGraphicsFont
+wxGraphicsContext::CreateFont(double size,
+ const wxString& facename,
+ int flags,
+ const wxColour& col) const
+{
+ return GetRenderer()->CreateFont(size, facename, flags, col);
+}
+
wxGraphicsBitmap wxGraphicsContext::CreateBitmap( const wxBitmap& bmp ) const
{
return GetRenderer()->CreateBitmap(bmp);