a798c9456c
app/display: add new canvas item GimpCanvasPassePartout
...
This is supposed to replace the GimpDisplayShell highlight API,
but it is not yet used.
2010-10-18 22:17:27 +02:00
149ba1ec4b
app: add a path canvas item class based on cairo_path_t (GimpBezierDesc)
...
and use it in gimp_display_shell_draw_vectors().
2010-10-06 23:02:16 +02:00
f3450431a3
app: add a pen canvas item class and use it in the foreground select tool
...
Remove gimp_display_shell_draw_pen().
2010-10-03 02:26:40 +02:00
3e69ae0039
app: add a layer boundary canvas item class
...
and use it to draw the layer boundary. Remove a lot of stuff
that was there only to draw the boundary before:
- remvoe all layer boundary stuff from the selection code
- remove gimp_display_shell_draw_layer()
- remove enum values GIMP_SELECTION_LAYER_ON,OFF from core-enums.h
- remove all lines calling gimp_image_selection_control() with
the removed enum values
- remove gimp_layer_boundary()
2010-10-03 00:28:40 +02:00
dd4f27ed4f
app: remove gimp_display_shell_set_cursor_style()
2010-10-02 22:11:52 +02:00
dd1e858921
app/display: introduce a style for dimming
2010-09-29 20:34:59 +02:00
d1d89e0dde
app: add a "highlight" mode for the tool FG style
...
such a hack, but looks better than dashed lines
2010-09-23 19:25:22 +02:00
11aecbd090
app: add styles for tool drawing (still unused)
2010-09-19 19:19:24 +02:00
cca9257018
app: add functions to set the vectors' cairo style
...
so all style constants are in one place. Also draw the active path in
red on white instead of black on white.
2010-09-17 22:50:20 +02:00
58db8a3ef0
app: port GimpDisplayShell selection drawing to cairo
...
but keep the old code around because it's much faster. The new code is
enabled by defining the CAIRO_SELECTION environment variable.
2010-08-26 18:09:33 +02:00
4e0925a67c
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.
2010-08-24 18:07:31 +02:00
18d3882c5c
app: port GimpDisplayShell pen drawing to cairo
2010-08-23 21:59:27 +02:00
3a1ba90507
app: port GimpDisplayShell cursor drawing to cairo
...
Also add code to invalidate the new cursor location in
gimp_display_shell_update_cursor(), which is needed with
the new manual double buffering code.
2010-08-23 20:39:22 +02:00
1d1ff1fedd
app: port GimpDisplayShell sample point drawing to cairo
...
Same disclaimer about tool uglyness applies here. Will be fixed.
2010-08-12 13:13:15 +02:00
922c330bec
app: port GimpDisplayShell guide drawing to cairo
...
The cairo_t code in GimpMoveTool is still disgusting. This probably
needs some GimpTool API that creates a cairo_t for tools.
2010-08-12 00:51:58 +02:00
03ad3f0027
app: reorder parameters in new style API
2010-08-12 00:09:05 +02:00
002003a2ea
app: add new files gimpdisplayshell-style.[ch]
...
which contains functions to set styles on a cairo_t.
2010-08-11 23:47:46 +02:00