Path.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/array.h>
5 
6 #include "Aspose.PDF.Cpp/Generator/Drawing/Shape.h"
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 class Operator;
14 class Rectangle;
15 } // namespace Pdf
16 } // namespace Aspose
17 namespace System
18 {
19 namespace Collections
20 {
21 namespace Generic
22 {
23 template <typename> class List;
24 } // namespace Generic
25 } // namespace Collections
26 namespace Xml
27 {
28 class XmlReader;
29 class XmlTextWriter;
30 } // namespace Xml
31 } // namespace System
32 
33 namespace Aspose {
34 
35 namespace Pdf {
36 
37 namespace Drawing {
38 
42 class ASPOSE_PDF_SHARED_CLASS Path final : public Aspose::Pdf::Drawing::Shape
43 {
44  typedef Path ThisType;
46 
47  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
48  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
49 
50 public:
51 
56 
61  ASPOSE_PDF_SHARED_API Path(System::ArrayPtr<System::SharedPtr<Shape>> shapes);
65  ASPOSE_PDF_SHARED_API Path();
66 
67 protected:
68 
69  ASPOSE_PDF_SHARED_API void GetPathOperators(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Operator>>> operators) override;
70  ASPOSE_PDF_SHARED_API System::SharedPtr<Pdf::Rectangle> GetRect() override;
71  ASPOSE_PDF_SHARED_API void Serialize(System::SharedPtr<System::Xml::XmlTextWriter> writer) override;
72  ASPOSE_PDF_SHARED_API void Deserialize(System::SharedPtr<System::Xml::XmlReader> reader) override;
73 
74 private:
75 
77 
78 };
79 
80 } // namespace Drawing
81 } // namespace Pdf
82 } // namespace Aspose
83 
84 
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:17
Definition: Artifact.h:67
Represents arc.
Definition: Path.h:42
Represents shape - the base graphics object.
Definition: Shape.h:60
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
means saving in XML format
Definition: AFRelationship.h:4
List forward declaration.
Definition: Artifact.h:74
means saving without change of format, i.e. as PDF use it please instead of &#39;SaveFormat.None&#39;, that is obsolete one
Whole PDF file will be submitted.