Donner 0.5.0
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::AsciiImage Struct Reference

Stores an ASCII representation of a rendered image, and supports diffing it to another image. More...

#include "donner/svg/renderer/tests/RendererTestUtils.h"

Collaboration diagram for donner::svg::AsciiImage:
[legend]

Classes

struct  BackendMatcher
 Match against backend-specific goldens. More...

Public Member Functions

bool matches (std::string_view golden) const
 Compare the rendered ASCII image to a golden ASCII string.
BackendMatcher matchBackend () const

Public Attributes

std::string generated
 ASCII art of generated image, with lines separated by \n.

Detailed Description

Stores an ASCII representation of a rendered image, and supports diffing it to another image.


The documentation for this struct was generated from the following file: