SVG for C++
Loading...
Searching...
No Matches
SVG::Element::BoundingBox Class Reference

Represents the top left and bottom right corners of a bounding rectangle. More...

#include <svg.hpp>

Inherits SVG::QuadCoord.

Public Member Functions

 BoundingBox (double a, double b, double c, double d)
BoundingBox operator+ (const BoundingBox &other) const

Additional Inherited Members

Public Attributes inherited from SVG::QuadCoord
double x1
double x2
double y1
double y2

Detailed Description

Represents the top left and bottom right corners of a bounding rectangle.

Member Function Documentation

◆ operator+()

BoundingBox SVG::Element::BoundingBox::operator+ ( const BoundingBox & other) const
inline

Return a new bounding box which envelopes both original boxes


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