PoDoFo  1.0.0-dev
PdfExtGState.h
1 
7 #ifndef PDF_EXTGSTATE_H
8 #define PDF_EXTGSTATE_H
9 
10 #include "PdfElement.h"
11 
12 namespace PoDoFo {
13 
14 class PdfGraphicsStateWrapper;
15 
21 class PODOFO_API PdfExtGState final : public PdfDictionaryElement
22 {
23  friend class PdfDocument;
24  friend class PdfGraphicsStateWrapper;
25 
26 private:
34  PdfExtGState(const PdfExtGState&) = default;
35 
36 public:
40  void SetFillOpacity(nullable<double> opacity);
41 
45  void SetStrokeOpacity(nullable<double> opacity);
46 
50  void SetBlendMode(nullable<PdfBlendMode> blendMode);
51 
55  void SetOverprintEnabled(nullable<bool> enabled);
56 
60  void SetFillOverprintEnabled(nullable<bool> enabled);
61 
65  void SetStrokeOverprintEnabled(nullable<bool> enabled);
66 
70  void SetNonZeroOverprintEnabled(nullable<bool> enabled);
71 
75  void SetRenderingIntent(nullable<PdfRenderingIntent> intent);
76 
80  void SetFrequency(double frequency);
81 };
82 
83 };
84 
85 #endif // PDF_EXTGSTATE_H
86 
PdfDocument is the core interface for working with PDF documents.
Definition: PdfDocument.h:108
This class wraps the ExtGState object used in the Resource Dictionary of a Content-supporting element...
Definition: PdfExtGState.h:22
Alternative to std::optional that supports reference (but not pointer) types.
Definition: nullable.h:29
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16