--- a/Cairo__GraphicsContext.st Thu Jul 10 21:14:16 2008 +0000
+++ b/Cairo__GraphicsContext.st Fri Jul 11 08:49:27 2008 +0000
@@ -9,6 +9,7 @@
category:'Cairo - C Types'
!
+
!GraphicsContext class methodsFor:'instance creation'!
on: surface
@@ -900,6 +901,25 @@
!GraphicsContext methodsFor:'cairo - paints'!
+fontFaceFamily: family slant: slant weight: weight
+
+ ^self class
+ primSelectFontFace: self
+ family: family
+ slant: slant
+ weight: weight
+
+ "Created: / 11-07-2008 / 07:45:00 / Jan Vrany <vranyj1@fel.cvut.cz>"
+!
+
+fontSize: fontSize
+
+ self class
+ primSetFontSize: self size: fontSize
+
+ "Created: / 11-07-2008 / 07:45:46 / Jan Vrany <vranyj1@fel.cvut.cz>"
+!
+
paintRed: red green: green blue: blue alpha: alpha
^self class
@@ -910,6 +930,14 @@
!GraphicsContext methodsFor:'cairo - paths'!
+moveToX:x y:y
+
+ ^self class
+ primMoveTo: self x: x y: y
+
+ "Created: / 11-07-2008 / 07:53:14 / Jan Vrany <vranyj1@fel.cvut.cz>"
+!
+
rectangleX: x y: y width: width height: height
^self class
@@ -920,6 +948,15 @@
height: height asDouble
"Created: / 10-07-2008 / 09:41:50 / Jan Vrany <vranyj1@fel.cvut.cz>"
+!
+
+showText: aString
+
+ self class
+ primShowText: self
+ utf8: aString asString utf8Encoded
+
+ "Created: / 11-07-2008 / 07:46:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !
!GraphicsContext methodsFor:'cairo - stroke & fill'!
@@ -956,3 +993,8 @@
"Created: / 10-07-2008 / 10:27:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !
+!GraphicsContext class methodsFor:'documentation'!
+
+version
+ ^'$Id$'
+! !