Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
GeodeSurfaceRenderer.h File Reference

Presents SVG documents to a host-owned window surface (a Core Animation Metal layer or a browser canvas) with the Geode renderer. More...

#include <cstdint>
#include <memory>
#include <ostream>
#include <string>
#include <string_view>
#include "donner/base/Vector2.h"
Include dependency graph for GeodeSurfaceRenderer.h:

Classes

class  donner::svg::GeodeSurfaceRenderer
 Renders SVG documents with Geode directly into a window surface the host owns, keeping every frame on the GPU from rendering through presentation. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.

Functions

std::ostream & donner::svg::operator<< (std::ostream &os, GeodeSurfaceRenderer::FrameStatus status)
 Writes the enumerator name of status, for logs and test failure messages.

Detailed Description

Presents SVG documents to a host-owned window surface (a Core Animation Metal layer or a browser canvas) with the Geode renderer.