Login  Register

RE: FillStyles in borders

Posted by Gary Chambers-4 on Jun 27, 2008; 2:37pm
URL: https://forum.world.st/FillStyles-in-borders-tp134003p134010.html

Aye, clipping is another matter though (would want the "interior" of a border to not be drawn, for performance and not having to wory about draw-order/translucency issues).

Gary

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Igor Stasenko
> Sent: 27 June 2008 3:35 PM
> To: Squeak's User Interface
> Subject: Re: [UI] FillStyles in borders
>
>
> 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
>

_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui