7#ifndef CORE_FPDFAPI_PAGE_CPDF_ALLSTATES_H_
8#define CORE_FPDFAPI_PAGE_CPDF_ALLSTATES_H_
10#include "core/fpdfapi/page/cpdf_graphicstates.h"
11#include "core/fxcrt/fx_coordinates.h"
28 void SetLineDash(
const CPDF_Array* pArray,
float phase,
float scale);
45 m_CTM
= matrix
* m_CTM;
60 return m_GraphicStates.mutable_clip_path();
64 return m_GraphicStates.graph_state();
67 return m_GraphicStates.mutable_graph_state();
71 return m_GraphicStates.color_state();
74 return m_GraphicStates.mutable_color_state();
78 return m_GraphicStates.text_state();
81 return m_GraphicStates.mutable_text_state();
85 return m_GraphicStates.general_state();
88 return m_GraphicStates.mutable_general_state();
99 CFX_PointF m_TextLinePos;
100 float m_TextLeading = 0.0f;
101 float m_TextRise = 0.0f;
102 float m_TextHorzScale = 1.0f;
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_Matrix operator*(const CFX_Matrix &right) const
CPDF_TextState & mutable_text_state()
void IncrementTextPositionX(float value)
void set_current_transformation_matrix(const CFX_Matrix &matrix)
CFX_GraphState & mutable_graph_state()
void set_text_leading(float value)
const CFX_Matrix & text_matrix() const
void set_text_horz_scale(float value)
CPDF_ColorState & mutable_color_state()
void prepend_to_current_transformation_matrix(const CFX_Matrix &matrix)
void set_text_rise(float value)
void MoveTextPoint(const CFX_PointF &point)
void IncrementTextPositionY(float value)
void set_text_matrix(const CFX_Matrix &matrix)
float text_horz_scale() const
CFX_PointF GetTransformedTextPosition() const
const CPDF_GeneralState & general_state() const
CPDF_GeneralState & mutable_general_state()
CPDF_AllStates & operator=(const CPDF_AllStates &that)
void MoveTextToNextLine()
const CFX_Matrix & parent_matrix() const
const CPDF_ClipPath & clip_path() const
void SetLineDash(const CPDF_Array *pArray, float phase, float scale)
CPDF_ClipPath & mutable_clip_path()
void set_parent_matrix(const CFX_Matrix &matrix)
const CPDF_ColorState & color_state() const
void ProcessExtGS(const CPDF_Dictionary *pGS, CPDF_StreamContentParser *pParser)
const CFX_GraphState & graph_state() const
const CPDF_TextState & text_state() const
const CPDF_GraphicStates & graphic_states() const
CPDF_AllStates(const CPDF_AllStates &that)
const CFX_Matrix & current_transformation_matrix() const
CPDF_DictionaryLocker(const CPDF_Dictionary *pDictionary)
void SetMatrix(const CFX_Matrix &matrix)