#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Tue, 09 Aug 2016 12:34:17 +0200
changeset 7503 bdb0ef0d889a
parent 7502 83e3d1504fc2
child 7504 371f71deee69
#REFACTORING by stefan class: GraphicsContext added: #basicFont removed: #createFontOnDevice
GraphicsContext.st
--- a/GraphicsContext.st	Tue Aug 09 12:33:32 2016 +0200
+++ b/GraphicsContext.st	Tue Aug 09 12:34:17 2016 +0200
@@ -691,6 +691,14 @@
     "Modified: 12.5.1996 / 22:25:17 / cg"
 !
 
+basicFont
+    "return the font for drawing"
+
+    ^ font
+
+    "Created: 12.5.1996 / 11:17:59 / cg"
+!
+
 blackColor
     "return the black color on this device.
      This is the same as 'Color black onDevice:self device', but much faster."
@@ -799,13 +807,6 @@
     "Modified: 28.5.1996 / 14:08:19 / cg"
 !
 
-createFontOnDevice
-    "make sure, that the font is a device font"
-
-    font := font onDevice:device.
-    ^ font.
-!
-
 dashStyle:aDashList offset:dashOffset
     "define dashes. Each element of the dashList specifies the length
      of a corresponding dash. For example, setting it to [4 4]