Closed
Bug 347379
Opened 18 years ago
Closed 18 years ago
drawImage clipped to current path
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: philip, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
1015 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b1) Gecko/20060804 BonEcho/2.0b1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b1) Gecko/20060804 BonEcho/2.0b1 When drawImage is called while a non-empty path exists, the altered region of the canvas is clipped to that path instead of to the destination rectangle. This seems to happen regardless of any scaling. It still occurs when compiled with the patch in bug 346421. Reproducible: Always Steps to Reproduce: 1. See test case. 2. 3. Actual Results: The first image is drawn in the correct position, but clipped to the green rectangle instead of being the specified 64x64 pixels. The second and third images are drawn correctly as 64x64 (presumably because the first drawImage clobbers the path, as in bug 296904). Expected Results: The three images should look the same.
Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
This is not something that has regressed at least. I see the the same picture also with the 1.8.0.6 build.
Should be fixed by the patch for bug 346421 (the trunk one is in, branch patch going in shortly).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•18 years ago
|
||
Thanks - works for me in the 1.8 branch now.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•