WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
51521
Make ContextShadow work with the canvas coordinate system
https://bugs.webkit.org/show_bug.cgi?id=51521
Summary
Make ContextShadow work with the canvas coordinate system
Helder Correia
Reported
2010-12-22 21:47:06 PST
Investigate how to adapt to the canvas coordinate system (Y-axis positive towards the North) inside ContextShadow.
Attachments
Add attachment
proposed patch, testcase, etc.
Helder Correia
Comment 1
2010-12-22 22:33:43 PST
Please ignore the Description comment. The goal is to investigate how to make ContextShadow work on top of the canvas coordinate system, i.e. in the limit the layer would be the same size of the canvas.
Dirk Schulze
Comment 2
2011-01-16 14:01:12 PST
(In reply to
comment #1
)
> Please ignore the Description comment. > The goal is to investigate how to make ContextShadow work on top of the canvas coordinate system, i.e. in the limit the layer would be the same size of the canvas.
Can you discribe what you plan to do a bit further? ContextShadow should be as independent of any coordinate system as possible to reuse the code for CSS, Canvas and SVGFitler.
Ariya Hidayat
Comment 3
2011-01-17 10:45:05 PST
ContextShadow should not know about the coordinate system. This is the case right now because it wants to take into account that shadow on Canvas does not follow the Context2D's transformation. The code will be much cleaner if, inside the Canvas/Context2D logic, we apply the shadow on the buffer at the Canvas coordinate system. It's like rasterizing the shape onto the Canvas buffer.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug