mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTGDI] Follow-up of #4137
Revert AddPenLinesBounds. Delete FIXME comments. CORE-2527, CORE-8366
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user