Michael Natterer
7a3dc6ee38
app: remove unused #includes
2010-11-15 00:23:18 +01:00
Michael Natterer
ae9f6d1b3f
app: remove the unused gimp_display_shell_expose_vectors()
2010-11-13 23:02:07 +01:00
Michael Natterer
5cea26b6e5
app: gimp_display_shell_expose_region(): return if the canvas is not realized
...
All GTK+ exposing functions do the same.
2010-11-13 22:58:43 +01:00
Michael Natterer
479082075b
app: use cairo_region_t for canvas items if cairo >= 1.10 is available
...
This is a gross hack that typedefs around between GdkRegion and
cairo_region_t and has some evil #ifdefs. This is going to die
immeditately once we can depend on cairo 1.10.
2010-10-18 20:01:05 +02:00
Michael Natterer
d9cd9f8a07
app: add an "update" signal to GimpCanvasItem
...
which gets emitted when the item wants to be redrawn:
- Emit "update" it when any item property changes
- Groups connect to their children and forward "update" for them
- The shell connects to its group of canvas items and exposed
the affected area
- Remove gimp_display_shell_expose_item()
- Move all the shell's item group code into gimpdisplayshell-items.c
2010-10-01 17:13:00 +02:00
Michael Natterer
d3f19baf0d
app: remove "shell" parameter from GimpCanvasItem's public APIs
...
because each item has a shell now. Keep the parameter in the virtual
functions though because that saves a lot of code in the subclasses.
2010-10-01 14:54:53 +02:00
Michael Natterer
ad331d5626
app: minor cleanup in gimp_display_shell_expose_item()
2010-09-30 09:05:55 +02:00
Michael Natterer
7f1cadddd0
app: use temporary canvas items for exposing guides and sample points
...
and remove gimp_display_shell_expose_guide() and _sample_point().
2010-09-30 09:02:36 +02:00
Michael Natterer
0d11be8fed
app: add a canvas sample point item class
...
and use it in gimp_display_shell_draw_sample_point().
2010-09-30 01:14:23 +02:00
Michael Natterer
ebeb933350
app: add gimp_display_shell_expose_item() and use it in the draw tool
2010-09-29 20:10:21 +02:00
Michael Natterer
ddc63de6d6
app: remove "gboolean use_offsets" from gimpdisplayshell-transform.[ch]
2010-09-23 19:24:04 +02:00
Sven Neumann
ae0cf760ab
app: only expose the area covered by the vectors object
...
gimp_display_shell_expose_vectors() exposes the bounding box of
the vectors plus a small border.
2010-09-17 21:32:38 +02:00
Sven Neumann
4c57e3f19e
app: port GimpVectors drawing to cairo
...
This is just a rough proof of concept. More changes are about
to follow.
2010-09-16 21:13:08 +02:00
Michael Natterer
f6fd3aed51
Move GimpDisplayShell's expose functions to separate files
2009-10-02 23:55:26 +02:00