Do not offset coordinates in case of filling
This commit is contained in:
parent
a6ba2245ef
commit
62052e365e
@ -2459,7 +2459,6 @@ void wxCairoContext::DrawRectangle( wxDouble x, wxDouble y, wxDouble w, wxDouble
|
||||
{
|
||||
if ( !m_brush.IsNull() )
|
||||
{
|
||||
wxCairoOffsetHelper helper( m_context, ShouldOffset() ) ;
|
||||
((wxCairoBrushData*)m_brush.GetRefData())->Apply(this);
|
||||
cairo_rectangle(m_context, x, y, w, h);
|
||||
cairo_fill(m_context);
|
||||
|
Loading…
Reference in New Issue
Block a user