Back to Adaptive Vision Library Lite website

You are here: Start » Image » Image Drawing » DrawVector

DrawVector


Header: AVL.h
Namespace: avl

Draws a vector at an associated initial point on an image.

Syntax

void avl::DrawVector
(
	avl::Image& ioImage,
	const avl::Vector2D& inVector,
	const avl::Point2D& inInitialPoint,
	atl::Optional<const avl::CoordinateSystem2D&> inVectorAlignment,
	const avl::Pixel& inColor,
	const avl::DrawingStyle& inDrawingStyle,
	const float inHeadSize
)

Parameters

Name Type Default Description
ioImage Image&
inVector const Vector2D&
inInitialPoint const Point2D&
inVectorAlignment Optional<const CoordinateSystem2D&> NIL
inColor const Pixel&
inDrawingStyle const DrawingStyle&
inHeadSize const float 5.0f