7#ifndef CORE_FPDFAPI_PAGE_CPDF_TILINGPATTERN_H_
8#define CORE_FPDFAPI_PAGE_CPDF_TILINGPATTERN_H_
12#include "core/fpdfapi/page/cpdf_pattern.h"
13#include "core/fxcrt/fx_coordinates.h"
14#include "core/fxcrt/retain_ptr.h"
31 bool colored()
const {
return m_bColored; }
33 float x_step()
const {
return m_XStep; }
34 float y_step()
const {
return m_YStep; }
40 CPDF_TilingPattern(
const CPDF_TilingPattern&) =
delete;
41 CPDF_TilingPattern& operator=(
const CPDF_TilingPattern&) =
delete;
static RetainPtr< CPDF_ColorSpace > GetStockCS(Family family)
CPDF_Color * GetMutableFillColor()
FX_COLORREF GetStrokeColorRef() const
FX_COLORREF GetFillColorRef() const
void SetFillColor(RetainPtr< CPDF_ColorSpace > colorspace, std::vector< float > values)
void SetStrokeColor(RetainPtr< CPDF_ColorSpace > colorspace, std::vector< float > values)
CPDF_ColorState(const CPDF_ColorState &that)
CPDF_Color * GetMutableStrokeColor()
void SetStrokeColorRef(FX_COLORREF colorref)
void SetFillPattern(RetainPtr< CPDF_Pattern > pattern, pdfium::span< float > values)
const CPDF_Color * GetStrokeColor() const
void SetStrokePattern(RetainPtr< CPDF_Pattern > pattern, pdfium::span< float > values)
const CPDF_Color * GetFillColor() const
bool HasFillColor() const
bool HasStrokeColor() const
void SetFillColorRef(FX_COLORREF colorref)
void SetValueForPattern(RetainPtr< CPDF_Pattern > pattern, pdfium::span< float > values)
void SetColorSpace(RetainPtr< CPDF_ColorSpace > colorspace)
bool GetRGB(int *R, int *G, int *B) const
uint32_t CountComponents() const
std::unique_ptr< CPDF_Form > Load(CPDF_PageObject *pPageObj)
~CPDF_TilingPattern() override
CPDF_TilingPattern * AsTilingPattern() override
const CFX_FloatRect & bbox() const
constexpr uint32_t FXSYS_BGR(uint8_t b, uint8_t g, uint8_t r)
#define CONSTRUCT_VIA_MAKE_RETAIN