diff --git a/reference/cairo/cairo/availablefonts.xml b/reference/cairo/cairo/availablefonts.xml index 72ba3abb92..0b3b86af08 100644 --- a/reference/cairo/cairo/availablefonts.xml +++ b/reference/cairo/cairo/availablefonts.xml @@ -5,7 +5,7 @@ Cairo::availableFonts cairo_available_fonts - Retrives the availables fonts types + Retrives the availables font types @@ -21,7 +21,7 @@ - Returns an array with the available fonts backends + Returns an array with the available font backends @@ -34,7 +34,7 @@ &reftitle.returnvalues; - A list-type array with all available fonts backends. + A list-type array with all available font backends. diff --git a/reference/cairo/cairo/availablesurfaces.xml b/reference/cairo/cairo/availablesurfaces.xml index 66f969fdf6..1c8312817a 100644 --- a/reference/cairo/cairo/availablesurfaces.xml +++ b/reference/cairo/cairo/availablesurfaces.xml @@ -21,7 +21,7 @@ - Returns an array with the available surfaces backends + Returns an array with the available surface backends @@ -34,7 +34,7 @@ &reftitle.returnvalues; - A list-type array with all available surfaces backends. + A list-type array with all available surface backends. diff --git a/reference/cairo/cairo/version.xml b/reference/cairo/cairo/version.xml index 5e856d77c0..fec4713896 100644 --- a/reference/cairo/cairo/version.xml +++ b/reference/cairo/cairo/version.xml @@ -21,7 +21,7 @@ - Retrieves the current version of the cairo library + Retrieves the current version of the cairo library as an integer value @@ -34,7 +34,7 @@ &reftitle.returnvalues; - Returns the version of the current cairo library + Current Cairo library version integer diff --git a/reference/cairo/cairo/versionstring.xml b/reference/cairo/cairo/versionstring.xml index 54bbfbfef1..810cd88950 100644 --- a/reference/cairo/cairo/versionstring.xml +++ b/reference/cairo/cairo/versionstring.xml @@ -21,7 +21,7 @@ - Retrieves the current cairo library version as string. + Retrieves the current cairo library version as a string. @@ -34,7 +34,7 @@ &reftitle.returnvalues; - Returns a string represented version + Current Cairo library version string diff --git a/reference/cairo/cairomatrix/construct.xml b/reference/cairo/cairomatrix/construct.xml index c0ad1847e7..6566a4faad 100644 --- a/reference/cairo/cairomatrix/construct.xml +++ b/reference/cairo/cairomatrix/construct.xml @@ -3,37 +3,58 @@ - CairoMatrix::__construct - The __construct purpose + CairoPattern::__construct + cairo_matrix_init + Creates a new CairoMatrix object &reftitle.description; + Object oriented style (method): CairoMatrix::__construct - stringyx - stringxy - stringyy - stringx0 - stringy0 + floatxx + floatyx + floatxy + floatyy + floatx0 + floaty0 + + Procedural style: + + ReturnTypecairo_matrix_init + floatxx + floatyx + floatxy + floatyy + floatx0 + floaty0 - The method description goes here. + Returns new CairoMatrix object. Matrices are used throughout cairo to convert between different coordinate spaces. + Sets matrix to be the affine transformation given by xx, yx, xy, yy, x0, y0. The transformation is given by: + x_new = xx * x + xy * y + x0; and y_new = yx * x + yy * y + y0; - &warn.undocumented.func; - &reftitle.parameters; + + xx + + + xx component of the affine transformation + + + yx - Description... + yx component of the affine transformation @@ -41,7 +62,7 @@ xy - Description... + xy component of the affine transformation @@ -49,7 +70,7 @@ yy - Description... + yy component of the affine transformation @@ -57,7 +78,7 @@ x0 - Description... + X translation component of the affine transformation @@ -65,7 +86,7 @@ y0 - Description... + Y translation component of the affine transformation @@ -76,37 +97,49 @@ &reftitle.returnvalues; - Description... + Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns. - + &reftitle.examples; - <methodname>CairoMatrix::__construct</methodname> example + Object oriented style ]]> - - &example.outputs.similar; - + + + + + + Procedural style + ]]> - + + &reftitle.seealso; - Classname::Method + CairoMatrix::initIdentity + CairoMatrix::initRotate + CairoMatrix::initScale + CairoMatrix::initTranslate diff --git a/reference/cairo/cairomatrix/scale.xml b/reference/cairo/cairomatrix/scale.xml index a9ca4c42b0..5e203c1d33 100644 --- a/reference/cairo/cairomatrix/scale.xml +++ b/reference/cairo/cairomatrix/scale.xml @@ -4,8 +4,8 @@ CairoMatrix::scale - cairo_scale - The scale purpose + cairo_matrix_scale + Applies scaling to a matrix @@ -13,21 +13,21 @@ Object oriented style (method): public voidCairoMatrix::scale - stringsx - stringsy + floatsx + floatsy Procedural style: - ReturnTypecairo_scale + ReturnTypecairo_matrix_scale CairoContextcontext - stringx - stringy + floatsx + floatsy - Description here. + Applies scaling by sx, sy to the transformation in the matrix. The effect of + the new transformation is to first scale the coordinates by sx and sy, then + apply the original transformation to the coordinates. - - &warn.undocumented.func; @@ -36,26 +36,10 @@ - context + matrix - Description... - - - - - x - - - Description... - - - - - y - - - Description... + Procedural only - CairoMatrix instance @@ -63,7 +47,7 @@ sx - Description... + scale factor in the X direction @@ -71,7 +55,7 @@ sy - Description... + scale factor in the Y direction @@ -79,13 +63,6 @@ - - &reftitle.returnvalues; - - Description... - - - &reftitle.examples; @@ -94,17 +71,12 @@ scale(0.2, 2.0); ?> ]]> - &example.outputs.similar; - - - - @@ -112,17 +84,12 @@ ]]> - &example.outputs.similar; - - - - @@ -130,7 +97,7 @@ &reftitle.seealso; - Classname::Method + CairoMatrix::initScale