app: add a "custom" guide concept.
With gimp_guide_custom_new(), you can create a custom guide with a different style on canvas (other pattern/color/width). A custom guide won't be saved and could be used, for instance, for specific GEGL op guiding.
This commit is contained in:
@ -52,7 +52,9 @@ GType gimp_canvas_guide_get_type (void) G_GNUC_CONST;
|
||||
GimpCanvasItem * gimp_canvas_guide_new (GimpDisplayShell *shell,
|
||||
GimpOrientationType orientation,
|
||||
gint position,
|
||||
gboolean guide_style);
|
||||
cairo_pattern_t *normal_style,
|
||||
cairo_pattern_t *active_style,
|
||||
gdouble line_width);
|
||||
|
||||
void gimp_canvas_guide_set (GimpCanvasItem *guide,
|
||||
GimpOrientationType orientation,
|
||||
|
||||
Reference in New Issue
Block a user