70001715 ViewCube Axis Osnap Grip sizes to follow the display scale

Article 70001715
Type Wish
Product Engine
Date Added 3/22/2020 12:00:00 AM
Fixed 8.8005.0.1 (3/24/2020 12:00:00 AM)
Submitted by Deswik

Summary

ViewCube Axis Osnap Grip sizes to follow the display scale

Solution

In version 8005.0.1 the follow properties of vdDocument.GlobalRenderProperties was added

ScalePixelValues
Get / Set a global value that defines if the
GripSize OsnapSize PickSize AxisSize CrossSize CSAxisSize CSAxisWidth properties
will be scaled according to the screen resolution scale VectorDraw.Render.vdRenderGlobalProperties.ScreenDPI
Default value is true and the values are automatically scaled in order to keep the same size in screen
independ the selected screen resolution scale

ScaledPixelValue
Returns the division between Standard Screen Resolution(96dpi) to Screen Selected Resolution VectorDraw.Render.vdRenderGlobalProperties.ScreenScale

Use the new properties GripSizeScaled OsnapSizeScaled PickSizeScaled AxisSizeScaled CrossSizeScaled CSAxisSizeScaled CSAxisWidthScaled
instead of GripSize OsnapSize PickSize AxisSize CrossSize CSAxisSize CSAxisWidth
to always get the value according to ScalePixelValues and ScaledPixelValue properties

Send comments on this topic.