iText 5

ClipperBase

ClipperBase Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.parser.clipper iTextSharp.text.pdf.parser.clipper.ClipperBase[[ClipperBase]] end

Members

Properties

Public properties

Type

Name

Methods

bool

PreserveCollinear

get, set

Methods

Internal Static methods

Returns

Name

bool

IsHorizontal

(

TEdge

e)

bool

SlopesEqual

(

TEdge

e1,

TEdge

e2, bool UseFullRange)

bool

near_zero

(double val)

Protected Static methods

Returns

Name

bool

SlopesEqual

(...)

Public Static methods

Returns

Name

IntRect

GetBounds

(List<List<

IntPoint

>> paths)

Public methods

Returns

Name

bool

AddPath

(List<

IntPoint

> pg,

PolyType

polyType, bool Closed)

bool

AddPaths

(List<List<

IntPoint

>> ppg,

PolyType

polyType, bool closed)

void

Clear

()

void

Swap

(ref long val1, ref long val2)

Internal methods

Returns

Name

bool

PointIsVertex

(

IntPoint

pt,

OutPt

pp)

bool

PointOnLineSegment

(

IntPoint

pt,

IntPoint

linePt1,

IntPoint

linePt2, bool UseFullRange)

bool

PointOnPolygon

(

IntPoint

pt,

OutPt

pp, bool UseFullRange)

bool

Pt2IsBetweenPt1AndPt3

(

IntPoint

pt1,

IntPoint

pt2,

IntPoint

pt3)

Protected methods

Returns

Name

void

PopLocalMinima

()

void

Reset

()

Details

Constructors

ClipperBase

Source code

internal ClipperBase()

Methods

near_zero

Source code

internal static bool near_zero(double val)

Arguments

Type

Name

Description

double

val

Swap

Source code

public void Swap(ref long val1, ref long val2)

Arguments

Type

Name

Description

ref

long

val1

ref

long

val2

IsHorizontal

Source code

internal static bool IsHorizontal(TEdge e)

Arguments

Type

Name

Description

TEdge

e

PointIsVertex

Source code

internal bool PointIsVertex(IntPoint pt, OutPt pp)

Arguments

Type

Name

Description

IntPoint

pt

OutPt

pp

PointOnLineSegment

Source code

internal bool PointOnLineSegment(IntPoint pt, IntPoint linePt1, IntPoint linePt2, bool UseFullRange)

Arguments

Type

Name

Description

IntPoint

pt

IntPoint

linePt1

IntPoint

linePt2

bool

UseFullRange

PointOnPolygon

Source code

internal bool PointOnPolygon(IntPoint pt, OutPt pp, bool UseFullRange)

Arguments

Type

Name

Description

IntPoint

pt

OutPt

pp

bool

UseFullRange

SlopesEqual [1/3]

Source code

internal static bool SlopesEqual(TEdge e1, TEdge e2, bool UseFullRange)

Arguments

Type

Name

Description

TEdge

e1

TEdge

e2

bool

UseFullRange

SlopesEqual [2/3]

Source code

protected static bool SlopesEqual(IntPoint pt1, IntPoint pt2, IntPoint pt3, bool UseFullRange)

Arguments

Type

Name

Description

IntPoint

pt1

IntPoint

pt2

IntPoint

pt3

bool

UseFullRange

SlopesEqual [3/3]

Source code

protected static bool SlopesEqual(IntPoint pt1, IntPoint pt2, IntPoint pt3, IntPoint pt4, bool UseFullRange)

Arguments

Type

Name

Description

IntPoint

pt1

IntPoint

pt2

IntPoint

pt3

IntPoint

pt4

bool

UseFullRange

Clear

Source code

public virtual void Clear()

AddPath

Source code

public bool AddPath(List<IntPoint> pg, PolyType polyType, bool Closed)

Arguments

Type

Name

Description

List<

IntPoint

>

pg

PolyType

polyType

bool

Closed

AddPaths

Source code

public bool AddPaths(List<List<IntPoint>> ppg, PolyType polyType, bool closed)

Arguments

Type

Name

Description

List<List<

IntPoint

>>

ppg

PolyType

polyType

bool

closed

Pt2IsBetweenPt1AndPt3

Source code

internal bool Pt2IsBetweenPt1AndPt3(IntPoint pt1, IntPoint pt2, IntPoint pt3)

Arguments

Type

Name

Description

IntPoint

pt1

IntPoint

pt2

IntPoint

pt3

PopLocalMinima

Source code

protected void PopLocalMinima()

Reset

Source code

protected virtual void Reset()

GetBounds

Source code

public static IntRect GetBounds(List<List<IntPoint>> paths)

Arguments

Type

Name

Description

List<List<

IntPoint

>>

paths

Properties

PreserveCollinear

public bool PreserveCollinear { get; set; }

Generated with ModularDoc