On Sat, Jan 28, 2012 at 08:39, Christopher Sean Morrison <[email protected]> wrote: > On Jan 28, 2012, at 7:54 AM, Tom Browder wrote: ... >> For rtedge I would like the autoview to center the view on the >> bounding box of the objects in view ... > Assuming you don't run the viewsize command, it already is centered > on the bounding box.
Oops, my bad. You're right--I just lost my head over the apparent white space at the top. > A start could be to modify the autoview command > > (src/libged/autoview.c) to take an optional scaling argument. > Then it'd be a bit easier to expose that parameter through to tools for Okay, good. > I'd also want to change the sizing behavior to not consider the viewing > diagonal and instead look at the minimum view width/height value so > > it's > always in view and it's a percentage of the smallest dimension. That would be my choice for first to be done, but shouldn't that be max if we are using a square pixmap? Cheers! -Tom ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
