diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2008-12-12 22:29:05 -0600 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2008-12-12 22:29:05 -0600 |
commit | 3bf8d865fa198049fefc7fd51ed3f8105c15e8b7 (patch) | |
tree | 477b80af6533a17127f5db81a5596844f2e5058e | |
parent | 6000e9a229e81089411f115f1961204a0a9f6484 (diff) |
Cross-reference typedef-ed structs
* cairomm/types.h: add cross-reference links to the cairo manual for all types
that are just typedefs of C structs
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | cairomm/types.h | 30 |
2 files changed, 33 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2008-12-12 Jonathon Jongsma <jonathon@quotidian.org> + * cairomm/types.h: add cross-reference links to the cairo manual for all types + that are just typedefs of C structs + +2008-12-12 Jonathon Jongsma <jonathon@quotidian.org> + * .gitignore: ignore the new example executable names * examples/text/Makefile.am: normalize the text-rotate example executable name diff --git a/cairomm/types.h b/cairomm/types.h index aee98ce..5d583cd 100644 --- a/cairomm/types.h +++ b/cairomm/types.h @@ -20,13 +20,39 @@ #include <cairo.h> -namespace Cairo { +namespace Cairo +{ + +/** See the <a + * href="http://cairographics.org/manual/cairo-context.html#cairo-rectangle-t">cairo_rectangle_t + * reference</a> in the cairo manual for more information + */ typedef cairo_rectangle_t Rectangle; + +/** See the <a + * href="http://cairographics.org/manual/cairo-scaled-font.html#cairo-font-extents-t">cairo_font_extents_t + * reference</a> in the cairo manual for more information + */ typedef cairo_font_extents_t FontExtents; //A simple struct. + +/** See the <a + * href="http://cairographics.org/manual/cairo-scaled-font.html#cairo-text-extents-t">cairo_text_extents_t + * reference</a> in the cairo manual for more information + */ typedef cairo_text_extents_t TextExtents; //A simple struct. + +/** See the <a + * href="http://cairographics.org/manual/cairo-text.html#cairo-text-cluster-t">cairo_text_cluster_t + * reference</a> in the cairo manual for more information + */ typedef cairo_text_cluster_t TextCluster; + +/** See the <a + * href="http://cairographics.org/manual/cairo-text.html#cairo-glyph-t">cairo_glyph_t + * reference</a> in the cairo manual for more information + */ typedef cairo_glyph_t Glyph; //A simple struct. -} +} // namespace Cairo #endif // __CAIROMM_TYPES_H |