[squeak-dev] The Trunk: 61Deprecated-mt.1.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jul 2 10:10:50 UTC 2022


Marcel Taeumel uploaded a new version of 61Deprecated to project The Trunk:
http://source.squeak.org/trunk/61Deprecated-mt.1.mcz

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

Name: 61Deprecated-mt.1
Author: mt
Time: 2 July 2022, 12:10:50.27287 pm
UUID: 535485eb-11f0-8942-b58e-649df6f526f2
Ancestors: 

First (actual) deprecations in 6.1alpha.

==================== Snapshot ====================

----- Method: TTFontDescription>>blankGlyphForSeparators (in category '*61Deprecated-migration') -----
blankGlyphForSeparators

	| space |
	self flag: #deprecated. "See TTCharacterMappingTable >> #mapAllSeparatorsToSpace."

	space := (self at: Character space charCode) copy.
	space contours: #().
	Character separators do: [:s | 
		glyphTable at: s charCode +1 put: space.
	].
!

----- Method: TTFontDescription>>renderGlyph:height:fgColor:bgColor:depth: (in category '*61Deprecated-rendering') -----
renderGlyph: code height: fontHeight fgColor: fgColor bgColor: bgColor depth: depth
	"Render the glyph with the given code point at the specified pixel height."

	self flag: #deprecated.
	^ self
		renderGlyph: code height: fontHeight extraScale: 1.0
		fgColor: fgColor bgColor: bgColor depth: depth
		lineGlyph: nil lineGlyphWidth: 0 emphasis: 0!

----- Method: TTFontDescription>>renderGlyph:height:fgColor:bgColor:depth:lineGlyph:lineGlyphWidth:emphasis: (in category '*61Deprecated-rendering') -----
renderGlyph: code height: fontHeight fgColor: fgColor bgColor: bgColor depth: depth lineGlyph: lineGlyphOrNil lineGlyphWidth: lWidth emphasis: emphasis
	"Render the glyph with the given code point at the specified pixel height. Underline it with lineGlyph."
	
	self flag: #deprecated.
	^ self
		renderGlyph: code height: fontHeight extraScale: 1.0
		fgColor: fgColor bgColor: bgColor depth: depth
		lineGlyph: lineGlyphOrNil lineGlyphWidth: lWidth emphasis: emphasis!



More information about the Squeak-dev mailing list