I think that the best way is just to define
different values for the context ID: DOMObject getContext(in DOMString contextID); Something like "2D" and "2D-fast" or
"2D-simple".
Another option would be to add one optional
parameter to the getContext() function.
I doubt that someone will need to switch it in the
middle of drawing so
having such switch as an attribute is
redundant.
Andrew Fedoniouk.
|
- [whatwg] Canvas draw quality Benjamin Joffe
- Re: [whatwg] Canvas draw quality Andrew Fedoniouk
- Re: [whatwg] Canvas draw quality David Hyatt
- Re: [whatwg] Canvas draw quality Andrew Fedoniouk
- Re: [whatwg] Canvas draw quality David Hyatt
- Re: [whatwg] Canvas draw quality Ian Hickson
- Re: [whatwg] Canvas draw qualit... Alfonso Baqueiro
- Re: [whatwg] Canvas draw qu... Michel Fortin
- Re: [whatwg] Canvas draw qu... Andrew Fedoniouk
- Re: [whatwg] Canvas draw qualit... Andrew Fedoniouk
- Re: [whatwg] Canvas draw quality Eugene Lazutkin
