#DOCUMENTATION by cg
class: GraphicsContext
comment/format in: #viewOrigin
class: GraphicsContext class
comment/format in: #documentation
--- a/GraphicsContext.st Thu Jun 14 11:33:49 2018 +0200
+++ b/GraphicsContext.st Thu Jun 14 11:34:23 2018 +0200
@@ -66,43 +66,43 @@
[Instance variables:]
- paint <Color> the paint used for drawing
- bgPaint <Color> the background used for drawing texts and bitmaps
- function <Symbol> the drawing function (i.e. #copy, #or, #xor ...)
- - not all Drawables support every function
- (i.e. paper only allows #copy)
- font <Font> the current font to be used for drawing
- lineStyle <Symbol> the lineStyle (i.e. #solid, #dashed, #doubleDashed)
- lineWidth <SmallInteger> the lineWidth (device dependent, usually pixels)
- joinStyle <Symbol> the style in which lines (in polygons)
- are joined (i.e. #miter, #bevel, #round)
- capStyle <Symbol> the style in which the last point of a line is drawn
- (i.e. #notLast, #butt, #round, #projecting)
- mask <Form> a mask used for drawing
- - not all Drawables support it
- maskOrigin <Point> the origin of the mask relative to
- the drawables origin
- transformation
- <WindowingTransformation>
- controls scale & translation of nonNil
-
- clipRect <Rectangle> a clip rectangle (device dep. usually pixels or inches)
- or nil.
+ paint <Color> the paint used for drawing
+ bgPaint <Color> the background used for drawing texts and bitmaps
+ function <Symbol> the drawing function (i.e. #copy, #or, #xor ...)
+ - not all Drawables support every function
+ (i.e. paper only allows #copy)
+ font <Font> the current font to be used for drawing
+ lineStyle <Symbol> the lineStyle (i.e. #solid, #dashed, #doubleDashed)
+ lineWidth <SmallInteger> the lineWidth (device dependent, usually pixels)
+ joinStyle <Symbol> the style in which lines (in polygons)
+ are joined (i.e. #miter, #bevel, #round)
+ capStyle <Symbol> the style in which the last point of a line is drawn
+ (i.e. #notLast, #butt, #round, #projecting)
+ mask <Form> a mask used for drawing
+ - not all Drawables support it
+ maskOrigin <Point> the origin of the mask relative to
+ the drawable's origin
+ transformation
+ <WindowingTransformation>
+ controls scale & translation of nonNil
+
+ clipRect <Rectangle> a clip rectangle (device dep. usually pixels or inches)
+ or nil.
[Class variables:[
- White <Color> cached white color - its needed so often
- Black <Color> cached black color - its needed so often
-
- DefaultFont <Font> default font to use
+ White <Color> cached white color - its needed so often
+ Black <Color> cached black color - its needed so often
+
+ DefaultFont <Font> default font to use
[author:]
- Claus Gittinger
+ Claus Gittinger
[see also:]
- Color Font Form Image
- Geometric
- DeviceWorkstation
+ Color Font Form Image
+ Geometric
+ DeviceWorkstation
"
!
@@ -1008,9 +1008,11 @@
!
viewOrigin
- "return the drawables visible origin (for scrolling)"
+ "return the drawable's visible origin (for scrolling)"
^ 0@0
+
+ "Modified (comment): / 14-06-2018 / 10:17:01 / Claus Gittinger"
!
whiteColor