Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Drawing » DrawVector
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Draws a vector at an associated initial point on an image.
Syntax
C++
C#
void fil::DrawVector ( fil::Image& ioImage, const fil::Vector2D& inVector, const fil::Point2D& inInitialPoint, ftl::Optional<const fil::CoordinateSystem2D&> inVectorAlignment, const fil::Pixel& inColor, const fil::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 |