Back to Adaptive Vision Library website

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

DrawCrosshair


Header: AVL.h
Namespace: avl
Module: FoundationLite

Draws a crosshair on an image.

Syntax

C++
C#
 
void avl::DrawCrosshair
(
	avl::Image& ioImage,
	const avl::Location& inLocation,
	atl::Optional<const avl::CoordinateSystem2D&> inLocationAlignment,
	const avl::Pixel& inColor,
	const avl::CrosshairShape::Type inCrosshairShape,
	const avl::DrawingStyle& inDrawingStyle
)

Parameters

Name Type Default Description
Input will be modified
ioImage Image&
Input value
inLocation const Location&
Input value
inLocationAlignment Optional<const CoordinateSystem2D&> NIL
Input value
inColor const Pixel&
Input value
inCrosshairShape const CrosshairShape::Type
Input value
inDrawingStyle const DrawingStyle&