#include <SkPDFGraphicStackState.h>
Definition at line 16 of file SkPDFGraphicStackState.h.
◆ SkPDFGraphicStackState()
◆ currentEntry()
Entry * SkPDFGraphicStackState::currentEntry |
( |
| ) |
|
|
inline |
◆ drainStack()
void SkPDFGraphicStackState::drainStack |
( |
| ) |
|
◆ pop()
void SkPDFGraphicStackState::pop |
( |
| ) |
|
◆ push()
void SkPDFGraphicStackState::push |
( |
| ) |
|
◆ updateClip()
void SkPDFGraphicStackState::updateClip |
( |
const SkClipStack * |
clipStack, |
|
|
const SkIRect & |
bounds |
|
) |
| |
Definition at line 140 of file SkPDFGraphicStackState.cpp.
140 {
143 if (clipStackGenID ==
currentEntry()->fClipStackGenID) {
144 return;
145 }
148 if (clipStackGenID ==
currentEntry()->fClipStackGenID) {
149 return;
150 }
151 }
156
159 }
160}
static void append_clip(const SkClipStack &clipStack, const SkIRect &bounds, SkWStream *wStream)
uint32_t getTopmostGenID() const
static const uint32_t kWideOpenGenID
◆ updateDrawingState()
void SkPDFGraphicStackState::updateDrawingState |
( |
const Entry & |
state | ) |
|
Definition at line 185 of file SkPDFGraphicStackState.cpp.
185 {
186
187 if (
state.fShaderIndex >= 0) {
191 }
199 }
200
204 }
205
206 if (
state.fTextScaleX) {
212 }
213 }
214}
static void emit_pdf_color(SkColor4f color, SkWStream *result)
void ApplyGraphicState(int objectIndex, SkWStream *content)
void AppendScalar(SkScalar value, SkWStream *stream)
void ApplyPattern(int objectIndex, SkWStream *content)
◆ updateMatrix()
void SkPDFGraphicStackState::updateMatrix |
( |
const SkMatrix & |
matrix | ) |
|
Definition at line 163 of file SkPDFGraphicStackState.cpp.
163 {
165 return;
166 }
167
173
175 }
177 return;
178 }
179
183}
@ kIdentity_Mask
identity SkMatrix; all bits clear
void AppendTransform(const SkMatrix &, SkWStream *)
unsigned useCenter Optional< SkMatrix > matrix
◆ fContentStream
◆ fEntries
◆ fStackDepth
int SkPDFGraphicStackState::fStackDepth = 0 |
◆ kMaxStackDepth
constexpr int SkPDFGraphicStackState::kMaxStackDepth = 2 |
|
inlinestaticconstexpr |
The documentation for this struct was generated from the following files: