summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2011-02-07mesh: Rename cairo_pattern_mesh_* functions to cairo_mesh_pattern_*Andrea Canciani2-24/+24
This is consistent with the naming of most cairo types/functions (example: cairo_foo_surface_*). The substitution in the code has been performed using: sed -i 's/cairo_pattern_mesh_/cairo_mesh_pattern_/' <files>
2011-01-16doc: Fix some broken references and gtk-doc warningsMaarten Bosmans2-1/+2
The gtk-doc comments contain some typos and are missing some escaping.
2011-01-01doc: Add documentation for the mesh APIAndrea Canciani2-0/+26
The documentation content is in the comments of the functions.
2010-12-15gl: Remove GLEW from the build system and the source treeAlexandros Frantzis1-1/+0
2010-09-09doc: Add section for recording surfaceCarlos Garcia Campos2-0/+8
2010-09-06check: Ignore the documentation errors.Chris Wilson1-1/+5
Currently it is complaining about having documentation for unconfigured sections, ignore it for now.
2010-09-06check: Make the actual error stand outChris Wilson1-3/+3
2010-07-09doc: Remove the <TITLE> declarationsBenjamin Otte1-28/+0
This information was duplicated. It exists as the "@Title" of the SECTION inline documentation already.
2010-07-08doc: Move tmpl/ docs to inline docsBenjamin Otte32-4566/+2
I did this manually so I could review the docs at the same time. If anyone finds typos or other mistakes I did, please complain to me (or better: fix them).
2010-07-08doc: Remove CAIRO_FORMAT_RGB16_565 from hidden symbols listBenjamin Otte1-1/+0
It's part of the cairo_format_t documentation now.
2010-07-08doc: Add list of new symbol in Cairo 1.10Benjamin Otte1-0/+3
2010-07-08doc: add --name-space option to gtkdoc-mkdbBenjamin Otte1-1/+1
This sorts function names in new symbols lists way better.
2010-07-08doc: Add a section about regionsBenjamin Otte2-0/+31
2010-07-08doc: Add missing surface APIsBenjamin Otte1-0/+2
2010-07-08doc: Add a section for cairo_device_tBenjamin Otte2-0/+19
2010-07-08doc: Add cairo_in_clip() to cairo_t sectionBenjamin Otte1-0/+1
2010-07-08doc: Add cairo_rectangle_int_t to the general types listBenjamin Otte1-0/+1
2010-07-08doc: Add drm and glew to the ignored directoriesBenjamin Otte1-0/+2
This reduces the number of unused symbols to a reasonable size. ;)
2010-05-13language bindings guide: clarify mapping for cairo_pattern_create_rgb[a]Owen W. Taylor1-2/+7
Clarify that cairo_pattern_create_rgb() and cairo_pattern_create_rgba() should be be overloaded as a single constructor for SolidPattern, but instead should be static methods.
2010-05-07doc: regenChris Wilson26-0/+93
2010-04-27Update FSF addressAndrea Canciani5-5/+5
I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
2010-03-02Added new MIME type CAIRO_MIME_TYPE_URI and it's support in SVG backendAlexander Shulgin2-0/+8
The rationale behind this change is that when someone is trying to draw on a SVG surface using image surface patterns, the resulting SVG file can take up to ridiculous 20 megabytes for 3-4 typical photographic images in a single SVG file. This also can take significant amount of CPU time to complete. The reason for this behaviour is that currently whenever SVG backend needs to emit an image tag for a surface pattern it takes a snapshot of the subject surface, encodes it in PNG, then Base64-encodes and emits the (huge) resulting string. With use of cairo_surface_set_mime_data API this can be somewhat improved by associating JPEG image contents with the corresponding surfaces. Still this doesn't allow for post-processing of involved photographic images without regenerating the SVG file. As SVG specification allows URIs in the image tag's xlink:href attribute, it is possible instead of embedding encoded image data to simply link image files residing physically on the same medium as the generated SVG file: files on disk under common directory, files on a web server at common base URI, etc. To make this happen we add new (unofficial) MIME type "text/x-uri" and let users associate URIs with surfaces through cairo_surface_set_mime_data() API. When SVG backend needs to emit surface contents and it sees "text/x-uri" attached to the surface, it emits this data instead of taking snapshot. The URI data is emitted as is, so correctness check is left solely to the client code.
2010-01-27build: Remove glitz surfaceBenjamin Otte3-24/+0
glitz is unmaintained and the GL surface is far superior anyway.
2009-10-22[meta] Rename cairo_meta_surface_t to cairo_recording_surface_t.M Joonas Pihlaja1-1/+1
The new name is more descriptive than the rather opaque meta surface. Discussed with vigour on the mailing list and #cairo: http://lists.cairographics.org/archives/cairo/2009-July/017571.html
2009-09-16Set LC_ALL=C instead of LANG=CBehdad Esfahbod2-2/+5
2009-07-15Fix build under distcheckChris Wilson2-0/+17
Need to play a little dance to get the sources included and paths correct whilst building source files with objdir != srcdir under distcheck.
2009-06-12[doc] Workaround read-only tree during make distcheckChris Wilson1-2/+3
This looks to be an ugly necessity to work-around the nasty issue that we currently gtkdoc expect to be run inside the source tree. I'm sure Behdad will be able to resolve this much more elegantly than this quick and fragile attempt.
2009-05-08[doc] Update identifiersChris Wilson1-1/+2
2009-05-06Err, make gtk-doc happy againBehdad Esfahbod1-1/+1
2009-03-17Make CAIRO_STATUS_LAST_STATUS publicBehdad Esfahbod1-0/+1
2009-03-17Support compiling without fontconfigBehdad Esfahbod3-1/+11
Adds a new, fake, fontconfig font backend. Fontconfig can be disabled using --disable-fc, in which case the toy text API wont find fonts and the internal font will always be used. Also defines the feature macro CAIRO_HAS_FC_FONT. The two fontconfig-specific functions in cairo-ft.h depend on that macro now.
2009-02-16[sdl] Remove new backend.M Joonas Pihlaja1-1/+0
The SDL backend makes invalid assumptions about SDL_Surface locking semantics and doesn't deal correctly with the unpremultiplied pixel format supported by SDL. Removed as per discussion on the mailing list. http://lists.cairographics.org/archives/cairo/2009-February/016595.html
2009-02-06[test] Fix "make dist"Behdad Esfahbod1-0/+1
2008-12-23Document PDF restrict_to_version APIAdrian Johnson2-0/+39
2008-12-23Document cairo_surface_(set|get)_mime_data() and mime typesAdrian Johnson2-2/+53
2008-12-18[twin] Switch internal users to the new name.Chris Wilson1-1/+1
s/<cairo>/@cairo:/
2008-12-12[tutorial] Correct twin font nameChris Wilson1-1/+1
We changed the name for the builtin font from "cairo" to "<cairo>" to reduce possible naming conflicts - update the tutorial to match.
2008-11-13Add CairoScript backend.Chris Wilson1-0/+1
A new meta-surface backend for serialising drawing operations to a CairoScript file. The principal use (as currently envisaged) is to provide a round-trip testing mechanism for CairoScript - i.e. we can generate script files for every test in the suite and check that we can replay them with perfect fidelity. (Obviously this does not provide complete coverage of CairoScript's syntax, but should give reasonable coverage over the operators.)
2008-10-31[test] Build test suite into single binary.Chris Wilson1-0/+1
Avoid calling libtool to link every single test case, by building just one binary from all the sources. This binary is then given the task of choosing tests to run (based on user selection and individual test requirement), forking each test into its own process and accumulating the results.
2008-10-06Fix scrambled version number in generated documentation.Carl Worth1-1/+1
In the cairo 1.8.0 release the documentation would get generated with the second and third version components transposed, (so it would say 1.0.8). Fix the obviously mistaken transposition.
2008-09-30[doc] Add links to solid pattern constructors.Torsten Schönfeld1-1/+1
Add links for the solid pattern constructors to the language bindings guidelines in line with the other pattern types.
2008-09-26[check-*.sh] Redirect error reports to stderrBehdad Esfahbod1-3/+3
2008-09-25Add an internal font faceBehdad Esfahbod1-0/+39
The font data and rendering is adapted from Keith Packard's Twin window system. The hinting stuff is not ported yet, but hey, it renders! The implementation uses user fonts, and the user font backend is modified to use this font face (which we call "twin" font face internally) when a toy font is needed. The font face layer is then modified to use this font if: - The toy font face "cairo" is asked for, or - No native font backend is available, or - The preferred native font backend fails to return a font with STATUS_UNSUPPORTED. No font backend does this right now but the idea is to change FreeType to return it if no fonts found on the system. We also allow building with no font backends now! The new doc/tutorial/src/twin.c file tests the twin face at various sizes.
2008-09-25Actually remove cairo_has_show_text_glyphsCarl Worth2-10/+0
The release notes for 1.7.6 say that we had dropped this function, but apparently we had only planned to do that and didn't actually get around to it until now. Thanks to the RELEASING insctructions which gave a diff command that pointed out this problem.
2008-09-22Rename Makefile.*.config to Makefile.*.features as they should not be modifiedBehdad Esfahbod1-1/+1
The .config naming was giving people the impression that they can modify it. That's not the case.
2008-09-18[doc] Remove lcd_filter API from doc listingBehdad Esfahbod1-3/+0
Carl removed the API but not the listing in the docs. The docs tests are passing again now.
2008-09-18[doc/public/check-doc-coverage.sh] Make doc building needed for the test fasterBehdad Esfahbod2-2/+7
We used to do a full doc build to just to run the coverage test. That's way too slow to expect people to run regularly. Instead now we just do the source code scanning part of the doc build system that is just enough to know if all symbols are documented. A full doc build can be done as always by invoking "make doc", and indeed will be called as part of "make dist" or "make distcheck".
2008-09-18[doc/public/check-doc-coverage.sh] Fix typo in checking cairo-undeclared.txtBehdad Esfahbod1-1/+1
Copy/paste error meant we were not checking cairo-undeclared.txt there. Indeed the test was passing even though Carl forgot to remove lcd-fitlering API from docs. The test fails now.
2008-09-18Make the lcd_filter API privateCarl Worth1-29/+0
During the cairo summit it was decided that this API is to freetype- specific to be in the general cairo interface for now. This will likely come back again soon as a cairo_ft-specific interface.
2008-09-18[show_text_glyphs] Replace the bool backward with cairo_text_cluster_flagsBehdad Esfahbod4-3/+11
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