Summary: | cairo_pattern_create_radial(rx,ry,r,rx,ry,r) not working | ||
---|---|---|---|
Product: | cairo | Reporter: | guo <guolingy> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED NOTABUG | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | blocker | ||
Priority: | highest | Keywords: | regression |
Version: | 1.10.3 | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Result I excepted |
Description
guo
2011-03-29 19:15:25 UTC
Can you provide additional details about what is not working? In particular, the backend you are using, the cairo revision and the result vs the expected result. The expected result for a degenerate radial gradient like the one you are describing should be a transparent pattern. Created attachment 45035 [details]
Result I excepted
To get that result, the two extreme circles shoud *not* be the same. The documentation is quite lacking, but you can find the definition of the radial gradients here: http://cgit.freedesktop.org/pixman/tree/pixman/pixman-radial-gradient.c#n151 You probably wanted to do something like cairo_pattern_create_radial(rx,ry,r,rx,ry,0). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.