webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::ShapeInterval< T > Class Template Reference

#include <ShapeInterval.h>

Public Member Functions

 ShapeInterval ()
 
 ShapeInterval (T x1, T x2)
 
bool isUndefined () const
 
T x1 () const
 
T x2 () const
 
T width () const
 
bool isEmpty () const
 
void set (T x1, T x2)
 
bool overlaps (const ShapeInterval< T > &interval) const
 
bool contains (const ShapeInterval< T > &interval) const
 
void unite (const ShapeInterval< T > &interval)
 
bool operator== (const ShapeInterval< T > &other) const
 
bool operator!= (const ShapeInterval< T > &other) const
 
 ShapeInterval ()
 
 ShapeInterval (T x1, T x2)
 
bool isUndefined () const
 
T x1 () const
 
T x2 () const
 
T width () const
 
bool isEmpty () const
 
void set (T x1, T x2)
 
bool overlaps (const ShapeInterval< T > &interval) const
 
bool contains (const ShapeInterval< T > &interval) const
 
void unite (const ShapeInterval< T > &interval)
 
bool operator== (const ShapeInterval< T > &other) const
 
bool operator!= (const ShapeInterval< T > &other) const
 

Constructor & Destructor Documentation

◆ ShapeInterval() [1/4]

template<typename T>
WebCore::ShapeInterval< T >::ShapeInterval ( )
inline

◆ ShapeInterval() [2/4]

template<typename T>
WebCore::ShapeInterval< T >::ShapeInterval ( T  x1,
T  x2 
)
inline

◆ ShapeInterval() [3/4]

template<typename T>
WebCore::ShapeInterval< T >::ShapeInterval ( )
inline

◆ ShapeInterval() [4/4]

template<typename T>
WebCore::ShapeInterval< T >::ShapeInterval ( T  x1,
T  x2 
)
inline

Member Function Documentation

◆ contains() [1/2]

template<typename T>
bool WebCore::ShapeInterval< T >::contains ( const ShapeInterval< T > &  interval) const
inline

◆ contains() [2/2]

template<typename T>
bool WebCore::ShapeInterval< T >::contains ( const ShapeInterval< T > &  interval) const
inline

◆ isEmpty() [1/2]

template<typename T>
bool WebCore::ShapeInterval< T >::isEmpty ( void  ) const
inline

◆ isEmpty() [2/2]

template<typename T>
bool WebCore::ShapeInterval< T >::isEmpty ( void  ) const
inline

◆ isUndefined() [1/2]

template<typename T>
bool WebCore::ShapeInterval< T >::isUndefined ( ) const
inline

◆ isUndefined() [2/2]

template<typename T>
bool WebCore::ShapeInterval< T >::isUndefined ( ) const
inline

◆ operator!=() [1/2]

template<typename T>
bool WebCore::ShapeInterval< T >::operator!= ( const ShapeInterval< T > &  other) const
inline

◆ operator!=() [2/2]

template<typename T>
bool WebCore::ShapeInterval< T >::operator!= ( const ShapeInterval< T > &  other) const
inline

◆ operator==() [1/2]

template<typename T>
bool WebCore::ShapeInterval< T >::operator== ( const ShapeInterval< T > &  other) const
inline

◆ operator==() [2/2]

template<typename T>
bool WebCore::ShapeInterval< T >::operator== ( const ShapeInterval< T > &  other) const
inline

◆ overlaps() [1/2]

template<typename T>
bool WebCore::ShapeInterval< T >::overlaps ( const ShapeInterval< T > &  interval) const
inline

◆ overlaps() [2/2]

template<typename T>
bool WebCore::ShapeInterval< T >::overlaps ( const ShapeInterval< T > &  interval) const
inline

◆ set() [1/2]

template<typename T>
void WebCore::ShapeInterval< T >::set ( T  x1,
T  x2 
)
inline

◆ set() [2/2]

template<typename T>
void WebCore::ShapeInterval< T >::set ( T  x1,
T  x2 
)
inline

◆ unite() [1/2]

template<typename T>
void WebCore::ShapeInterval< T >::unite ( const ShapeInterval< T > &  interval)
inline

◆ unite() [2/2]

template<typename T>
void WebCore::ShapeInterval< T >::unite ( const ShapeInterval< T > &  interval)
inline

◆ width() [1/2]

template<typename T>
T WebCore::ShapeInterval< T >::width ( ) const
inline

◆ width() [2/2]

template<typename T>
T WebCore::ShapeInterval< T >::width ( ) const
inline

◆ x1() [1/2]

template<typename T>
T WebCore::ShapeInterval< T >::x1 ( ) const
inline

◆ x1() [2/2]

template<typename T>
T WebCore::ShapeInterval< T >::x1 ( ) const
inline

◆ x2() [1/2]

template<typename T>
T WebCore::ShapeInterval< T >::x2 ( ) const
inline

◆ x2() [2/2]

template<typename T>
T WebCore::ShapeInterval< T >::x2 ( ) const
inline

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