basic blitting implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -274,6 +274,14 @@ struct wxIDirectFBSurface : public wxDfbWrapper<IDirectFBSurface>
|
||||
int x, int y)
|
||||
{ return Check(m_ptr->Blit(m_ptr, source, source_rect, x, y)); }
|
||||
|
||||
bool StretchBlit(const wxIDirectFBSurfacePtr& source,
|
||||
const DFBRectangle *source_rect,
|
||||
const DFBRectangle *dest_rect)
|
||||
{
|
||||
return Check(m_ptr->StretchBlit(m_ptr, source->GetRaw(),
|
||||
source_rect, dest_rect));
|
||||
}
|
||||
|
||||
|
||||
/// Returns bit depth used by the surface or -1 on error
|
||||
int GetDepth();
|
||||
|
Reference in New Issue
Block a user