Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Drawing » DrawCoordinateSystem
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Draws a pair of arrows representing a coordinate system on an image.
Syntax
C++
C#
void fil::DrawCoordinateSystem ( fil::Image& ioImage, const fil::CoordinateSystem2D& inCoordinateSystem, ftl::Optional<const fil::CoordinateSystem2D&> inCoordinateSystemAlignment, const fil::Pixel& inColor, const fil::DrawingStyle& inDrawingStyle, const float inArrowSize, const float inPixelScale )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioImage | Image& | ||||
inCoordinateSystem | const CoordinateSystem2D& | ||||
inCoordinateSystemAlignment | Optional<const CoordinateSystem2D&> | NIL | |||
inColor | const Pixel& | ||||
inDrawingStyle | const DrawingStyle& | ||||
inArrowSize | const float | 0.0 - | 5.0f | ||
inPixelScale | const float | 0.0 - | 20.0f | How many pixels long will be axis of a coordinate system with unit scale |