3#ifndef PDFSDK_CXX_PDF_PATTERN_H_INCLUDED_
4#define PDFSDK_CXX_PDF_PATTERN_H_INCLUDED_
7#include <pdfsdk/cxx/math.h>
9#include "wrapper_base.h"
18class Pattern :
public detail::RefCountedHandle<PDEPattern> {
141 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(
Pattern, PDEPattern)
146#include "pattern_impl.inl"
Represents the content of a PDF page.
Definition content.h:20
Represents the graphics state of a PDF document.
Definition gstate.h:19
Represents a PDF object.
Definition object.h:20
Represents a shading or tiling pattern in a PDF document.
Definition pattern.h:18
PDEPatternType GetPatternType() const
Gets the type of the pattern.
PDETilingPatternTilingType GetTilingType() const
Gets the tiling type of the tiling pattern.
Object GetPdfObject() const
float GetTilingYStep() const
Gets the vertical step of the tiling pattern.
void SetMatrix(const Matrix &matrix)
Sets the transformation matrix of the pattern.
void SetTilingYStep(float ystep)
Sets the vertical step of the tiling pattern.
void SetShadingExtGState(const GState &extGState)
Sets the extended graphics state of the shading.
Content GetTilingContent() const
Gets the content of the tiling pattern.
PDRectF GetTilingBBox() const
Gets the bounding box of the tiling pattern.
void SetTilingPaintType(PDETilingPatternPaintType paintType)
Sets the paint type of the tiling pattern.
void SetTilingXStep(float xstep)
Sets the horizontal step of the tiling pattern.
static Pattern CreateFromPdfObject(const Object &object)
float GetTilingXStep() const
Gets the horizontal step of the tiling pattern.
void SetTilingType(PDETilingPatternTilingType tilingType)
Sets the tiling type of the tiling pattern.
Matrix GetMatrix() const
Gets the transformation matrix of the pattern.
PDETilingPatternPaintType GetTilingPaintType() const
Gets the paint type of the tiling pattern.
Shading GetShading() const
Gets the shading of the pattern.
void SetShading(const Shading &shading)
Sets the shading of the pattern.
void SetTilingBBox(const PDRectF &bbox)
Sets the bounding box of the tiling pattern.
GState GetShadingExtGState() const
Gets the extended graphics state of the shading.
Represents a shading in a PDF document.
Definition shading.h:17
Definition math_types.h:30