Re: [whatwg] Canvas draw quality

2007-05-11 Thread Ian Hickson
On Sat, 21 Oct 2006, Alfonso Baqueiro wrote: > > I wrote this little page to try the canvas > > http://guia.sytes.net/notas/javascript/biorritmos.html > > Is interesting that the drawed vertical 1px width black lines appear as > 2px width gray lines (in firefox) I suposse that is a colateral eff

Re: [whatwg] Canvas draw quality

2006-10-21 Thread Eugene Lazutkin
Andrew Fedoniouk wrote: > > I doubt that someone will need to switch it in the middle of drawing so > having such switch as an attribute is redundant. It may make sense to do so for performance reasons. E.g., if someone wants to draw a polygon with a border, it makes sense to fill the polygon wi

Re: [whatwg] Canvas draw quality

2006-10-21 Thread Andrew Fedoniouk
lt;[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, October 20, 2006 11:40 PM Subject: Re: [whatwg] Canvas draw quality On Sat, 21 Oct 2006, Benjamin Joffe wrote: I would like to see a property added to the 2d canvas context that would allow quality to be lowered for drawing

Re: [whatwg] Canvas draw quality

2006-10-21 Thread Andrew Fedoniouk
ality"/"speed") if this really needed at all. Andrew Fedoniouk. - Original Message - From: "Alfonso Baqueiro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 21, 2006 1:48 AM Subject: Re: [whatwg] Canvas draw quality I wrot

Re: [whatwg] Canvas draw quality

2006-10-21 Thread Michel Fortin
Le 21 oct. 2006 à 4:48, Alfonso Baqueiro a écrit : I wrote this little page to try the canvas http://guia.sytes.net/notas/javascript/biorritmos.html Is interesting that the drawed vertical 1px width black lines appear as 2px width gray lines (in firefox) I suposse that is a colateral effect ca

Re: [whatwg] Canvas draw quality

2006-10-21 Thread Alfonso Baqueiro
I wrote this little page to try the canvas http://guia.sytes.net/notas/javascript/biorritmos.html Is interesting that the drawed vertical 1px width black lines appear as 2px width gray lines (in firefox) I suposse that is a colateral effect caused by the antialiasing, so this simple case makes e

Re: [whatwg] Canvas draw quality

2006-10-20 Thread Ian Hickson
On Sat, 21 Oct 2006, Benjamin Joffe wrote: > > I would like to see a property added to the 2d canvas context that would > allow quality to be lowered for drawing functions. Normally any time a > shape is drawn, pixels close to the boundary are made semi transparent > to make it look smooth, this

Re: [whatwg] Canvas draw quality

2006-10-20 Thread David Hyatt
Except with something like canvas, people are going to care about the precise pixel-level details of the rendering.  We can't handwave these details away using vague terminology like low-quality or high-quality, where the user agent is free to decide what those terms mean.  If we do that, then we r

Re: [whatwg] Canvas draw quality

2006-10-20 Thread Andrew Fedoniouk
, October 20, 2006 10:12 PM Subject: Re: [whatwg] Canvas draw quality I don't think a totally different context is a good idea.  Sometimes you want to mix antialiased and non-antialiased modes. The API in CG is part of the graphics state... CGContextSetShouldAntialias

Re: [whatwg] Canvas draw quality

2006-10-20 Thread David Hyatt
I don't think a totally different context is a good idea.  Sometimes you want to mix antialiased and non-antialiased modes.The API in CG is part of the graphics state...CGContextSetShouldAntialiasI don't think an API like this should be vague about what it's doing... e.g., just using vague terms li

Re: [whatwg] Canvas draw quality

2006-10-20 Thread Andrew Fedoniouk
  - Original Message - From: Benjamin Joffe To: [EMAIL PROTECTED] Sent: Friday, October 20, 2006 9:09 PM Subject: [whatwg] Canvas draw quality I would like to see a property added to the 2d canvas context that would allow quality to be lowered for

[whatwg] Canvas draw quality

2006-10-20 Thread Benjamin Joffe
I would like to see a property added to the 2d canvas context that would allow quality to be lowered for drawing functions. Normally any time a shape is drawn, pixels close to the boundary are made semi transparent to make it look smooth, this is usually favourable but I have had a need to draw sha