app: port GimpDisplayShell layer boundary drawing to cairo

The boundary is temporarily kept around as both BoundSeg and
GdkSegment arrays now, but this uglyness will go away once porting to
cairo is complete.
This commit is contained in:
Michael Natterer
2010-08-24 18:07:31 +02:00
parent b5e49426df
commit 4e0925a67c
7 changed files with 147 additions and 57 deletions

View File

@ -48,6 +48,11 @@ void gimp_display_shell_draw_sample_point (GimpDisplayShell *shell,
gboolean active);
void gimp_display_shell_draw_sample_points (GimpDisplayShell *shell,
cairo_t *cr);
void gimp_display_shell_draw_layer_boundary (GimpDisplayShell *shell,
cairo_t *cr,
GimpDrawable *drawable,
BoundSeg *segs,
gint n_segs);
void gimp_display_shell_draw_vector (GimpDisplayShell *shell,
GimpVectors *vectors);
void gimp_display_shell_draw_vectors (GimpDisplayShell *shell);