Closed
Bug 746588
Opened 13 years ago
Closed 13 years ago
[Azure] Cairo-pattern matrices specify the conversion from DrawTarget to pattern but Azure is inverted
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: gw280, Assigned: gw280)
References
Details
Attachments
(1 file)
774 bytes,
patch
|
jrmuizel
:
review+
akeybl
:
approval-mozilla-central+
|
Details | Diff | Splinter Review |
Matrices in Azure specify the conversion from pattern to DT space; we do not handle this in gfxPattern.cpp in SetMatrix()
Comment 2•13 years ago
|
||
Comment on attachment 616152 [details] [diff] [review]
invert the matrix in SetMatrix
Review of attachment 616152 [details] [diff] [review]:
-----------------------------------------------------------------
Does this affect D2D?
Comment 3•13 years ago
|
||
Comment on attachment 616152 [details] [diff] [review]
invert the matrix in SetMatrix
Review of attachment 616152 [details] [diff] [review]:
-----------------------------------------------------------------
Does this affect D2D?
Attachment #616152 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #616152 -
Flags: approval-mozilla-central?
Comment 4•13 years ago
|
||
Comment on attachment 616152 [details] [diff] [review]
invert the matrix in SetMatrix
Review of attachment 616152 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/gfxPattern.cpp
@@ +134,5 @@
> mTransform = ToMatrix(matrix);
> + // Cairo-pattern matrices specify the conversion from DrawTarget to pattern
> + // space. Azure pattern matrices specify the conversion from pattern to
> + // DrawTarget space.
> + mTransform.Invert();
should this be azure only then?
Assignee | ||
Comment 5•13 years ago
|
||
Yes, this only affects azure for content drawing with basic layers.
Comment 6•13 years ago
|
||
Comment on attachment 616152 [details] [diff] [review]
invert the matrix in SetMatrix
[Triage Comment]
Desktop only, approved for central.
Attachment #616152 -
Flags: approval-mozilla-central? → approval-mozilla-central+
Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Assignee: nobody → gwright
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in
before you can comment on or make changes to this bug.
Description
•