Lines Matching refs:state
67 SkPDFDict state;
68 state.reserve(2);
69 state.insertColorComponentF("ca", fillKey.fAlpha);
70 state.insertName("BM", as_pdf_blend_mode_name((SkBlendMode)fillKey.fBlendMode));
71 SkPDFIndirectReference ref = doc->emit(state);
87 SkPDFDict state;
88 state.reserve(8);
89 state.insertColorComponentF("CA", strokeKey.fAlpha);
90 state.insertColorComponentF("ca", strokeKey.fAlpha);
91 state.insertInt("LC", to_stroke_cap(strokeKey.fStrokeCap));
92 state.insertInt("LJ", to_stroke_join(strokeKey.fStrokeJoin));
93 state.insertScalar("LW", strokeKey.fStrokeWidth);
94 state.insertScalar("ML", strokeKey.fStrokeMiter);
95 state.insertBool("SA", true); // SA = Auto stroke adjustment.
96 state.insertName("BM", as_pdf_blend_mode_name((SkBlendMode)strokeKey.fBlendMode));
97 SkPDFIndirectReference ref = doc->emit(state);