Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Image Drawing » DrawCrosshairs_SingleColor
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | FIL.h |
---|---|
Namespace: | fis |
Module: | FoundationLite |
Draws crosshairs on an image with a single colors.
Syntax
void fis::DrawCrosshairs_SingleColor ( const fil::Image& inImage, const ftl::Conditional<const ftl::Array<ftl::Conditional<fil::Location>>&> inLocations, ftl::Optional<const fil::CoordinateSystem2D&> inLocationAlignment, const fil::Pixel& inColor, const fil::DrawingStyle& inDrawingStyle, const bool inForceRgb, const fil::CrosshairShape::Type inCrosshairShape, fil::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inLocations | const Conditional<const Array<Conditional<Location>>&> | { } | |
![]() |
inLocationAlignment | Optional<const CoordinateSystem2D&> | NIL | |
![]() |
inColor | const Pixel& | ||
![]() |
inDrawingStyle | const DrawingStyle& | DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 5.0f Filled: False PointShape: Nil PointSize: 50.0f ) | |
![]() |
inForceRgb | const bool | True | Filter will convert monochromatic image to RGB if needed |
![]() |
inCrosshairShape | const CrosshairShape::Type | RoundFrame | |
![]() |
outImage | Image& | Output image |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inImage and outImage
Read more about In-place Computation.