Pdftools SDK
Loading...
Searching...
No Matches
include
PdfTools_PdfToolsGeomUnits.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* File: PdfTools_PdfToolsGeomUnits.h
4
*
5
* Description: Sub Header file for Pdftools SDK
6
*
7
* Author: PDF Tools AG
8
*
9
* Copyright: Copyright (C) 2023 - 2024 PDF Tools AG, Switzerland
10
* All rights reserved.
11
*
12
* Notice: By downloading and using this artifact, you accept PDF Tools AG's
13
* [license agreement](https://www.pdf-tools.com/license-agreement/),
14
* [privacy policy](https://www.pdf-tools.com/privacy-policy/),
15
* and allow PDF Tools AG to track your usage data.
16
*
17
*****************************************************************************/
18
19
#ifndef PDFTOOLS_PDFTOOLSGEOMUNITS_H__
20
#define PDFTOOLS_PDFTOOLSGEOMUNITS_H__
21
22
#ifndef PDFTOOLS_CALL
23
#if defined(WIN32)
24
#define PDFTOOLS_CALL __stdcall
25
#else
26
#define PDFTOOLS_CALL
27
#endif
28
#endif
29
30
#include "
PdfTools_Types.h
"
31
#include "
PdfTools_PdfToolsSys.h
"
32
33
#ifdef __cplusplus
34
extern
"C"
35
{
36
#endif
37
38
#ifdef _UNICODE
39
#else
40
#endif
41
51
PDFTOOLS_EXPORT
double
PDFTOOLS_CALL
PdfToolsGeomUnits_Length_CreateFrom_inch
(
double
dInches);
61
PDFTOOLS_EXPORT
double
PDFTOOLS_CALL
PdfToolsGeomUnits_Length_CreateFrom_mm
(
double
dMillimetres);
71
PDFTOOLS_EXPORT
double
PDFTOOLS_CALL
PdfToolsGeomUnits_Length_ConvertTo_inch
(
double
dLength);
81
PDFTOOLS_EXPORT
double
PDFTOOLS_CALL
PdfToolsGeomUnits_Length_ConvertTo_mm
(
double
dLength);
82
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
/* PDFTOOLS_PDFTOOLSGEOMUNITS_H__ */
PdfToolsGeomUnits_Length_CreateFrom_mm
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_mm(double dMillimetres)
Convert millimetre to point.
PdfToolsGeomUnits_Length_CreateFrom_inch
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_inch(double dInches)
Convert inch to point.
PdfToolsGeomUnits_Length_ConvertTo_inch
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_inch(double dLength)
Convert point to inch.
PdfToolsGeomUnits_Length_ConvertTo_mm
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_mm(double dLength)
Convert point to millimetre.
PDFTOOLS_CALL
#define PDFTOOLS_CALL
Definition
PdfTools_PdfToolsGeomUnits.h:26
PdfTools_PdfToolsSys.h
PDFTOOLS_EXPORT
#define PDFTOOLS_EXPORT
Definition
PdfTools_Platform.h:143
PdfTools_Types.h
Generated by
1.10.0