Closed Bug 1082530 Opened 10 years ago Closed 10 years ago

Make Moz2D's UserToDevicePixelSnapped honor disabling of pixel snapping and scale ignoring as gfxContext::UserToDevicePixelSnapped does

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(5 files)

See bug 989858 comment 25 - comment 27.

Bug 989858 part 6 replaced a call to gfxContext::UserToDevicePixelSnapped() with a call to the new Moz2D helper of the same name. These functions aren't equivalent though since the Moz2D version doesn't (isn't able to) check for the presence of the FLAG_DISABLE_SNAPPING flag. The Moz2D variant also doesn't have an ignoreScale argument, so the converted caller has changed in that regard too.
Attachment #8504678 - Flags: review?(matt.woodrow)
Attachment #8504678 - Flags: review?(matt.woodrow) → review+
Attachment #8504679 - Flags: review?(matt.woodrow) → review+
Attachment #8504681 - Flags: review?(matt.woodrow) → review+
Attachment #8504683 - Flags: review?(matt.woodrow) → review+
Attachment #8504684 - Flags: review?(matt.woodrow) → review+
Depends on: 1091677
You need to log in before you can comment on or make changes to this bug.