craftica / explorercanvas

Automatically exported from code.google.com/p/explorercanvas
Apache License 2.0
0 stars 0 forks source link

Gradient Problem in IE with excanvas #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From

https://sourceforge.net/tracker2/?
func=detail&aid=1849342&group_id=163391&atid=827560

i tested the official mozilla canvas tutorial, and this one i tested in IE
with excanvas, but that dont work :/ i cant see the gradient effect :(
http://developer.mozilla.org/samples/canvas-tutorial/4_9_canvas_lineargradi
ent.html

Original issue reported on code.google.com by erik.arv...@gmail.com on 22 Mar 2009 at 12:43

GoogleCodeExporter commented 9 years ago
There are multiple gradient issues:

- Alpha does not work in either linear or radial gradients when used in an
addColorStop, e.g., you cannot fade from opaque black to transparent.
- Linear gradients do not display in the correct direction, e.g.,
horizontal gradients do not work.
- Radial gradients do not appear to actually be radial, and are basically
useless in their current state.

Original comment by erik.arv...@gmail.com on 22 Mar 2009 at 12:44

GoogleCodeExporter commented 9 years ago
Regarding the direction issue, I've discovered that VML seems to treat the 
angle as 
though the area being filled were square. For example, 45° will always go from 
bottom left to top right, regardless of the aspect ratio. What I haven't 
figured out 
is how to convert the given dx and dy into this angle. My trigonometry is way 
too 
rusty. :(

Original comment by JerseyChewi@gmail.com on 2 Feb 2010 at 11:40

GoogleCodeExporter commented 9 years ago
I noticed that this project is some what stagnated, but it would be gread if 
the gradients worked.
I'm using excanvas for some of my projects and gradients is the eye candy that 
i'm lokking for. 
Is there still activity?

Original comment by onhar...@dds.nl on 24 Aug 2010 at 8:29

GoogleCodeExporter commented 9 years ago
I never managed to figure it out but luckily I only needed to go from bottom 
left to top right.

Original comment by JerseyChewi@gmail.com on 24 Aug 2010 at 8:36

GoogleCodeExporter commented 9 years ago
Don't know will this help, but example working with ie8
http://sample.revulo.com/VML/radial-gradient-clip.html

Original comment by firatsar...@gmail.com on 17 Jun 2011 at 10:00

GoogleCodeExporter commented 9 years ago
i am currently trying figuring out a way to enable LinearGradients with the 
proprietary addBehavior method for IE. i hope it works...  

Original comment by isocr...@gmail.com on 6 Jun 2012 at 3:42