Cairo__ScaledFont.st
changeset 63 054f0513ea65
parent 55 c0fed31c643c
child 88 9d51db2ba641
--- a/Cairo__ScaledFont.st	Sat Mar 05 20:22:21 2016 +0000
+++ b/Cairo__ScaledFont.st	Mon Mar 21 22:28:05 2016 +0000
@@ -127,6 +127,18 @@
 
     "Created: / 28-12-2014 / 22:10:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 17-02-2016 / 06:39:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+reference
+    "Increases the reference count on the receiver by one. This prevents the
+     receiver from being destroyed until a matching call to #destroy is made.
+     
+     This method must be called whenever Cairo documentation says so,
+     check comment on return value for methods returning a Cairo object"
+
+    CPrimitives cairo_scaled_font_reference: self
+
+    "Modified: / 05-03-2016 / 10:33:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !ScaledFont class methodsFor:'documentation'!