PDF SDK Documentation
Comprehensive Guide for Developers: Features, Integration, and API Reference
Loading...
Searching...
No Matches
shading.h
1
// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3
#ifndef PDFSDK_CXX_PDF_SHADING_H_INCLUDED_
4
#define PDFSDK_CXX_PDF_SHADING_H_INCLUDED_
5
6
#include <
pdfsdk/core/content.h
>
7
8
#include "forward_declarations.h"
9
#include "wrapper_base.h"
10
11
namespace
PDF {
12
18
class
Shading :
public
detail::RefCountedHandle<PDEShading> {
19
public
:
25
static
Shading
CreateFromPdfObject
(
const
Object
&
object
);
26
31
Object
GetPdfObject
()
const
;
32
37
PDEShadingType
GetShadingType
()
const
;
38
43
ColorSpace
GetColorSpace
()
const
;
44
49
Color
GetBackground
()
const
;
50
55
void
SetBackground
(
const
Color
& background);
56
61
PDRectF
GetBBox
()
const
;
62
67
void
SetBBox
(
const
PDRectF
& bbox);
68
73
bool
GetAntiAlias
()
const
;
74
79
void
SetAntiAlias
(
bool
antiAlias);
80
81
PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(Shading, PDEShading)
82
};
83
84
}
// namespace PDF
85
86
#include "shading_impl.inl"
87
88
#endif
// PDFSDK_CXX_PDF_SHADING_H_INCLUDED_
PDF::Color
Represents a color in a PDF document.
Definition
color.h:30
PDF::ColorSpace
Represents a color space in a PDF document.
Definition
color_space.h:43
PDF::Object
Represents a PDF object.
Definition
object.h:25
PDF::Shading::SetBackground
void SetBackground(const Color &background)
PDF::Shading::GetAntiAlias
bool GetAntiAlias() const
PDF::Shading::CreateFromPdfObject
static Shading CreateFromPdfObject(const Object &object)
PDF::Shading::GetBBox
PDRectF GetBBox() const
PDF::Shading::GetBackground
Color GetBackground() const
PDF::Shading::GetShadingType
PDEShadingType GetShadingType() const
PDF::Shading::SetBBox
void SetBBox(const PDRectF &bbox)
PDF::Shading::GetColorSpace
ColorSpace GetColorSpace() const
PDF::Shading::SetAntiAlias
void SetAntiAlias(bool antiAlias)
PDF::Shading::GetPdfObject
Object GetPdfObject() const
content.h
Content API.
PDEShadingType
PDEShadingType
Specifies the type of shading.
Definition
content.h:558
PDRectF
Definition
math_types.h:30