![]()  | 
  
    VCV Rack API v2
    
   | 
 
#include <memory>#include <nanovg.h>#include <nanosvg.h>#include <common.hpp>#include <math.hpp>Go to the source code of this file.
Classes | |
| struct | rack::window::Svg | 
| Scalable Vector Graphics document.  More... | |
Namespaces | |
| namespace | rack | 
| Root namespace for the Rack API.  | |
| namespace | rack::window | 
| Handles OS windowing, OpenGL, and NanoVG.  | |
Functions | |
| float | rack::window::in2px (float in) | 
| Converts inch measurements to pixels.   | |
| math::Vec | rack::window::in2px (math::Vec in) | 
| float | rack::window::mm2px (float mm) | 
| Converts millimeter measurements to pixels.   | |
| math::Vec | rack::window::mm2px (math::Vec mm) | 
| void | rack::window::svgDraw (NVGcontext *vg, NSVGimage *svg) | 
Variables | |
| DEPRECATED typedef Svg | rack::window::SVG | 
| static const float | rack::window::SVG_DPI = 75.f | 
| Arbitrary DPI, standardized for Rack.   | |
| static const float | rack::window::MM_PER_IN = 25.4f |