[squeak-dev] drawing an arc

Edgar J. De Cleene edgardec2005 at gmail.com
Tue Dec 15 11:44:25 UTC 2015


Second try, the first have a picture but was rejected

Yes, we have.
See atachment.
Original code I think is Hernan Morales Durand, but could be wrong


On 12/14/15, 3:22 PM, "Bert Freudenberg" <bert at freudenbergs.de> wrote:

> On 12.12.2015, at 16:37, Chris Muller <asqueaker at gmail.com> wrote:
>> 
>> Does anyone know how to draw an arc on a Canvas?  It has drawOval / fillOval,
>> but I want to draw a piece of pie.
> 
> 
> I don¹t think we have that. In the Etoys image there is a SectorMorph but it¹s
> a subclass of PolygonMorph, updating its vertices, not drawing directly on the
> canvas.
> 
> - Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PieChartMorph-gm.5.cs
Type: application/octet-stream
Size: 59190 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20151215/7ab61a32/PieChartMorph-gm.5-0001.obj


More information about the Squeak-dev mailing list