Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::RadialClipPath Struct Reference

Shared reference box and center for radial CSS clipping shapes. More...

#include "donner/svg/properties/ClipPath.h"

Inheritance diagram for donner::svg::RadialClipPath:
[legend]

Classes

struct  Position
 One position coordinate, measured from the near or far edge of its reference box. More...

Public Types

enum class  Box {
  Fill ,
  Stroke ,
  View
}
 Reference geometry for the shape's size and position.
enum class  Radius {
  Length ,
  ClosestSide ,
  FarthestSide
}
 Radius interpretation: explicit length/percentage or distance to a reference-box side.

Public Member Functions

bool operator== (const RadialClipPath &) const =default

Public Attributes

Box box = Box::Stroke
 SVG's default border-box maps to stroke-box.
Position x
 Horizontal center position.
Position y
 Vertical center position.

Detailed Description

Shared reference box and center for radial CSS clipping shapes.


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