[UI] FillStyles in borders

Igor Stasenko siguctua at gmail.com
Fri Jun 27 15:08:05 UTC 2008


2008/6/27 Gary Chambers <gazzaguru2 at btinternet.com>:
> 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.


More information about the UI mailing list