LibreOffice Module vcl (master) 1
Macros | Functions
outdev/hatch.cxx File Reference
#include <cassert>
#include <cstdlib>
#include <osl/diagnose.h>
#include <tools/line.hxx>
#include <tools/helpers.hxx>
#include <unotools/configmgr.hxx>
#include <vcl/hatch.hxx>
#include <vcl/metaact.hxx>
#include <vcl/settings.hxx>
#include <vcl/outdev.hxx>
#include <vcl/virdev.hxx>
#include <drawmode.hxx>
#include <salgdi.hxx>
#include <memory>
Include dependency graph for outdev/hatch.cxx:

Go to the source code of this file.

Macros

#define HATCH_MAXPOINTS   1024
 

Functions

static int HatchCmpFnc (const void *p1, const void *p2)
 
static bool HasSaneNSteps (const Point &rPt1, const Point &rEndPt1, const Size &rInc)
 

Macro Definition Documentation

◆ HATCH_MAXPOINTS

#define HATCH_MAXPOINTS   1024

Definition at line 40 of file outdev/hatch.cxx.

Function Documentation

◆ HasSaneNSteps()

static bool HasSaneNSteps ( const Point &  rPt1,
const Point &  rEndPt1,
const Size rInc 
)
static

Definition at line 123 of file outdev/hatch.cxx.

References o3tl::checked_sub(), Size::Height(), SAL_WARN, and Size::Width().

Referenced by OutputDevice::DrawHatch().

◆ HatchCmpFnc()

static int HatchCmpFnc ( const void *  p1,
const void *  p2 
)
static

Definition at line 44 of file outdev/hatch.cxx.

References Point, X, and Y.

Referenced by OutputDevice::DrawHatchLine().