Back to FabImage Library Lite website

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

DrawCrosshair


Header: FIL.h
Namespace: fil

Draws a crosshair on an image.

Syntax

void fil::DrawCrosshair
(
	fil::Image& ioImage,
	const fil::Location& inLocation,
	ftl::Optional<const fil::CoordinateSystem2D&> inLocationAlignment,
	const fil::Pixel& inColor,
	const fil::CrosshairShape::Type inCrosshairShape,
	const fil::DrawingStyle& inDrawingStyle
)

Parameters

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