Classes | |
| class | Point2d |
| 2D Point class More... | |
| class | Range2d |
| 2d Range template class More... | |
| class | SnappingRanges2d |
Enumerations | |
| enum | RangeKind { finiteRange, nullRange, worldRange } |
Kinds of a range. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Point2d &p) |
| Output operator. | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &os, const Range2d< T > &rect) |
| template<typename T > | |
| bool | operator== (const Range2d< T > &r1, const Range2d< T > &r2) |
| template<typename T > | |
| bool | operator!= (const Range2d< T > &r1, const Range2d< T > &r2) |
| template<typename T > | |
| bool | Intersect (const Range2d< T > &r1, const Range2d< T > &r2) |
| Return true of the two ranges intersect (boundaries included). | |
| template<typename T > | |
| Range2d< T > | Union (const Range2d< T > &r1, const Range2d< T > &r2) |
| Return a rectangle being the union of the two rectangles. | |
| template<typename T > | |
| Range2d< T > | Intersection (const Range2d< T > &r1, const Range2d< T > &r2) |
| Return a rectangle being the intersetion of the two rectangles. | |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &os, const SnappingRanges2d< T > &r) |
| bool | pointTest (const std::vector< Path > &paths, const std::vector< LineStyle > &lineStyles, boost::int32_t x, boost::int32_t y, const SWFMatrix &wm) |
| bool gnash::geometry::Intersect | ( | const Range2d< T > & | r1, | |
| const Range2d< T > & | r2 | |||
| ) | [inline] |
Return true of the two ranges intersect (boundaries included).
References gnash::geometry::Range2d< T >::intersects().
Referenced by main().
| Range2d<T> gnash::geometry::Intersection | ( | const Range2d< T > & | r1, | |
| const Range2d< T > & | r2 | |||
| ) | [inline] |
Return a rectangle being the intersetion of the two rectangles.
Any NULL operand will make the result also NULL.
References gnash::geometry::Range2d< T >::intersects(), gnash::geometry::Range2d< T >::isNull(), and gnash::geometry::Range2d< T >::isWorld().
Referenced by main(), gnash::SdlAggGlue::setInvalidatedRegions(), gnash::Kde4Gui::setInvalidatedRegions(), gnash::HaikuAggGlue::setInvalidatedRegions(), gnash::FltkGui::setInvalidatedRegions(), gnash::FBGui::setInvalidatedRegions(), gnash::AOS4CairoGlue::setInvalidatedRegions(), and gnash::AOS4AggGlue::setInvalidatedRegions().
| bool gnash::geometry::operator!= | ( | const Range2d< T > & | r1, | |
| const Range2d< T > & | r2 | |||
| ) | [inline] |
| std::ostream& gnash::geometry::operator<< | ( | std::ostream & | os, | |
| const SnappingRanges2d< T > & | r | |||
| ) |
| std::ostream& gnash::geometry::operator<< | ( | std::ostream & | os, | |
| const Range2d< T > & | rect | |||
| ) | [inline] |
| std::ostream& gnash::geometry::operator<< | ( | std::ostream & | os, | |
| const Point2d & | p | |||
| ) | [inline] |
Output operator.
References gnash::geometry::Point2d::x, and gnash::geometry::Point2d::y.
| bool gnash::geometry::operator== | ( | const Range2d< T > & | r1, | |
| const Range2d< T > & | r2 | |||
| ) | [inline] |
| bool gnash::geometry::pointTest | ( | const std::vector< Path > & | paths, | |
| const std::vector< LineStyle > & | lineStyles, | |||
| boost::int32_t | x, | |||
| boost::int32_t | y, | |||
| const SWFMatrix & | wm | |||
| ) |
Referenced by gnash::DynamicShape::pointTestLocal(), and gnash::SWF::DefineShapeTag::pointTestLocal().
| Range2d<T> gnash::geometry::Union | ( | const Range2d< T > & | r1, | |
| const Range2d< T > & | r2 | |||
| ) | [inline] |
Return a rectangle being the union of the two rectangles.
References gnash::geometry::Range2d< T >::expandTo().
Referenced by main().
1.7.1