Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image » Image Drawing » DrawShapeRegion

DrawShapeRegion


Header: AVL.h
Namespace: avl
Module: FoundationLite

Draws a shape region on an image.

Syntax

C++
C#
 
void avl::DrawShapeRegion
(
	avl::Image& ioImage,
	const avl::ShapeRegion& inRoi,
	atl::Optional<const avl::CoordinateSystem2D&> inRegionAlignment,
	const avl::Pixel& inColor,
	const avl::DrawingStyle& inDrawingStyle,
	const bool inForceRgb
)

Parameters

Name Type Default Description
ioImage Image&
inRoi const ShapeRegion& Range of pixels to be processed
inRegionAlignment Optional<const CoordinateSystem2D&> NIL
inColor const Pixel&
inDrawingStyle const DrawingStyle& DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f )
inForceRgb const bool True Filter will convert monochromatic image to RGB if needed