[squeak-dev] The Inbox: Graphics-kfr.535.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 19 06:39:03 UTC 2022


A new version of Graphics was added to project The Inbox:
http://source.squeak.org/inbox/Graphics-kfr.535.mcz

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

Name: Graphics-kfr.535
Author: kfr
Time: 19 August 2022, 8:38:55.19914 am
UUID: 937968c4-4662-7349-8606-37501aa10fa6
Ancestors: Graphics-mt.534

Update comment on Form>>fillAlpha:

=============== Diff against Graphics-mt.534 ===============

Item was changed:
  ----- Method: Form>>fillAlpha: (in category 'other') -----
  fillAlpha: alphaValue
  	"Fill a 32bit form with a constant alpha value"
+ 	"alphaValue: 0 to 255"
  	| bb |
  	self depth = 32 ifFalse:[^self error: 'Only valid for 32 bit forms'].
  	bb := BitBlt toForm: self.
  	bb combinationRule: 7. "bitOr:with:".
  	bb fillColor: (Bitmap with: alphaValue << 24).
  	bb copyBits.
  !



More information about the Squeak-dev mailing list