Login  Register

Re: FillStyles in borders

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

2008/6/27 Gary Chambers <[hidden email]>:
> 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.

Stencil-based clipping has its own drawbacks: its very hard to draw
shapes antialiased once you clip area on per-pixel basis.
I think, better would be to keep with shapes, and make engine which
can have a notion of current clipping shape.

>
> Gary.
>

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