Sorry I guess I didn't quite state what I was going for. Yes, the
image gets cut off by the canvas bounds. What I am looking for is a
way to draw the rotated image in the upper left hand corner of the
canvas.
Is there a way to find out at what x,y to draw the rotated image, so
that it is drawn as close to 0,0 as possible. Example of what I'm
trying to make it look like.
http://www.filefarmer.com/dimmensionx/forjoe2.JPG
How do you know at what coordinates to draw the picture so that is
does not get cut off by the canvas bounds, yet the upper edge remains
as close to 0,0 as possible?
Thanks.
On 9/21/05, Joseph J. Strout <joe at realsoftware dot com> wrote:
> At 8:26 PM -0500 9/21/05, Andrew Krebs wrote:
>
> > Canvas1.Graphics.DrawRect 0,0,Canvas1.Width,Canvas1.Height
> > Canvas1.Graphics.DrawObject px,0,0
> > Canvas1.Graphics.DrawObject px,150,150
> >
> >And to illustrate my point, a picture!
> >http://www.filefarmer.com/dimmensionx/forjoe.gif
>
> Sorry, I don't see what's wrong with this picture. You have one
> drawn at 0,0, cut off by the canvas bounds exactly like it should be,
> and another drawn in the center, apparently not cut off (unless I'm
> misunderstanding what the original image looks like). What's the
> problem?
>
> Best,
> - Joe
>
> --
> Joe Strout REAL Software, Inc.
>
> Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
> http://linux.sys-con.com/general/readerschoice.htm
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
>
--
Andrew Krebs
andykr at gmail dot com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|