opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
formats
svg.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
liboscar/graphics/texture2d.h
>
4
5
#include <iosfwd>
6
7
namespace
osc
8
{
9
class
SVG
final
{
10
public
:
11
static
Texture2D
read_into_texture
(
12
std::istream&,
13
float
scale
= 1.0f,
14
float
device_pixel_ratio = 1.0f
15
);
16
};
17
18
}
osc::SVG
Definition
svg.h:9
osc::SVG::read_into_texture
static Texture2D read_into_texture(std::istream &, float scale=1.0f, float device_pixel_ratio=1.0f)
osc::Texture2D
Definition
texture2d.h:22
osc
Definition
custom_decoration_generator.h:5
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
osc::scale
Matrix< T, 4, 4 > scale(const Matrix< T, 4, 4 > &m, const Vector< T, 3 > &v)
Definition
matrix_functions.h:78
texture2d.h
Generated by
1.9.8