Login  Register

RE: FillStyles in borders

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

Except when the border and interior overlap... (which can be desired, modern "Mac style" default focus indications, as an example).
Again, for that, a decoration would be best (not a border in the strictest sense).

As for clipping, the lack of low-level support for arbitrary shape clipping in Balloon is a problem and stencil-based clipping might be computationally expensive in BitBlt.

Gary.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Igor Stasenko
> Sent: 27 June 2008 3:43 PM
> To: Squeak's User Interface
> Subject: Re: [UI] FillStyles in borders
>
>
> 2008/6/27 Gary Chambers <[hidden email]>:
> > 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).
>
> Well, in general, clipping is nothing more than a boolean operation on
> shapes: you take two shapes , subtract one from another and you got
> another shape which is a result of clipping.
>
> The order of drawing is important , of course.
> If we could get rid of borders and replace them with more generic
> 'decoration' concept, then order is obvious: first, draw a morph ,
> then draw decoration.
>
> >
> > 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