[cairo] Presentation and feature request

Adrian Johnson ajohnson at redneon.com
Sat Sep 12 02:09:06 PDT 2015


On 12/09/15 16:43, Jabier Arraiza wrote:
> Hi adrian. Thanks for your help. In my last review to cairo, change a
> knot color is removed whith a function whithout color parameter. But im
> not a cairo expert. Also a mesh gradient has sometimes a lot of
> information to the user and think change individual/patch knot color is
> the best UX design. If you know a method to change the knot color please
> tell me the name. Thanks for your review, Jabiertxo

The only colors that can be changed in a mesh gradient are the patch
corner colors using the cairo_mesh_pattern_set_corner_color_rgb/rgba
functions as described here:

http://www.cairographics.org/manual/cairo-cairo-pattern-t.html

Cairo doesn't provide a user interface. Any user interface for
manipulating mesh gradients needs to be implemented in Inkscape.


> El 12 de septiembre de 2015 04:05:57 CEST, Adrian Johnson
> <ajohnson at redneon.com> escribió:
> 
>     On 09/09/15 23:01, Jabier Arraiza wrote:
> 
>         Hi to all. Im new in the list, my name is Jabier/Jabiertxof I`m from
>         Pamplona and currently work on Inkscape in some LPE.
> 
>         I want to ask for a feature request about gradient meshes
>         introduced in
>         inkscape by Tavmjong Bah for the 0.92 release, current devel.
>         The feature is a method to highlight tha active patch (1+4+4) with
>         diferent color in knots ¿yellow? ¿custom? it help a lot in the
>         use of
>         mesh gradients.
> 
> 
>     This is something that should be implemented in Inkscape. This could be
>     easily achieved by changing the color of the patch or stroking the path
>     around the patch.
> 
> 
>         Sorry for my english, all the best, Jabier.
> 
> 
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 
> 



More information about the cairo mailing list