8#ifndef ADOBE_EXTENTS_HPP
9#define ADOBE_EXTENTS_HPP
13#include <boost/operators.hpp>
24template <
typename T =
int>
25struct point_2d : boost::equality_comparable<point_2d<T>> {
55typedef std::vector<guide_set_t> point_of_interest_set_t;
67#if !defined(ADOBE_NO_DOCUMENTATION)
69 boost::equality_comparable<extents_t>
72 struct slice_t : boost::equality_comparable<slice_t> {
121 swap(x.length_m, y.length_m);
122 swap(x.outset_m, y.outset_m);
123 swap(x.frame_m, y.frame_m);
124 swap(x.inset_m, y.inset_m);
125 swap(x.guide_set_m, y.guide_set_m);
130 swap(x.slice_m, y.slice_m);
std::pair< int, int > pair_long_t
std::vector< int > guide_set_t
point_2d< int > point_2d_t
std::ostream & operator<<(std::ostream &s, const extents_t &x)
void swap(adobe::extents_t::slice_t &x, adobe::extents_t::slice_t &y) BOOST_NOEXCEPT
A utility class for referencing the two slices of a extents_t.
A class containing element geometry for a single orientation.
friend bool operator==(const slice_t &x, const slice_t &y)
An intrinsic geometry class for objects with a graphical representation.
const int & width() const
friend bool operator==(const extents_t &x, const extents_t &y)
std::array< slice_t, 2 > slice_m
const int & height() const
const slice_t & horizontal() const
const slice_t & vertical() const
A character string class for immutable strings.
point_2d(const T &x, const T &y)
friend void swap(const point_2d &x, const point_2d &y) BOOST_NOEXCEPT
friend bool operator==(const point_2d &x, const point_2d &y)