-
- Downloads
Implement viewWillMoveToWindow: and viewDidChangeBackingProperties for Retina
In them, call SetDPI on the vtkRenderWindow to scale things so that vtkTextActors have the correct apparent size, per the display's scaling factor. Updated both OpenGL2 and old OpenGL versions of the class.
Showing
- Common/Core/vtkWindow.h 1 addition, 1 deletionCommon/Core/vtkWindow.h
- Rendering/OpenGL/vtkCocoaGLView.h 3 additions, 0 deletionsRendering/OpenGL/vtkCocoaGLView.h
- Rendering/OpenGL/vtkCocoaGLView.mm 39 additions, 0 deletionsRendering/OpenGL/vtkCocoaGLView.mm
- Rendering/OpenGL2/vtkCocoaGLView.h 3 additions, 0 deletionsRendering/OpenGL2/vtkCocoaGLView.h
- Rendering/OpenGL2/vtkCocoaGLView.mm 39 additions, 0 deletionsRendering/OpenGL2/vtkCocoaGLView.mm
Loading
Please register or sign in to comment