Behdad Esfahbod
2a3eec1731
[cairo-rectangle] Add new convenience functions for working with cairo_box_t
...
_cairo_box_from_doubles, _cairo_box_to_doubles, _cairo_box_from_rectangle.
2008-05-09 15:54:11 +02:00
Carl Worth
1489e66d25
Quiet a more subtle potentially-uninitialized warning
...
The compiler isn't clever enough to notice that these
variables are always initialized.
2008-04-01 14:49:03 -07:00
Vladimir Vukicevic
bf1f7f70b6
Do correct calculation of pen dimensions for stroke optimization
2008-02-06 13:07:13 -08:00
Vladimir Vukicevic
1d93e14876
Followup patch to dashed stroke optimization
...
Make sure that we don't test lines that start or end inside the box,
since our algorithm will find intersections on the wrong ends on the
line, and not count them.
2008-02-05 16:14:51 -08:00
Vladimir Vukicevic
4471e58c12
Optimize dashed strokes, part 2
...
Pass down the bounding box to the stroker, and avoid doing expensive
calculations for dash segments that are outside the box.
2008-02-05 15:04:28 -08:00
Behdad Esfahbod
0d898f2bad
[doc] Make sure all type names in docs are prefixed by #
2008-01-28 20:49:44 -05:00
Vladimir Vukicevic
be3516335c
[fixpt] Replace cairo_rectangle_int16_t with cairo_rectangle_int_t
...
Mostly s/cairo_rectangle_int16_t/cairo_rectangle_int_t/,
as well as definitions to pick cairo_rectangle_int_t.
2007-07-18 22:45:21 +02:00
Carl Worth
746f66c3fc
Fix bogus cairo_rectangle_fixed_t to be cairo_rectangle_int16_t.
...
This rectangle has regular integer values, not fixed-point values.
So the old name was horribly wrong and misleading, (and yes I think
it was even I that had suggested it).
2006-06-06 16:54:03 -07:00
Carl Worth
00592e0757
Remove trailing whitespace from lines with a single brace.
...
This patch was produced with the following (GNU) sed script:
sed -i -r -e '/^[ \t]*[{}][ \t]*/ s/[ \t]+$//'
run on all *.[ch] files within cairo.
2006-06-06 15:38:58 -07:00
Carl Worth
28d47d332a
Move rectangle functions to new cairo-rectangle.c
2006-06-05 14:25:22 -07:00