Back to Adaptive Vision Library website

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

DrawVector


Header: AVL.h
Namespace: avl
Module: FoundationLite

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

Syntax

C++
C#
 
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
Input will be modified
ioImage Image&
Input value
inVector const Vector2D&
Input value
inInitialPoint const Point2D&
Input value
inVectorAlignment Optional<const CoordinateSystem2D&> NIL
Input value
inColor const Pixel&
Input value
inDrawingStyle const DrawingStyle&
Input value
inHeadSize const float 5.0f