Home
last modified time | relevance | path

Searched refs:strokeKey (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/pdf/
DSkPDFGraphicState.cpp101 SkPDFStrokeGraphicState strokeKey = { in GetGraphicStateForPaint() local
106 if (sk_sp<SkPDFDict>* statePtr = sMap.find(strokeKey)) { in GetGraphicStateForPaint()
111 state->insertScalar("CA", strokeKey.fAlpha / 255.0f); in GetGraphicStateForPaint()
112 state->insertScalar("ca", strokeKey.fAlpha / 255.0f); in GetGraphicStateForPaint()
113 state->insertInt("LC", to_stroke_cap(strokeKey.fStrokeCap)); in GetGraphicStateForPaint()
114 state->insertInt("LJ", to_stroke_join(strokeKey.fStrokeJoin)); in GetGraphicStateForPaint()
115 state->insertScalar("LW", strokeKey.fStrokeWidth); in GetGraphicStateForPaint()
116 state->insertScalar("ML", strokeKey.fStrokeMiter); in GetGraphicStateForPaint()
118 state->insertName("BM", as_pdf_blend_mode_name((SkBlendMode)strokeKey.fBlendMode)); in GetGraphicStateForPaint()
119 sMap.set(strokeKey, state); in GetGraphicStateForPaint()