diff --git a/reference/cairo/cairocontext/getantialias.xml b/reference/cairo/cairocontext/getantialias.xml
index 62140b63b4..b717b3f12f 100644
--- a/reference/cairo/cairocontext/getantialias.xml
+++ b/reference/cairo/cairocontext/getantialias.xml
@@ -109,6 +109,7 @@ int(3)
CairoContext::setAntialias
+ CairoAntialias
diff --git a/reference/cairo/cairocontext/getcurrentpoint.xml b/reference/cairo/cairocontext/getcurrentpoint.xml
index 4f7b62ba54..e6a49ef2ac 100644
--- a/reference/cairo/cairocontext/getcurrentpoint.xml
+++ b/reference/cairo/cairocontext/getcurrentpoint.xml
@@ -7,27 +7,42 @@
cairo_get_current_point
The getCurrentPoint purpose
-
+
&reftitle.description;
Object oriented style (method):
-
+
public arrayCairoContext::getCurrentPoint
-
+
Procedural style:
arraycairo_get_current_point
CairoContextcontext
- Description here.
+ Gets the current point of the current path, which is conceptually the final point reached by the path so far.
+
+
+ The current point is returned in the user-space coordinate system. If there is no defined current point or if cr is in an error status, x and y will both be set to 0.0. It is possible to check this in advance with CairoContext::hasCurrentPoint.
+
+
+ Most path construction functions alter the current point. See the following for details on how they affect the current point: CairoContext::newPath,
+ CairoContext::newSubPath, CairoContext::appendPath, CairoContext::closePath, CairoContext::moveTo,
+ CairoContext::lineTo, CairoContext::curveTo, CairoContext::relMoveTo,
+ CairoContext::relLineTo, CairoContext::relCurveTo,
+ CairoContext::arc, CairoContext::arcNegative, CairoContext::rectangle,
+ CairoContext::textPath, CairoContext::glyphPath.
+
+
+ Some functions use and alter the current point but do not otherwise change current path: CairoContext::showText.
+
+
+ Some functions unset the current path and as a result, current point: CairoContext::fill, CairoContext::stroke.
- &warn.undocumented.func;
-
-
+
&reftitle.parameters;
@@ -36,21 +51,21 @@
context
- Description...
+ A valid CairoContext object.
-
+
&reftitle.returnvalues;
- Description...
+ An array containing the x (index 0) and y (index 1) coordinates of the current point.
-
+
&reftitle.examples;
@@ -59,14 +74,26 @@
moveTo(10, 10);
+
+var_dump($c->getCurrentPoint());
+
?>
]]>
-
- &example.outputs.similar;
-
+
+ &example.outputs.similar;
+
+ float(10)
+ [1]=>
+ float(10)
+}
]]>
@@ -77,29 +104,42 @@
]]>
-
- &example.outputs.similar;
-
+
+ &example.outputs.similar;
+
+ float(10)
+ [1]=>
+ float(10)
+}
]]>
-
+
&reftitle.seealso;
- Classname::Method
+ CairoContext::moveTo
+ CairoContext::hasCurrentPoint
-
+