VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSvgRasterizer.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 #include <string>
16 #include <vector>
17 
18 namespace makVrv
19 {
20 
35  {
36  public:
47  static bool rasterize( const std::string& svgString, DtBitmapData& bitmapData );
48 
69  static bool rasterize( const std::vector<std::string>& svgLayers, DtBitmapData& bitmapData );
70 
82  static void precacheFonts( const std::string& fontsDir = std::string() );
83  };
84 
85 } // namespace makVrv
Converts an SVG string into a pixel buffer suitable for uploading as an OpenGL texture.
Definition: DtSvgRasterizer.h:34
Simple pixel buffer for rasterized image data.
Definition: DtBitmapData.h:31
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
Contains makVrv::DtBitmapData struct.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)