Re: Drawing a selection rectangle
Re: Drawing a selection rectangle
- Subject: Re: Drawing a selection rectangle
- From: Daryn <email@hidden>
- Date: Fri, 30 Jan 2004 01:10:07 -0600
My first thought would be to use a mostly transparent view to represent
the selected region.
On Jan 30, 2004, at 12:03 AM, Jeffrey Mattox wrote:
>
Is there an efficient way to display a selection rectangle in a view
>
without having to keep redrawing the stuff the rectangle passes over?
>
Currently, I'm just drawing a dashed box as I drag the mouse, but as
>
the rectangle moves, I need to redraw the old region (or the lazy way,
>
redraw the entire view).
>
>
I'd like a way, for example, to add a drawing "layer" that contains
>
only the selection rectangle, and then simply redraw that layer. Seems
>
like a common thing to do.
>
>
Tips?
>
>
Jeff
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.