#include <SkPDFGraphicStackState.h>
Definition at line 19 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 146 of file SkPDFGraphicStackState.cpp.
146 {
149 if (clipStackGenID ==
currentEntry()->fClipStackGenID) {
150 return;
151 }
154 if (clipStackGenID ==
currentEntry()->fClipStackGenID) {
155 return;
156 }
157 }
162
165 }
166}
static void append_clip(const SkClipStack &clipStack, const SkIRect &bounds, SkWStream *wStream)
uint32_t getTopmostGenID() const
static const uint32_t kWideOpenGenID
Optional< SkRect > bounds
◆ updateDrawingState()
void SkPDFGraphicStackState::updateDrawingState |
( |
const Entry & |
state | ) |
|
Definition at line 191 of file SkPDFGraphicStackState.cpp.
191 {
192
193 if (
state.fShaderIndex >= 0) {
197 }
205 }
206
210 }
211
212 if (
state.fTextScaleX) {
218 }
219 }
220}
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 169 of file SkPDFGraphicStackState.cpp.
169 {
171 return;
172 }
173
179
181 }
183 return;
184 }
185
189}
@ 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: