Cairo__Glyph.st
changeset 29 6ba06265e543
parent 23 38ee47dbd976
child 40 28dfc583beb5
--- a/Cairo__Glyph.st	Sat Dec 27 00:45:13 2014 +0100
+++ b/Cairo__Glyph.st	Sun Dec 28 22:38:24 2014 +0100
@@ -52,57 +52,52 @@
 
 libraryName
 
-	OperatingSystem isUNIXlike ifTrue:[^'libcairo.so.2'].
-
-	OperatingSystem isMSWINDOWSlike ifTrue:[^'cairo.dll'].
+    OperatingSystem isUNIXlike ifTrue:[^'libcairo.so.2'].
 
-	self error:'Library name for host OS is not known'
+    OperatingSystem isMSWINDOWSlike ifTrue:[^'cairo.dll'].
 
-    "Modified: / 10-09-2008 / 18:19:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    self error:'Library name for host OS is not known'
 !
 
-structSize
+sizeof
+    "Returns size of undelaying structure in bytes"
 
-	^160
-
-    "Modified: / 10-09-2008 / 18:19:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    ^20
 ! !
 
 !Glyph methodsFor:'accessing'!
 
 index
+    "Returns a Cface::CLongNode"
 
-	^self longAt:1 + 0
+    ^self longLongAt:1 + 0
+!
 
-    "Modified: / 10-09-2008 / 18:19:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+index: value
+
+    self longLongAt:1 + 0 put:value
 !
 
 x
+    "Returns double"
 
-	^self doubleAt:1 + 4
-
-    "Modified: / 10-09-2008 / 18:19:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    ^self doubleAt:1 + 4
 !
 
 x: value
 
-	self doubleAt:1 + 4 put:value
-
-    "Modified: / 10-09-2008 / 18:19:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    self doubleAt:1 + 4 put:value
 !
 
 y
+    "Returns double"
 
-	^self doubleAt:1 + 12
-
-    "Modified: / 10-09-2008 / 18:19:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    ^self doubleAt:1 + 12
 !
 
 y: value
 
-	self doubleAt:1 + 12 put:value
-
-    "Modified: / 10-09-2008 / 18:19:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    self doubleAt:1 + 12 put:value
 ! !
 
 !Glyph class methodsFor:'documentation'!
@@ -114,3 +109,4 @@
 version_HG
     ^ '$Changeset: <not expanded> $'
 ! !
+