Carl Worth
247e101199
Fix bitmap-font test by using near-equality for double comparison
2008-01-28 21:26:05 -08:00
Behdad Esfahbod
468caac068
[configure.in] Minor change to cairo-features.h comments to make tests pass
2008-01-28 23:30:09 -05:00
Behdad Esfahbod
b4c7a0dc6e
[doc] Document CAIRO_HAS_* macros. We now finally have real 100% coverage.
2008-01-28 23:27:10 -05:00
Behdad Esfahbod
47e0ecbea5
[configure.in] Generate a cairo-no-features.h with macros for disabled supported backends
...
to trick gtk-doc with it.
2008-01-28 23:26:35 -05:00
Behdad Esfahbod
9d8990b6bd
[doc] Remove excess paranthesis
2008-01-28 23:23:00 -05:00
Behdad Esfahbod
6e495e9488
[doc] More syntax fixes
2008-01-28 23:10:28 -05:00
Behdad Esfahbod
a00d719682
[configure.in] Add commented-out #undef's for disable stable backends in cairo-features.h
2008-01-28 23:05:00 -05:00
Behdad Esfahbod
6a089247a1
[doc] Rename cairo-font.sgml to cairo-font-face.sgml
2008-01-28 22:45:06 -05:00
Behdad Esfahbod
1d17a7f781
[doc] Document the surface type of win32-printing surface being different
2008-01-28 22:42:46 -05:00
Behdad Esfahbod
a55f65b5d2
[doc] Fix typo
2008-01-28 22:25:37 -05:00
Behdad Esfahbod
52cc603db1
[doc] Stricter syntax check for type names, update test
2008-01-28 22:10:20 -05:00
Behdad Esfahbod
b790c5a6bc
[doc] Replace 'NOTE' by 'Note' and add it to test
2008-01-28 21:53:44 -05:00
Behdad Esfahbod
f0633f4449
[doc] Make sure all function names in docs are followed by ()
2008-01-28 21:49:57 -05:00
Behdad Esfahbod
9ba8f6b1b0
[src/check-doc-syntax.sh] Check for various doc syntax consistency rules
2008-01-28 21:49:26 -05:00
Behdad Esfahbod
e15fcdd747
[doc] Improve syntax
2008-01-28 21:48:23 -05:00
Behdad Esfahbod
587508528c
[doc] Minor improvement
2008-01-28 21:12:51 -05:00
Behdad Esfahbod
fd5dfedbb7
[doc/public/check-doc-coverage.sh] Test that doc coverage is 100%
...
Yay!
2008-01-28 21:02:44 -05:00
Behdad Esfahbod
c133ee5acc
[doc] Improve docs for new API
2008-01-28 21:00:21 -05:00
Behdad Esfahbod
0d898f2bad
[doc] Make sure all type names in docs are prefixed by #
2008-01-28 20:49:44 -05:00
Behdad Esfahbod
9ecde82d35
[doc] Make sure all macro names in docs are prefixed by %
2008-01-28 20:48:48 -05:00
Behdad Esfahbod
099c3c2602
[doc] Another enum nick expansion
2008-01-28 20:32:35 -05:00
Behdad Esfahbod
72feed5b54
[doc] Update templates for recently added APIs
2008-01-28 20:16:01 -05:00
Behdad Esfahbod
b7d43d235c
[src/check-*] Shut make up
2008-01-28 20:14:52 -05:00
Behdad Esfahbod
dd7ce76294
[doc] Expand a couple nicks to full enum names
2008-01-28 19:54:27 -05:00
Behdad Esfahbod
c624ff4654
[cairo_operator_t] Improve docs
2008-01-28 19:45:18 -05:00
Behdad Esfahbod
f1271babcd
[doc] Add Long_Description and some See_Also for all chapters
2008-01-28 19:45:18 -05:00
Behdad Esfahbod
73b184fb9c
[src] Fix gtk-doc warnings
2008-01-28 19:45:18 -05:00
Carl Worth
8709b943c6
Fix some documentation typos
2008-01-28 16:15:28 -08:00
Carl Worth
e48d7ca802
Add example to documentation of cairo_pattern_set_filter
...
It's helpful to let the reade know about cairo_get_source here.
2008-01-28 16:11:39 -08:00
Carl Worth
cd26fa266b
Add documentation for cairo_filter_t
2008-01-28 16:10:10 -08:00
Carl Worth
7c00269e00
Add pdf-specific reference images for meta-surface-pattern
...
This test has been "failing" ever since we had native
replay of metasurfaces to pdf. But looking at the results,
they are actually superior to the image-backend reference
images.
2008-01-28 15:39:40 -08:00
Carl Worth
9cd198d200
Test the no-Render-extension-available case in get-xrender-format
2008-01-28 15:39:40 -08:00
Carl Worth
d7fd3bd536
Add get-xrender-format test to test cairo_xlib_surface_get_xrender_format
2008-01-28 15:39:40 -08:00
Carl Worth
cc94dce250
Return NULL from cairo_xlib_surface_get_xrender_format without an error
...
The NULL return value will only happen if the X Render extension
is not available. We've already got that NULL return value
documented, so it's not an error if the user asks for it. In
particular, it's definitely not a surface-type mismatch.
2008-01-28 15:39:39 -08:00
Carl Worth
3c018a6e5a
Add new API cairo_xlib_surface_get_render_format
2008-01-28 15:39:39 -08:00
Carl Worth
8881154072
Add missing cairo_private (for _pixman_format_to_masks)
2008-01-28 15:39:39 -08:00
Carl Worth
3841cc0932
Clarify the documentation of stride within cairo_image_surface_create_for_data
2008-01-28 15:39:39 -08:00
Carl Worth
13a5624277
Rename cairo_image_surface_stride_for_width to cairo_format_stride_for_width
...
Thanks for Behdad for the suggested name improvement. Also, make
it more clear that the stride passed to cairo_image_surface_create_for_data
should come from calling cairo_format_stride_for_width with the
same width.
2008-01-28 15:39:39 -08:00
Carl Worth
dc67de3d8b
Add cairo_image_surface_stride_for_width
...
Document this function as a required call to get the correct
stride value before calling cairo_image_surface_create_for_data.
This means that previously-failing calls with non-multiple-of-4
stride values are now documented as errors. Also, we now have
the possibility of moving to more stringent alignment constraints,
(one can imagine doing 64-bit or 128-bit boundaries for example).
2008-01-28 15:39:36 -08:00
Carl Worth
b151cb0709
Rename cairo_format_width to cairo_format_bits_per_pixel and correct its logic
2008-01-28 15:39:36 -08:00
Nis Martensen
538ace5b51
re-indent xml after removal of structuring level
2008-01-28 08:38:39 -05:00
Nis Martensen
642e1af892
remove empty tutorial stub and one level of structuring
2008-01-28 08:38:36 -05:00
Nis Martensen
be93e61d70
Add index of new symbols in 1.6
2008-01-28 08:38:32 -05:00
Nis Martensen
0874834ec4
Describe cairo_operator_t, add link to operators/ wiki page
2008-01-28 08:38:27 -05:00
Behdad Esfahbod
b18bc660c6
[test/font-matrix-translation] Fix function signature
2008-01-28 02:33:58 -05:00
Vladimir Vukicevic
936edecb35
[quartz] only use DrawTiledImage if transformed image is integer aligned
...
This Quartz API seems to only tile at integer coordinates; if the source image is
scaled to anything less than integer-aligned, seams appear between tiles. Detect
this and fall back to slower but more general CGPattern path.
2008-01-27 16:52:39 -08:00
Vladimir Vukicevic
182b022401
[win32] Fix initial clip region test
...
I misread the docs; GetClipBox's return value doesn't necessarily correspond to
GetClipRgn's region type.
2008-01-27 15:26:00 -08:00
Behdad Esfahbod
0e73763290
[src] Fix make check
2008-01-27 02:19:47 -05:00
Behdad Esfahbod
b3eea75d1f
Change cairo_get_current_point() to return cairo_status_t instead of void
...
So we can return CAIRO_STATUS_NO_CURRENT_POINT. Previously it wasn't easy
to fetch that information.
2008-01-26 13:56:08 -05:00
Behdad Esfahbod
7938384152
[doc] Update list of private header files
2008-01-25 19:48:36 -05:00