The Trunk: Graphics-pre.419.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-pre.419.mcz

commits-2
Patrick Rein uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-pre.419.mcz

==================== Summary ====================

Name: Graphics-pre.419
Author: pre
Time: 4 October 2019, 4:22:57.904303 pm
UUID: bae74437-3ff2-2145-806a-85c2ab328978
Ancestors: Graphics-pre.418

Fixes a regression due to a mixup of local versions in the placement of forms embedded in text with a TextAnchor.

=============== Diff against Graphics-pre.418 ===============

Item was changed:
  ----- Method: BitBltDisplayScanner>>displayEmbeddedForm:at: (in category 'displaying') -----
  displayEmbeddedForm: aForm at: aPoint
 
  aForm
  displayOn: bitBlt destForm
+ at: aPoint
- at: aPoint + (aForm extent / 2)
  clippingBox: bitBlt clipRect
  rule: Form blend
  fillColor: Color white !


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Graphics-pre.419.mcz

marcel.taeumel
Note that there is also Form >> #offset to achieve things such as "always centered" per instance. :-)

Best,
Marcel

Am 04.10.2019 16:23:18 schrieb [hidden email] <[hidden email]>:

Patrick Rein uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-pre.419.mcz

==================== Summary ====================

Name: Graphics-pre.419
Author: pre
Time: 4 October 2019, 4:22:57.904303 pm
UUID: bae74437-3ff2-2145-806a-85c2ab328978
Ancestors: Graphics-pre.418

Fixes a regression due to a mixup of local versions in the placement of forms embedded in text with a TextAnchor.

=============== Diff against Graphics-pre.418 ===============

Item was changed:
----- Method: BitBltDisplayScanner>>displayEmbeddedForm:at: (in category 'displaying') -----
displayEmbeddedForm: aForm at: aPoint

aForm
displayOn: bitBlt destForm
+ at: aPoint
- at: aPoint + (aForm extent / 2)
clippingBox: bitBlt clipRect
rule: Form blend
fillColor: Color white !