#DOCUMENTATION by cg
class: GraphicsMedium
comment/format in:
#displayDeviceForm:x:y:
#displayDeviceOpaqueForm:x:y:
#displayForm:x:y:
#displayUnscaledForm:x:y:
#displayUnscaledOpaqueForm:x:y:
--- a/GraphicsMedium.st Mon Feb 13 20:42:20 2017 +0100
+++ b/GraphicsMedium.st Mon Feb 13 20:42:39 2017 +0100
@@ -1590,7 +1590,7 @@
displayForm:formToDraw x:x y:y
"draw a form or image non opaque;
- if its a 1-plane bitmap, 1-bits are drawn in the
+ if it's a 1-plane bitmap, 1-bits are drawn in the
current paint-color, leaving pixels with 0-bits unchanged
(i.e. only 1-bits are drawn from the form).
If it's a deep form (i.e. a pixmap) the current paint
@@ -1603,7 +1603,7 @@
gc displayForm:formToDraw x:x y:y
- "Modified (comment): / 13-02-2017 / 19:54:33 / cg"
+ "Modified (comment): / 13-02-2017 / 20:19:56 / cg"
!
displayForm:aFormOrImage x:x y:y opaque:opaque
@@ -2020,10 +2020,10 @@
displayUnscaledForm:formToDraw x:x y:y
"draw a form or image non opaque and unscaled;
- if its a 1-plane bitmap, 1-bits are drawn in the
+ if it's a 1-plane bitmap, 1-bits are drawn in the
current paint-color, leaving pixels with 0-bits unchanged
(i.e. only 1-bits are drawn from the form).
- If its a deep form (i.e. a pixmap) the current paint
+ If it's a deep form (i.e. a pixmap) the current paint
settings are ignored and the form is drawn as-is.
Care must be taken, that the paint color is correctly allocated
(by sending #on: to the color) before doing so.
@@ -2033,17 +2033,21 @@
The origins coordinate is transformed, but the image itself is unscaled."
gc displayUnscaledForm:formToDraw x:x y:y
+
+ "Modified (comment): / 13-02-2017 / 20:20:09 / cg"
!
displayUnscaledOpaqueForm:formToDraw x:x y:y
"draw a form or image opaque and unscaled;
- if its a 1-plane bitmap, 1-bits are drawn in the
+ if it's a 1-plane bitmap, 1-bits are drawn in the
current paint-color, 0 bits in background color.
- If its a deep form (i.e. a pixmap) the current paint
+ If it's a deep form (i.e. a pixmap) the current paint
settings are ignored and the form is drawn as-is (opaque).
The origins coordinate is transformed, but the image itself is unscaled."
gc displayUnscaledOpaqueForm:formToDraw x:x y:y
+
+ "Modified (comment): / 13-02-2017 / 20:20:15 / cg"
!
displayUnscaledOpaqueString:aString from:index1 to:index2 x:x y:y
@@ -2078,10 +2082,10 @@
displayDeviceForm:aForm x:x y:y
"draw a form or image non opaque (i.e. only foreground color is drawn);
- If its a 1-plane bitmap, 1-bits are drawn in the
+ If it's a 1-plane bitmap, 1-bits are drawn in the
current paint-color, leaving pixels with 0-bits unchanged
(i.e. only 1-bits are drawn from the form).
- If its a deep form (i.e. a pixmap) the current paint
+ If it's a deep form (i.e. a pixmap) the current paint
settings are ignored and the form is drawn as-is;
however, the mask is applied if present.
@@ -2095,6 +2099,8 @@
noColor or allColor)."
gc displayDeviceForm:aForm x:x y:y
+
+ "Modified (comment): / 13-02-2017 / 20:19:47 / cg"
!
displayDeviceLineFromX:x1 y:y1 toX:x2 y:y2
@@ -2105,9 +2111,9 @@
displayDeviceOpaqueForm:aForm x:x y:y
"draw a form or image opaque (i.e. both fg and bg is drawn);
- If its a 1-plane bitmap, 1-bits are drawn in the
+ If it's a 1-plane bitmap, 1-bits are drawn in the
current paint-color and 0-bits in the bgPaint color.
- If its a deep form (i.e. a pixmap) the current paint/bgPaint
+ If it's a deep form (i.e. a pixmap) the current paint/bgPaint
settings are ignored and the form drawn as-is.
Any mask is ignored.
In the 1-plane case, special care must be taken if paint and/or bgPaint
@@ -2118,6 +2124,8 @@
Drawing is in device coordinates; no scaling is done."
gc displayDeviceOpaqueForm:aForm x:x y:y
+
+ "Modified (comment): / 13-02-2017 / 20:19:52 / cg"
!
displayDeviceOpaqueString:aString from:index1 to:index2 x:x y:y