Commit graph

4610 commits

Author SHA1 Message Date
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
Behdad Esfahbod
58f6aed93d [doc] Update for recent API changes 2008-01-25 19:47:07 -05:00
Behdad Esfahbod
45e7ba356d [cairo-pdf-operators] Reformat typedef to not confuse gtk-doc 2008-01-25 19:46:43 -05:00
Behdad Esfahbod
756420a780 [cairo_surface_show/copy_page()] Make them return void, like cairo_show/copy_page() do 2008-01-25 19:38:27 -05:00
Nis Martensen
c4ec5539ca [cairo-surface] Fix doc typo 2008-01-25 19:13:13 -05:00
Behdad Esfahbod
ab188f2e90 [cairo-ft] Disable embedded bitmaps if hinting style NONE is requested 2008-01-25 18:28:57 -05:00
Behdad Esfahbod
2df9944a8a [.gitignore] Add check-has-hidden-symbols.i 2008-01-25 18:28:57 -05:00
Behdad Esfahbod
3d2144b6af [cairo-ft] Fix font metrics computation for bitmap fonts and no metrics-hinting
Preivously we were returning NAN font metrics.  Fixed now.  Makes bitmap-font
test pass again.
2008-01-25 18:28:57 -05:00
Vladimir Vukicevic
c621d8d719 [ps] Pad image mask lines out to full lines
The PostScript backend was generating image masks with packed mask
bits, when PS seems to expect each line of the mask to be padded out
to 8 bytes.

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=407360
2008-01-25 15:01:57 -08:00