Back to FabImage Library website

You are here: Start » Function Reference » Path » Path Features » PathBoundingBox

PathBoundingBox


Header: FIL.h
Namespace: fil
Module: FoundationLite

Computes the smallest box containing a path.

Syntax

C++
C#
 
void fil::PathBoundingBox
(
	const fil::Path& inPath,
	fil::Box& outBoundingBox
)

Parameters

Name Type Default Description
Input value
inPath const Path& Input path
Output value
outBoundingBox Box&

Examples

The resulting outBoundingBox box drawn onto the sample path.

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathBoundingBox.

See Also