[UI] FillStyles in borders

Gary Chambers gazzaguru2 at btinternet.com
Fri Jun 27 14:53:18 UTC 2008


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: ui-bounces at lists.squeakfoundation.org
> [mailto:ui-bounces at lists.squeakfoundation.org]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 <gazzaguru2 at btinternet.com>:
> > 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
> UI at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/ui
> 



More information about the UI mailing list