mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 11:21:59 +00:00
- Fix order of calls in IntGdiPolygon. Check for PATH first.
svn path=/trunk/; revision=36650
This commit is contained in:
parent
1007f26da6
commit
dc649db4d4
1 changed files with 5 additions and 5 deletions
|
@ -539,6 +539,11 @@ IntRectangle(PDC dc,
|
|||
Dc_Attr = dc->pDc_Attr;
|
||||
if(!Dc_Attr) Dc_Attr = &dc->Dc_Attr;
|
||||
|
||||
if ( PATH_IsPathOpen(dc->DcLevel) )
|
||||
{
|
||||
return PATH_Rectangle ( dc, LeftRect, TopRect, RightRect, BottomRect );
|
||||
}
|
||||
|
||||
/* Do we rotate or shear? */
|
||||
if (!(dc->DcLevel.mxWorldToDevice.flAccel & MX_SCALE))
|
||||
{
|
||||
|
@ -550,11 +555,6 @@ IntRectangle(PDC dc,
|
|||
return IntGdiPolygon(dc, DestCoords, 4);
|
||||
}
|
||||
|
||||
if ( PATH_IsPathOpen(dc->DcLevel) )
|
||||
{
|
||||
return PATH_Rectangle ( dc, LeftRect, TopRect, RightRect, BottomRect );
|
||||
}
|
||||
|
||||
DestRect.left = LeftRect;
|
||||
DestRect.right = RightRect;
|
||||
DestRect.top = TopRect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue