Cairo__FontExtents.st
changeset 40 28dfc583beb5
parent 29 6ba06265e543
child 88 9d51db2ba641
--- a/Cairo__FontExtents.st	Tue Feb 16 07:46:52 2016 +0000
+++ b/Cairo__FontExtents.st	Wed Feb 17 06:43:31 2016 +0000
@@ -2,7 +2,7 @@
 
 "{ NameSpace: Cairo }"
 
-ExternalStructure subclass:#FontExtents
+CStructure variableByteSubclass:#FontExtents
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
@@ -10,6 +10,22 @@
 !
 
 
+!FontExtents class methodsFor:'initialization'!
+
+initialize
+    "Invoked at system start or when the class is dynamically loaded."
+
+    fields := #(
+        ascent
+        descent
+        height
+        maxXAdvance
+        maxYAdvance
+    )
+
+    "Modified: / 18-02-2016 / 09:09:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
 !FontExtents class methodsFor:'accessing'!
 
 dllPath
@@ -132,3 +148,5 @@
     ^ '$Changeset: <not expanded> $'
 ! !
 
+
+FontExtents initialize!