Re: Clip area of a canvas...
Adam Starkey <[email protected]> Fri, 7 Feb 2003 12:02:58 -0600
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Message-ID | <[email protected]> |
On Friday 07 February 2003 12:01 pm, Alberto Narduzzi wrote: > Aaaaargh! > > IT WORKS!!! loooots of thanks. > > What I do: > > ImgScreen.Canvas.Lock; > ImgScreen.Canvas.SetClipRect(NewClipRect); > (do something here...) > ImgScreen.Canvas.SetClipRect(Rect(0,0,ImgScreen.Width,ImgScreen.Height)); > ImgScreen.Canvas.Unlock; > Yup, and if it makes you feel any better, I smashed my head against a hard surface for hours trying to work out why I couldn't get cliprect to behave when I first started using Kylix. ;) -- adam ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/i7folB/TM ---------------------------------------------------------------------~-> ------------------------------------------------------- Forum / mailing list for Borland Kylix programmers Our web page: http://groups.yahoo.com/group/kylixgroup To join the forum: [email protected] To unsubscribe: [email protected] To post your messages: [email protected] To contact the moderator: [email protected] ------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/