Implement setTransform for CanvasGradient

NEW
Unassigned

Status

()

5 years ago
5 years ago

People

(Reporter: mbx, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Identical use case as bug 1019257 but for gradient fills this time.
(Reporter)

Updated

5 years ago
Whiteboard: [Shumway:P1]
At least for Shumway, this isn't actually that important for gradients: By transforming the coordinates given to the create*Gradient method on the context2D, the transform can be fully applied, afaict:
https://github.com/mozilla/shumway/blob/4af81a9678f92cdf7a8b7492a6acf2ce40417bcb/src/gfx/renderables.ts#L503

I guess that's also the reason why setTransform isn't specified on CanvasGradient.
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [Shumway:P1]
You need to log in before you can comment on or make changes to this bug.