Login  Register

Re: FillStyles in borders

Posted by Igor Stasenko on Jun 27, 2008; 2:34pm
URL: https://forum.world.st/FillStyles-in-borders-tp134003p134009.html

2008/6/27 Gary Chambers <[hidden email]>:
> Perhaps a "clean" model coul;d be something for Pharo...
>
> Maybe borders could be modelled via a decorator pattern to do away with some of these special cases.
> (think fillWith: fillStyle clippingTo: generalClipShape)The border (itself a morph) being a decoration of the morph... or maybe not called morph in a generalised framework, though interpreted that way for Morphic support...
>
> Then again, to go the full-hog, the "ordinates" idea should cover all bases (with adaptation to Morphic).
>
> Just a thought.
>

Btw, i was wrong: there is a 'generic' shape drawing primitives in
BalloonEngine. They used mostly to draw arbitrary Bezier shapes. For
instance, an SVGMorph using it to draw any SWG graphic - be it a set
of lines/curves or anything else.

It would be interesting, how this can be adopted to draw anything. So,
we could have few primitives which draw every bit on screen.


> Gary.


--
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui