LibreOffice Module basegfx (master) 1
Namespaces | Functions | Variables
rectcliptools.hxx File Reference
#include <sal/types.h>
#include <basegfx/range/b2ibox.hxx>
Include dependency graph for rectcliptools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  basegfx
 
namespace  basegfx::utils
 
namespace  basegfx::utils::RectClipFlags
 

Functions

template<class Point , class Rect >
sal_uInt32 basegfx::utils::getCohenSutherlandClipFlags (const Point &rP, const Rect &rR)
 Calc clip mask for Cohen-Sutherland rectangle clip. More...
 
template<class Point >
sal_uInt32 basegfx::utils::getCohenSutherlandClipFlags (const Point &rP, const B2IBox &rB)
 Cohen-Sutherland mask calculation - overload for boxes. More...
 

Variables

const sal_uInt32 basegfx::utils::RectClipFlags::LEFT = sal_Int32(0x01)
 
const sal_uInt32 basegfx::utils::RectClipFlags::RIGHT = sal_Int32(0x02)
 
const sal_uInt32 basegfx::utils::RectClipFlags::TOP = sal_Int32(0x04)
 
const sal_uInt32 basegfx::utils::RectClipFlags::BOTTOM = sal_Int32(0x08)