Open Bug 1303737 Opened 8 years ago Updated 2 years ago

Audit uses of IntSize/IntPoint/IntRect::Truncate and see where other rounding methods are more appropriate

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

People

(Reporter: nical, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

This is a followup from bug 1284837. The idea is that truncating the fractional part of a floating point number doesn't always make sense from a geometrical point of view, in particular for negative values near zero. We should look into the different places we use the ::Truncate constructors (which were implicit conversions before bug 1284837) and see if other rounding methods make more sense.
See Also: → 1284837
Whiteboard: [gfx-noted]
Has STR: --- → irrelevant
Keywords: feature
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.