Pdftools SDK
Loading...
Searching...
No Matches
Macros | Functions
PdfTools_PdfToolsGeomUnits.h File Reference
#include "PdfTools_Types.h"
#include "PdfTools_PdfToolsSys.h"

Go to the source code of this file.

Macros

#define PDFTOOLS_CALL
 

Functions

PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_inch (double dInches)
 Convert inch to point.
 
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_mm (double dMillimetres)
 Convert millimetre to point.
 
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_inch (double dLength)
 Convert point to inch.
 
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_mm (double dLength)
 Convert point to millimetre.
 

Macro Definition Documentation

◆ PDFTOOLS_CALL

#define PDFTOOLS_CALL

Function Documentation

◆ PdfToolsGeomUnits_Length_ConvertTo_inch()

PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_inch ( double dLength)

Convert point to inch.

Helper function for the conversion between units.

Parameters
[in]dLengthLength in point that is subject to conversion.
Returns
Length in inch.

◆ PdfToolsGeomUnits_Length_ConvertTo_mm()

PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_mm ( double dLength)

Convert point to millimetre.

Helper function for the conversion between units.

Parameters
[in]dLengthLength in point that is subject to conversion.
Returns
Length in millimetre.

◆ PdfToolsGeomUnits_Length_CreateFrom_inch()

PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_inch ( double dInches)

Convert inch to point.

Helper function for the conversion between units.

Parameters
[in]dInchesLength in inch that is subject to conversion.
Returns
Length in point.

◆ PdfToolsGeomUnits_Length_CreateFrom_mm()

PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_mm ( double dMillimetres)

Convert millimetre to point.

Helper function for the conversion between units.

Parameters
[in]dMillimetresLength in millimetre that is subject to conversion.
Returns
Length in point.