|
Well I tried this and it “breaks”
how my glass pane lines up with my JSVGCanvas. How does the viewBox relate to
the translations I’ve imposed on my JSVGCanvas? I thought the viewBox
was just the viewable area of my JSVGCanvas, so I set 0 0 [width] [height], but
my drawing is above and to the left of my mouse, like it doesn’t take the
menu and canvas position into account. Michael Bishop From: Bishop, Michael
W. CONTR J9C880 [mailto:[EMAIL PROTECTED] No, you can only move within the confines
of the document. If it's 640x480, you can't drag it past those
bounds. Of course if you zoom in, I doubt the scroll bars will
automatically scroll if you're off the viewable area. So I should set my
viewBox to 0, 0, w, h of the document it seems. No dynamic dimensions
needed; the only way to resize the document is through a menu function and I'll
just update the viewBox to the new width/height. Michael Bishop From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi
Michael, |
RE: Drag and drop breaks with a JSVGScrollPane?
Bishop, Michael W. CONTR J9C880 Mon, 05 Dec 2005 09:30:53 -0800
Title: RE: Drag and drop breaks with a JSVGScrollPane?
- RE: Drag and drop breaks with a JSVGScroll... Bishop, Michael W. CONTR J9C880
- RE: Drag and drop breaks with a JSVGS... Bishop, Michael W. CONTR J9C880
