Commit graph

228 commits

Author SHA1 Message Date
Behdad Esfahbod
1fe7088a11 [show_text_glyphs] Replace the bool backward with cairo_text_cluster_flags
Chris rightfully complained that having a boolean function argument is
new in cairo_show_text_glyphs, and indeed avoiding them has been one
of the API design criteria for cairo.  Trying to come up with alternatives,
Owen suggested using a flag type which nicely solves the problem AND
future-proofs such a complex API.

Please welcome _flags_t APIs to cairo.h
2008-09-18 00:26:07 -04:00
Behdad Esfahbod
a8cd426a4c [doc] Fix glob for doc sources 2008-09-18 00:25:02 -04:00
Behdad Esfahbod
856fedd235 [doc] Make "make check" build without gtk-doc 2008-09-15 16:19:12 -04:00
Behdad Esfahbod
fe31c35d86 [doc] Don't rebuild after every configure run
The version.xml file was rebuilt all the time and forcing a full
doc rebuild.  Not anymore unless cairo-version.h was changed.
2008-09-11 17:31:07 -04:00
Behdad Esfahbod
694fee9e7c Update gtk-doc makefile fragment
Also move it to build/.

We still do not call gtkdocize from autogen.sh.
2008-09-11 16:38:12 -04:00
Behdad Esfahbod
de5b8bce37 Makefile.am cleanup
Use a common build/Makefile.am.common file.
2008-09-11 15:49:09 -04:00
Behdad Esfahbod
b7a838261b Move m4 macros into build/aclocal.*.m4 files 2008-09-11 04:17:43 -04:00
Behdad Esfahbod
391bef58fc Add support for always-builtin features in the build system
Like image surface and user fonts.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
c73f58e3a7 [doc] Don't include *.h as sources
No idea why this was done initially but other projects I checked did not
do it.
2008-09-11 00:38:29 -04:00
Behdad Esfahbod
87dfceb9ec [Makefile.am] Rename INCLUDES to AM_CPPFLAGS
Fixes automake warnings
2008-09-08 15:13:07 -04:00
Benjamin Otte
c2062dc8b7 [doc] get rid of various markers that aren't interpreted by gtk-doc 2008-09-06 22:29:47 +02:00
Behdad Esfahbod
7ad076442d Rename src/*.mk to src/Makefile.*
Namely:

	src/Sources.mk      -> src/Makefile.sources
	src/Config.mk       -> src/Makefile.am.config
	src/Config.mk.win32 -> src/Makefile.win32.config
2008-09-04 22:23:42 -04:00
Behdad Esfahbod
308a2ca928 [doc/public/check-doc-coverage.sh] Also test cairo-undeclared 2008-09-03 20:52:17 -04:00
Behdad Esfahbod
5926257770 Revamp the build system.
Quick summary of changes:

  - Move list of cairo source files out of src/Makefile.am and into
    src/Sources.mk,

  - Generate files src/Config.mk and src/Config.mk.win32 that choose
    the right set of source files and headers based on configured
    backends and features.  This drastically simplifies building
    using other build systems.  The src/Makefile.win32 file needs
    to be updated to reflect these changes.

  - Add README files to various directories,

  - Add toplevel HACKING file.
2008-09-02 20:24:08 -04:00
Behdad Esfahbod
2553579cc8 [doc] Clean up doc file names 2008-09-02 20:24:00 -04:00
Behdad Esfahbod
a5a896aae8 Update header glob 2008-09-02 20:23:59 -04:00
Behdad Esfahbod
89900525fb Move version number to src/cairo-version.h 2008-08-28 17:28:08 -04:00
Behdad Esfahbod
00bc650455 Add new public API cairo_surface_has_show_text_glyphs()
We added cairo_has_show_text_glyphs() before.  Since this is really a
surface property, should have the surface method too.  Like we added
cairo_surface_show_page()...
2008-08-18 14:54:21 -04:00
Behdad Esfahbod
5d307b58b9 [doc] More template changes. Donno why they keep changing. 2008-08-11 13:54:39 -04:00
Behdad Esfahbod
8f6e52b068 [doc] Add short user-font section docs 2008-08-08 17:13:27 -04:00
Behdad Esfahbod
eabe572981 Document all new API
Also validate clusters generated by font backends.
2008-08-08 03:04:38 -04:00
Behdad Esfahbod
7e57892983 Add toy font constructor and getters
New public API:

	cairo_toy_font_face_create()
	cairo_toy_font_face_get_family()
	cairo_toy_font_face_get_slant()
	cairo_toy_font_face_get_weight()
2008-08-08 03:01:14 -04:00
Behdad Esfahbod
bca9a21e98 [docs] Update private header list 2008-08-08 03:01:14 -04:00
Behdad Esfahbod
221599ab0f Finish off lcd-filter merge 2008-08-05 16:36:05 -04:00
Sylvain Pasche
45ec5e77bb Add symbols for setting the LCD filter type on font options 2008-08-05 16:30:37 -04:00
Behdad Esfahbod
047566fd52 Add cairo_show_text_glyphs API
New public API:

	cairo_text_cluster_t
	cairo_has_show_text_glyphs()
	cairo_show_text_glyphs()

Add accompanying gstate and surface functions, and surface backend methods.
No backends implement them just yet.
2008-06-26 16:20:59 -04:00
Behdad Esfahbod
ba62d2d30a Update .gitignore files 2008-06-26 16:20:58 -04:00
Behdad Esfahbod
498f3ddf2e Add status CAIRO_STATUS_NEGATIVE_COUNT
To be used for things like passing a negative number of glyphs
to cairo_show_glyphs().
2008-06-23 17:53:25 -04:00
Behdad Esfahbod
ce24588d1c [doc] Update doc/public/Headers.mk 2008-06-23 17:51:32 -04:00
Behdad Esfahbod
b9acf625d6 Make check-*.sh scripts more portable (#16299) 2008-06-12 21:03:19 -04:00
Behdad Esfahbod
d0bc3ca1a2 [doc] Add Index of 1.8 symbols 2008-05-28 20:58:35 -04:00
Behdad Esfahbod
4e68140aca [doc] Document remaining CAIRO_HAS_* macros
I'm sure I had done them all before.  No idea what happened.
Perhaps gtk-doc was not seeing them as missing.
2008-05-28 20:57:36 -04:00
Behdad Esfahbod
65cc905c2f [doc] Add stub for user-fonts 2008-05-28 20:54:38 -04:00
Behdad Esfahbod
c914377f35 Add public API cairo_scaled_font_get_scale_matrix() 2008-05-24 20:33:15 -04:00
Behdad Esfahbod
4dd4d96fb1 [cairo-surface] Add cairo_surface_get_fallback_resolution() 2008-05-15 17:20:30 -04:00
Behdad Esfahbod
17f21ea307 [cairo-user-font] Implement user fonts 2008-05-10 01:21:45 +02:00
Behdad Esfahbod
9f2971440b [doc] Remove cairo-quartz-image-surface from docs
Docs only include stable API.
2008-05-10 01:21:44 +02:00
Carl Worth
8707892b21 Doc SGML template churn 2008-04-01 15:40:54 -07:00
Vladimir Vukicevic
8ddae11b54 [quartz] Update documentation 2008-04-01 13:26:00 -07:00
Vladimir Vukicevic
9a7162cfdf [doc] Add some Quartz/CGFont documentation templates 2008-04-01 13:17:14 -07:00
Carl Worth
ffa50c31d3 Doc template churn 2008-03-20 13:49:19 -07:00
Carl Worth
8d515344c4 Add cairo-quartz to the manual 2008-02-28 14:35:57 -08:00
Carl Worth
83489f623f SGML churn 2008-02-20 10:00:31 -08:00
Chris Wilson
f59f22eecb [check] Only build documents during make check if we have GTK_DOC
Check that gtk-doc has been enabled before running attempting to build
the docs during make check.
2008-02-15 13:50:41 +00:00
Alp Toker
e104fcab1c Introduce cairo_has_current_point()
cairo_has_current_point() can be used to determine whether a current
point is defined. We introduce this new symbol with a boolean return
value to avoid the versioning ambiguity of modifying
cairo_get_current_point(). This way we also don't have to map what
should be a routine operation to an error condition as was previously
proposed.
2008-02-06 01:06:01 -05:00
Carl Worth
78022f3aa1 Add doc/public test scripts to EXTRA_DIST
This prevents failures of make distcheck
2008-01-30 04:54:05 -08:00
Behdad Esfahbod
6153a3b620 [doc] Run check-doc-syntax.sh for SGML docs too 2008-01-29 00:43:10 -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
6e495e9488 [doc] More syntax fixes 2008-01-28 23:10:28 -05:00
Behdad Esfahbod
6a089247a1 [doc] Rename cairo-font.sgml to cairo-font-face.sgml 2008-01-28 22:45:06 -05:00