mirror of
https://github.com/reactos/reactos.git
synced 2024-06-21 05:21:31 +00:00
[NTGDI] Follow-up of #4137
Revert AddPenLinesBounds. Delete FIXME comments. CORE-2527, CORE-8366
This commit is contained in:
parent
3d8d88eaf9
commit
4a17d4b0c1
|
@ -137,8 +137,6 @@ IntGdiPolygon(PDC dc,
|
|||
PATH_UnlockPath(pPath);
|
||||
PATH_Delete(dc->dclevel.hPath);
|
||||
dc->dclevel.hPath = NULL;
|
||||
|
||||
/* FIXME: Boundary */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -695,8 +693,6 @@ IntRectangle(PDC dc,
|
|||
PATH_UnlockPath(pPath);
|
||||
PATH_Delete(dc->dclevel.hPath);
|
||||
dc->dclevel.hPath = NULL;
|
||||
|
||||
/* FIXME: Boundary */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ AddPenLinesBounds(PDC dc, int count, POINT *points)
|
|||
bounds.left = bounds.top = INT_MAX;
|
||||
bounds.right = bounds.bottom = INT_MIN;
|
||||
|
||||
if (IntIsEffectiveWidePen(pbrLine))
|
||||
if (((pbrLine->ulPenStyle & PS_TYPE_MASK) & PS_GEOMETRIC) || pbrLine->lWidth > 1)
|
||||
{
|
||||
/* Windows uses some heuristics to estimate the distance from the point that will be painted */
|
||||
lWidth = pbrLine->lWidth + 2;
|
||||
|
@ -230,8 +230,6 @@ IntGdiLineTo(DC *dc,
|
|||
PATH_UnlockPath(pPath);
|
||||
PATH_Delete(dc->dclevel.hPath);
|
||||
dc->dclevel.hPath = NULL;
|
||||
|
||||
/* FIXME: Boundary */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -398,8 +396,6 @@ IntGdiPolyline(DC *dc,
|
|||
PATH_UnlockPath(pPath);
|
||||
PATH_Delete(dc->dclevel.hPath);
|
||||
dc->dclevel.hPath = NULL;
|
||||
|
||||
/* FIXME: Boundary */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue