Loading...
Searching...
No Matches
GeometryCollection.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5// !Warning! This file is autogenerated, modify the .codegen file, not this one
6// (any changes here will be wiped out during the autogen process)
7
8#ifndef PDFTRON_H_CPPPDFGeometryCollection
9#define PDFTRON_H_CPPPDFGeometryCollection
10#include <C/PDF/TRN_GeometryCollection.h>
11#include <PDF/Point.h>
12
13#include <Common/BasicTypes.h>
14#include <Common/UString.h>
15#include <PDF/PDFDoc.h>
16
17namespace pdftron { namespace PDF {
18
19
25{
26public:
27 //enums:
37 GeometryCollection(TRN_GeometryCollection impl);
40
41 void Destroy();
42
43 //methods:
44
53 Point SnapToNearest(double x, double y, UInt32 mode) const;
54
64 Point SnapToNearestPixel(double x, double y, double dpi, UInt32 mode) const;
65
66 //for xamarin use only
67 static GeometryCollection* CreateInternal(ptrdiff_t impl);
68 ptrdiff_t GetHandleInternal();
69
70
71#ifndef SWIGHIDDEN
72 TRN_GeometryCollection m_impl;
73#endif
74
75private:
76
77#ifndef SWIGHIDDEN
78 mutable bool m_owner;
79#endif
80};
81
82#include <Impl/GeometryCollection.inl>
83} //end pdftron
84} //end PDF
85
86
87#endif //PDFTRON_H_CPPPDFGeometryCollection
Point SnapToNearestPixel(double x, double y, double dpi, UInt32 mode) const
Point SnapToNearest(double x, double y, UInt32 mode) const
GeometryCollection(TRN_GeometryCollection impl)
GeometryCollection(const GeometryCollection &other)
static GeometryCollection * CreateInternal(ptrdiff_t impl)
GeometryCollection & operator=(const GeometryCollection &other)
TRN_UInt32 UInt32
Definition BasicTypes.h:13