[Bug 1589843] Re: Point by block without argument

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 1589843] Re: Point by block without argument

Hliaire Fernandes
Administrator
** Changed in: drgeo
       Status: Fix Committed => Fix Released

--
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1589843

Title:
  Point by block without argument

Status in Dr. Geo II:
  Fix Released

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) )]

To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1589843/+subscriptions