wxGraphicsContext always is using clipping regions in user coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -896,7 +896,8 @@ wxGDIPlusContext::~wxGDIPlusContext()
|
||||
|
||||
void wxGDIPlusContext::Clip( const wxRegion ®ion )
|
||||
{
|
||||
m_context->SetClip((HRGN)region.GetHRGN(),CombineModeIntersect);
|
||||
Region rgn((HRGN)region.GetHRGN());
|
||||
m_context->SetClip(&rgn,CombineModeIntersect);
|
||||
}
|
||||
|
||||
void wxGDIPlusContext::Clip( wxDouble x, wxDouble y, wxDouble w, wxDouble h )
|
||||
|
Reference in New Issue
Block a user