group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HudSvgRaster.hpp File Reference

CPU SVG raster helpers used by the HUD SVG atlas and tests. More...

#include "HudTypes.hpp"
#include <filesystem>
#include <string_view>
#include <vector>
Include dependency graph for HudSvgRaster.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HudSvgBitmap

Functions

std::string_view hudSvgFilename (HudIcon id)
HudIcon hudIconFromFilename (std::string_view filename)
HudSvgBitmap rasterizeHudSvg (const std::filesystem::path &path, int width, int height)

Detailed Description

CPU SVG raster helpers used by the HUD SVG atlas and tests.

Function Documentation

◆ hudIconFromFilename()

HudIcon hudIconFromFilename ( std::string_view filename)
nodiscard

◆ hudSvgFilename()

std::string_view hudSvgFilename ( HudIcon id)
nodiscard
Here is the caller graph for this function:

◆ rasterizeHudSvg()

HudSvgBitmap rasterizeHudSvg ( const std::filesystem::path & path,
int width,
int height )
nodiscard
Here is the caller graph for this function: