Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
PreserveAspectRatio.h File Reference

Defines PreserveAspectRatio for SVG aspect ratio preservation. More...

#include <optional>
#include <ostream>
#include "donner/base/Box.h"
#include "donner/base/Transform.h"
Include dependency graph for PreserveAspectRatio.h:
This graph shows which files directly or indirectly include this file:

Classes

class  donner::svg::PreserveAspectRatio
 Handles SVG's preserveAspectRatio attribute. 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, PreserveAspectRatio::Align value)
 Outputs Align value to stream (e.g., "Align::XMidYMid")
 
std::ostream & donner::svg::operator<< (std::ostream &os, PreserveAspectRatio::MeetOrSlice value)
 Outputs MeetOrSlice value to stream (e.g., "MeetOrSlice::Meet")
 

Detailed Description

Defines PreserveAspectRatio for SVG aspect ratio preservation.