[squeak-dev] The Trunk: Graphics-nice.415.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Sep 11 23:53:24 UTC 2019


Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-nice.415.mcz

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

Name: Graphics-nice.415
Author: nice
Time: 12 September 2019, 1:52:48.583 am
UUID: 464ce482-aed9-4ae9-b554-8b90d52af0a2
Ancestors: Graphics-ct.413, Graphics-ct.412, Graphics-ct.414

o-ct-opus merge

(It's really the opus of ct)

=============== Diff against Graphics-ct.413 ===============

Item was added:
+ ----- Method: ColorForm>>collectColors: (in category 'converting') -----
+ collectColors: aBlock
+ 
+ 	^ (ColorForm extent: self extent depth: self depth bits: self bits)
+ 		colors: (self colors collect: aBlock);
+ 		yourself!

Item was changed:
  ----- Method: FixedFaceFont>>widthOf: (in category 'measuring') -----
+ widthOf: aCharacter
+ 	^ (baseFont hasGlyphOf: aCharacter)
+ 		ifTrue: [baseFont widthOf: substitutionCharacter]
+ 		ifFalse: [1]!
- widthOf: aCharacter 
- 	^ baseFont widthOf: substitutionCharacter!



More information about the Squeak-dev mailing list