rect.width = XDEV2LOG(rect.width);
rect.height = YDEV2LOG(rect.height);
- DoSetClippingRegion(rect);
+ DoSetClippingRegion(rect.x, rect.y, rect.width, rect.height);
}
void wxDFBDCImpl::DestroyClippingRegion()
}
extern bool wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y,
- const wxColour & col, int style);
+ const wxColour & col, wxFloodFillStyle style);
bool wxDFBDCImpl::DoFloodFill(wxCoord x, wxCoord y,
- const wxColour& col, int style)
+ const wxColour& col, wxFloodFillStyle style)
{
return wxDoFloodFill(GetOwner(), x, y, col, style);
}
void wxDFBDCImpl::DoDrawPolygon(int WXUNUSED(n), wxPoint WXUNUSED(points)[],
wxCoord WXUNUSED(xoffset), wxCoord WXUNUSED(yoffset),
- int WXUNUSED(fillStyle))
+ wxPolygonFillMode WXUNUSED(fillStyle))
{
wxCHECK_RET( IsOk(), wxT("invalid dc") );
m_backgroundMode = mode;
}
-void wxDFBDCImpl::SetLogicalFunction(int function)
+void wxDFBDCImpl::SetLogicalFunction(wxRasterOperationMode function)
{
wxCHECK_RET( IsOk(), wxT("invalid dc") );
bool wxDFBDCImpl::DoBlit(wxCoord xdest, wxCoord ydest,
wxCoord width, wxCoord height,
wxDC *source, wxCoord xsrc, wxCoord ysrc,
- int rop, bool useMask,
+ wxRasterOperationMode rop, bool useMask,
wxCoord xsrcMask, wxCoord ysrcMask)
{
wxCHECK_MSG( IsOk(), false, "invalid dc" );