[Pkg] The Trunk: Graphics-eem.320.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jan 9 17:01:50 UTC 2016

Eliot Miranda uploaded a new version of Graphics to project The Trunk:

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

Name: Graphics-eem.320
Author: eem
Time: 9 January 2016, 8:58:44.935792 am
UUID: 805d5995-61ee-409d-9c05-b7f7de330942
Ancestors: Graphics-tpr.319

categorize two uncategorized methods

=============== Diff against Graphics-tpr.319 ===============

Item was changed:
+ ----- Method: Bitmap>>asByteArray (in category 'converting') -----
- ----- Method: Bitmap>>asByteArray (in category 'as yet unclassified') -----
  	"Faster way to make a byte array from me.
  	copyFromByteArray: makes equal Bitmap."
  	| f bytes hack |
  	f := Form extent: 4 at self size depth: 8 bits: self.
  	bytes := ByteArray new: self size * 4.
  	hack := Form new hackBits: bytes.
  	Smalltalk isLittleEndian ifTrue:[hack swapEndianness].
  	hack copyBits: f boundingBox
  		from: f
  		at: (0 at 0)
  		clippingBox: hack boundingBox
  		rule: Form over
  		fillColor: nil
  		map: nil.
  	"f displayOn: hack."
  	^ bytes.

Item was changed:
+ ----- Method: Bitmap>>copy (in category 'copying') -----
- ----- Method: Bitmap>>copy (in category 'as yet unclassified') -----
  	^self clone!

More information about the Packages mailing list