);
} // end of wxRegion::wxRegion
-wxRegion::wxRegion(
- const wxPoint& rTopLeft
-, const wxPoint& rBottomRight
-)
+wxRegion::wxRegion(const wxPoint& rTopLeft,
+ const wxPoint& rBottomRight)
{
RECTL vRect;
SIZEL vSize = {0, 0};
);
} // end of wxRegion::wxRegion
-wxRegion::wxRegion(
- const wxRect& rRect
-)
+wxRegion::wxRegion(const wxRect& rRect)
{
RECTL vRect;
SIZEL vSize = {0, 0};
);
} // end of wxRegion::wxRegion
+wxRegion::wxRegion(size_t n, const wxPoint *points, int WXUNUSED(fillStyle))
+{
+ // TO DO
+}
+
//
// Destroy the region.
//
//# Information on region
//-----------------------------------------------------------------------------
-bool wxRegion::DoIsEqual(const wxRegion& region) const
+bool wxRegion::DoIsEqual(const wxRegion& WXUNUSED(region)) const
{
return false;
}
//
// Does the region contain the point pt?
//
-wxRegionContain wxRegion::DoContainsPoint( const wxPoint& rPoint ) const
+wxRegionContain wxRegion::DoContainsPoint( wxCoord x, wxCoord y ) const
{
- POINTL vPoint = { rPoint.x, rPoint.y };
+ POINTL vPoint = { x, y };
if (!m_refData)
return wxOutRegion;
return wxOutRegion;
RECTL vRect;
- vRect.xLeft = r.x;
- vRect.xRight = r.x + r.width;
- vRect.yTop = r.y + r.height;
- vRect.yBottom = r.y;
+ vRect.xLeft = rect.x;
+ vRect.xRight = rect.x + rect.width;
+ vRect.yTop = rect.y + rect.height;
+ vRect.yBottom = rect.y;
LONG lInside = ::GpiRectInRegion( ((wxRegionRefData*)m_refData)->m_hPS,
M_REGION,
case RRGN_ERROR :
default : return wxOutRegion;
}
+
} // end of wxRegion::Contains
//