Closed
Bug 357761
Opened 19 years ago
Closed 19 years ago
tiled image drawing somewhat broken
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
References
Details
Attachments
(1 file)
|
11.53 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
nsThebesImage::DrawTile currently transforms the destination image rect into the CTM's space, and then resets the CTM before drawing. This has the unfortunate side effect of always tiling untransformed images; thus under <xul:transform> or <svg:foreignObject>, background images are rendered at the wrong scale.
DrawTile with Thebes also breaks bug 113561, where a piece of the GIF image is to be rendered that's smaller than the actual containing canvas. We're tiling just the small frame size, and not the actual container size.
| Assignee | ||
Updated•19 years ago
|
Summary: tiled image drawing mostly broken → tiled image drawing somewhat broken
| Assignee | ||
Comment 1•19 years ago
|
||
... and call it ThebesDrawTile, so we can have a different signature. Nothing else in the tree uses DrawTile, and I'd like to deprecate those APIs (and even get rid of them) for 1.9 to simplify the entire gfx stack. (Getting rid of most XPCOM in the gfx stack would be a worthy and achievable goal for 1.9, I think.)
This fixes the regression of bug 113561. It /may/ re-introduce an issue on linux with broken X servers and the REPEAT render mode.
Attachment #243669 -
Flags: review?(pavlov)
Updated•19 years ago
|
Attachment #243669 -
Flags: review?(pavlov) → review+
| Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Depends on: 359002
You need to log in
before you can comment on or make changes to this bug.
Description
•