New topic: Highlighting an area in a graphic
<http://forums.realsoftware.com/viewtopic.php?t=41974> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message lenpartico Post subject: Highlighting an area in a graphicPosted: Tue Dec 27, 2011 3:03 pm Joined: Fri Sep 30, 2005 10:49 pm Posts: 410 Hello, I have an app that can open a graphic file in a canvas. I would like to be able to draw a circle or oval around a portion of that graphic and save it with the circle or oval that was just drawn How can I do that? Thanks. Lennox. Top kermit Post subject: Re: Highlighting an area in a graphicPosted: Tue Dec 27, 2011 3:15 pm Joined: Mon May 30, 2011 12:56 am Posts: 300 Open the picture into an in-memory picture, MemPic Draw onto MemPic.graphics using normal 2D drawing commands such as DrawRect or DrawOval. DrawPicture that picture (MemPic) on demand in the canvas' Paint event Save MemPic to disc if you want to. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
