Cairo__ScaledFont.st
changeset 6 c1f387b40e3a
parent 5 65635e9ef3e8
child 7 392289f92fab
--- a/Cairo__ScaledFont.st	Fri Jul 11 08:49:27 2008 +0000
+++ b/Cairo__ScaledFont.st	Tue Sep 09 21:28:47 2008 +0000
@@ -2,14 +2,13 @@
 
 "{ NameSpace: Cairo }"
 
-ExternalStructure subclass:#ScaledFont
+RefCountedStructure subclass:#ScaledFont
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
-	category:'Cairo - C Types'
+	category:'Cairo - Objects'
 !
 
-
 !ScaledFont class methodsFor:'accessing'!
 
 libraryName
@@ -20,7 +19,14 @@
 
 	self error:'Library name for host OS is not known'
 
-    "Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:43 / Jan Vrany <vranyj1@fel.cvut.cz>"
+!
+
+structSize
+
+	^0
+
+    "Modified: / 09-09-2008 / 21:57:43 / Jan Vrany <vranyj1@fel.cvut.cz>"
 ! !
 
 !ScaledFont class methodsFor:'primitives'!
@@ -30,7 +36,7 @@
 	<cdecl: void "cairo_scaled_font_destroy" ( Cairo::ScaledFont ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:46 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primExtents: scaled_font extents: extents 
@@ -38,7 +44,7 @@
 	<cdecl: void "cairo_scaled_font_extents" ( Cairo::ScaledFont Cairo::FontExtents ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primFtScaledFontLockFace: scaled_font 
@@ -62,7 +68,7 @@
 	<cdecl: void "cairo_scaled_font_get_ctm" ( Cairo::ScaledFont Cairo::Matrix ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGetFontFace: scaled_font 
@@ -70,7 +76,7 @@
 	<cdecl: Cairo::FontFace "cairo_scaled_font_get_font_face" ( Cairo::ScaledFont ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:54 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGetFontMatrix: scaled_font fontMatrix: font_matrix 
@@ -78,7 +84,7 @@
 	<cdecl: void "cairo_scaled_font_get_font_matrix" ( Cairo::ScaledFont Cairo::Matrix ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGetFontOptions: scaled_font options: options 
@@ -86,7 +92,7 @@
 	<cdecl: void "cairo_scaled_font_get_font_options" ( Cairo::ScaledFont Cairo::FontOptions ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGetReferenceCount: scaled_font 
@@ -94,7 +100,7 @@
 	<cdecl: uint32 "cairo_scaled_font_get_reference_count" ( Cairo::ScaledFont ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGetType: scaled_font 
@@ -102,7 +108,7 @@
 	<cdecl: int32 "cairo_scaled_font_get_type" ( Cairo::ScaledFont ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGetUserData: scaled_font key: key 
@@ -110,7 +116,7 @@
 	<cdecl: pointer "cairo_scaled_font_get_user_data" ( Cairo::ScaledFont Cairo::UserDataKey ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primGlyphExtents: scaled_font glyphs: glyphs numGlyphs: num_glyphs extents: extents 
@@ -118,7 +124,7 @@
 	<cdecl: void "cairo_scaled_font_glyph_extents" ( Cairo::ScaledFont Cairo::Glyph int32 Cairo::TextExtents ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primReference: scaled_font 
@@ -126,7 +132,7 @@
 	<cdecl: Cairo::ScaledFont "cairo_scaled_font_reference" ( Cairo::ScaledFont ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primScaledFontCreate: font_face fontMatrix: font_matrix ctm: ctm options: options 
@@ -134,7 +140,7 @@
 	<cdecl: Cairo::ScaledFont "cairo_scaled_font_create" ( Cairo::FontFace Cairo::Matrix Cairo::Matrix Cairo::FontOptions ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primSetUserData: scaled_font key: key userData: user_data destroy: destroy 
@@ -142,7 +148,7 @@
 	<cdecl: int32 "cairo_scaled_font_set_user_data" ( Cairo::ScaledFont Cairo::UserDataKey pointer pointer ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primStatus: scaled_font 
@@ -150,7 +156,7 @@
 	<cdecl: int32 "cairo_scaled_font_status" ( Cairo::ScaledFont ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 primTextExtents: scaled_font utf8: utf8 extents: extents 
@@ -158,11 +164,6 @@
 	<cdecl: void "cairo_scaled_font_text_extents" ( Cairo::ScaledFont charPointer Cairo::TextExtents ) >
 	self primitiveFailed
 
-    "Modified: / 10-07-2008 / 23:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 09-09-2008 / 21:57:45 / Jan Vrany <vranyj1@fel.cvut.cz>"
 ! !
 
-!ScaledFont class methodsFor:'documentation'!
-
-version
-    ^'$Id$'
-! !