Back to FabImage Library website
You are here: Start » Function Reference » Basic » Unit Conversions » PixelsToMillimetres
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Converts a length in pixels to millimetres using the given scale [px / mm].
Syntax
void fil::PixelsToMillimetres ( float inPixels, float inScale, float& outMillimetres )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPixels | float | ||
![]() |
inScale | float | px / mm | |
![]() |
outMillimetres | float& |