PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
color_space.h
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CXX_PDF_COLOR_SPACE_H_INCLUDED_
4#define PDFSDK_CXX_PDF_COLOR_SPACE_H_INCLUDED_
5
7
8#include "forward_declarations.h"
9#include "wrapper_base.h"
10
11namespace PDF {
12
18class ColorSpace : public detail::RefCountedHandle<PDEColorSpace> {
19public:
25
31
37
43
49 static ColorSpace CreateFromPdfObject(const Object& object);
50
56
61 PDEColorSpaceFamily GetFamily() const;
62
67 size_t GetNumComponents() const;
68
74 PDENumRange GetComponentRange(size_t index) const;
75
80 bool HasVisibleOutput() const;
81
82 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(ColorSpace, PDEColorSpace)
83};
84
85} // namespace PDF
86
87#include "color_space_impl.inl"
88
89#endif // PDFSDK_CXX_PDF_COLOR_SPACE_H_INCLUDED_
Represents a color space in a PDF document.
Definition color_space.h:18
static ColorSpace GetPattern()
Gets the Pattern color space.
PDEColorSpaceFamily GetFamily() const
static ColorSpace GetDeviceGray()
Gets the DeviceGray color space.
bool HasVisibleOutput() const
static ColorSpace GetDeviceRGB()
Gets the DeviceRGB color space.
PDENumRange GetComponentRange(size_t index) const
static ColorSpace CreateFromPdfObject(const Object &object)
Object GetPdfObject() const
size_t GetNumComponents() const
static ColorSpace GetDeviceCMYK()
Gets the DeviceCMYK color space.
Represents a PDF object.
Definition object.h:20
Content API.
Definition content.h:30