cart: empty [ Login ]

TransformationProvider.ViewScaling

1 
Marcellus Zebra
1/26/2012 10:17 AM
Hi, I'm working with a Track Bar for zoom (for users without weel). In Extended View Example I added a really simple method as: public void Zoom(double zoom){  mTransformationProvider.ViewScaling = zoom; } This works. In effect the view is scaled but I don't understand the values. For big values the scale is little and viceversa. How it work? How is calculated then mTransformationProvider.ViewScaling? thank's, marc.
Wout
1/26/2012 10:45 AM
Hi, Have a look at the documentation: 'The view scaling is the size of the model which is fit unto the screen...' - Wout
1