Point by block without argument
Bug #1589843 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I will be handy to create a point by block with argument (no parent ancestry):
canvas point: [1 @ 5 atRandom]
point: method is already used to create a point given its coordinates. It is possible it handles block argument as well:
DrGeoCanvas>>point: aPointOrBlock
self preProcessing.
^ aPointOrBlock isPoint
ifTrue: [self finalizePoint: (DrGPointFreeItem newWith: {aPointOrBlock})]
ifFalse: [self finalizePoint: (DrGPointBlockItem newWith: (OrderedCollection with: aPointOrBlock) )]
Changed in drgeo: | |
milestone: | wip → 16.10 |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.