diff --git a/reference/cairo/cairo/statustostring.xml b/reference/cairo/cairo/statustostring.xml index d350b9f32a..6ad82692be 100644 --- a/reference/cairo/cairo/statustostring.xml +++ b/reference/cairo/cairo/statustostring.xml @@ -34,7 +34,7 @@ status - A valid status code given by cairo_status or CairoContext::status() + A valid status code given by cairo_status or CairoContext::status diff --git a/reference/cairo/cairocontext.xml b/reference/cairo/cairocontext.xml index c80cd720ac..788e7386cb 100644 --- a/reference/cairo/cairocontext.xml +++ b/reference/cairo/cairocontext.xml @@ -15,13 +15,13 @@ Context is the main object used when drawing with cairo. To draw with cairo, you create a CairoContext, set the target CairoSurface, and drawing options for the CairoContext, create shapes with functions . - like CairoContext::moveTo() and - CairoContext::lineTo(), and then draw shapes with - CairoContext::stroke() or CairoContext::fill(). + like CairoContext::moveTo and + CairoContext::lineTo, and then draw shapes with + CairoContext::stroke or CairoContext::fill. - Contexts can be pushed to a stack via CairoContext::save(). + Contexts can be pushed to a stack via CairoContext::save. They may then safely be changed, without loosing the current state. Use - CairoContext::restore() + CairoContext::restore to restore to the saved state. diff --git a/reference/cairo/cairocontext/appendpath.xml b/reference/cairo/cairocontext/appendpath.xml index 252e159070..cee763c90b 100644 --- a/reference/cairo/cairocontext/appendpath.xml +++ b/reference/cairo/cairocontext/appendpath.xml @@ -23,8 +23,8 @@ Appends the path onto the current path. - The path may be either the return value from one of CairoContext::copyPath() or - CairoContext::copyPathFlat(); + The path may be either the return value from one of CairoContext::copyPath or + CairoContext::copyPathFlat; if path is not a valid CairoPath instance diff --git a/reference/cairo/cairocontext/arc.xml b/reference/cairo/cairocontext/arc.xml index 0b5705e8d3..9a833d0de6 100644 --- a/reference/cairo/cairocontext/arc.xml +++ b/reference/cairo/cairocontext/arc.xml @@ -39,8 +39,8 @@ If there is a current point, an initial line segment will be added to the path to connect the current point to the beginning of the arc. If this initial line is undesired, - it can be avoided by calling CairoContext::newSubPath() or procedural - cairo_new_sub_path before calling CairoContext::arc() + it can be avoided by calling CairoContext::newSubPath or procedural + cairo_new_sub_path before calling CairoContext::arc or cairo_arc. Angles are measured in radians. An angle of 0.0 is in the direction of the positive X axis @@ -50,7 +50,7 @@ (To convert from degrees to radians, use degrees * (M_PI / 180.).) This function gives the arc in the direction of increasing angles; see - CairoContext::arcNegative() or cairo_arc_negative + CairoContext::arcNegative or cairo_arc_negative to get the arc in the direction of decreasing angles. diff --git a/reference/cairo/cairofontface/gettype.xml b/reference/cairo/cairofontface/gettype.xml index 46a6d4a1e0..89a0dee632 100644 --- a/reference/cairo/cairofontface/gettype.xml +++ b/reference/cairo/cairofontface/gettype.xml @@ -36,7 +36,7 @@ &reftitle.examples; - <methodname>CairoFontFace::getType</methodname>() example + <methodname>CairoFontFace::getType</methodname> example New features may be added to CairoFontOptions in the future. For this reason - CairoFontOptions::copy(), CairoFontOptions::equal(), - CairoFontOptions::merge(), CairoFontOptions::hash() + CairoFontOptions::copy, CairoFontOptions::equal, + CairoFontOptions::merge, CairoFontOptions::hash (cairo_font_options_copy(), cairo_font_options_equal(), cairo_font_options_merge(), and cairo_font_options_hash() in procedural way) should be used to copy, check for equality, merge, or compute a hash value of CairoFontOptions objects. diff --git a/reference/cairo/cairofonttype.xml b/reference/cairo/cairofonttype.xml index fd8eb3bc31..27b2a16104 100644 --- a/reference/cairo/cairofonttype.xml +++ b/reference/cairo/cairofonttype.xml @@ -18,9 +18,9 @@ The type of a CairoFontFace is determined by the how it is created, an example would be the - CairoToyFontFace::__construct(). + CairoToyFontFace::__construct. The CairoFontFace type can be queried with - CairoFontFace::getType() or cairo_font_face_get_type + CairoFontFace::getType or cairo_font_face_get_type The various CairoFontFace functions can be used with a font face of any type. @@ -28,9 +28,9 @@ The type of a CairoScaledFont is determined by the type of the CairoFontFace passed to - CairoScaledFont::__construct() or + CairoScaledFont::__construct or cairo_scaled_font_create. - The scaled font type can be queried with CairoScaledFont::getType() or + The scaled font type can be queried with CairoScaledFont::getType or cairo_scaled_font_get_type. diff --git a/reference/cairo/cairoimagesurface/construct.xml b/reference/cairo/cairoimagesurface/construct.xml index 43039bfe55..790ff7c446 100644 --- a/reference/cairo/cairoimagesurface/construct.xml +++ b/reference/cairo/cairoimagesurface/construct.xml @@ -64,7 +64,7 @@ &reftitle.examples; - <methodname>CairoImageSurface::__construct</methodname>() example + <methodname>CairoImageSurface::__construct</methodname> example - <methodname>CairoImageSurface::createFromPng</methodname>() example + <methodname>CairoImageSurface::createFromPng</methodname> example - CairoImageSurface::__construct() + CairoImageSurface::__construct diff --git a/reference/cairo/cairoimagesurface/getheight.xml b/reference/cairo/cairoimagesurface/getheight.xml index 7baefba03f..9acd4e8f99 100644 --- a/reference/cairo/cairoimagesurface/getheight.xml +++ b/reference/cairo/cairoimagesurface/getheight.xml @@ -35,7 +35,7 @@ &reftitle.examples; - <methodname>CairoImageSurface::getHeight</methodname>() example + <methodname>CairoImageSurface::getHeight</methodname> example - CairoImageSurface::getWidth() + CairoImageSurface::getWidth diff --git a/reference/cairo/cairoimagesurface/getwidth.xml b/reference/cairo/cairoimagesurface/getwidth.xml index 08ac8fcb26..c24c52fdda 100644 --- a/reference/cairo/cairoimagesurface/getwidth.xml +++ b/reference/cairo/cairoimagesurface/getwidth.xml @@ -35,7 +35,7 @@ &reftitle.examples; - <methodname>CairoImageSurface::getWidth</methodname>() example + <methodname>CairoImageSurface::getWidth</methodname> example - CairoImageSurface::getHeight() + CairoImageSurface::getHeight diff --git a/reference/cairo/cairostatus.xml b/reference/cairo/cairostatus.xml index 48e5f30d7c..2879f8c083 100644 --- a/reference/cairo/cairostatus.xml +++ b/reference/cairo/cairostatus.xml @@ -14,10 +14,10 @@ CairoStatus is used to indicate errors that can occur when using Cairo. In some cases it is returned directly by functions. but when using CairoContext, - the last error, if any, is stored in the object and can be retrieved with CairoContext::status() + the last error, if any, is stored in the object and can be retrieved with CairoContext::status or cairo_status. New entries may be added in future versions. - Use Cairo::statusToString() or cairo_status_to_string to get a + Use Cairo::statusToString or cairo_status_to_string to get a human-readable representation of an error message. diff --git a/reference/cairo/cairosvgsurface/getversions.xml b/reference/cairo/cairosvgsurface/getversions.xml index 14f5c55402..92b3c28f0d 100644 --- a/reference/cairo/cairosvgsurface/getversions.xml +++ b/reference/cairo/cairosvgsurface/getversions.xml @@ -24,7 +24,7 @@ Returns a numerically indexed array of currently available CairoSvgVersion constants. In order to retreive the string values for each item, use - CairoSvgSurface::versionToString(). + CairoSvgSurface::versionToString. diff --git a/reference/cairo/cairotoyfontface.xml b/reference/cairo/cairotoyfontface.xml index a094de0fc6..e69087d57f 100644 --- a/reference/cairo/cairotoyfontface.xml +++ b/reference/cairo/cairotoyfontface.xml @@ -13,7 +13,7 @@ &reftitle.intro; The CairoToyFontFace class can be used instead of - CairoContext::selectFontFace() to create a toy font independently of a context. + CairoContext::selectFontFace to create a toy font independently of a context.