Lines Matching refs:fDocument
452 return new SkPDFDevice(size, fDocument); in onCreateDevice()
455 SkPDFCanon* SkPDFDevice::getCanon() const { return fDocument->canon(); } in getCanon()
544 , fDocument(doc) in SkPDFDevice()
1427 SkPDFFont::GetMetrics(typeface, fDocument->canon()); in internalDrawText()
1922 SkPDFGraphicState::kAlpha_SMaskMode, fDocument->canon()); in drawFormXObjectWithMask()
2183 pdfShader = SkPDFMakeShader(fDocument, shader, transform, bounds); in populateGraphicStateEntryFromPaint()
2201 newGraphicState = SkPDFGraphicState::GetGraphicStateForPaint(fDocument->canon(), paint); in populateGraphicStateEntryFromPaint()
2205 newGraphicState = SkPDFGraphicState::GetGraphicStateForPaint(fDocument->canon(), newPaint); in populateGraphicStateEntryFromPaint()
2243 sk_sp<SkPDFFont> newFont = SkPDFFont::GetFontResource(fDocument->canon(), typeface, glyphID); in getFontResourceIndex()
2249 fDocument->registerFont(newFont.get()); in getFontResourceIndex()
2384 SkASSERT(fDocument->rasterDpi() > 0); in internalDrawImageRect()
2400 SkScalar dpiScale = SkIntToScalar(fDocument->rasterDpi()) / in internalDrawImageRect()
2493 sk_sp<SkPDFObject>* pdfimagePtr = fDocument->canon()->fPDFBitmapMap.find(key); in internalDrawImageRect()
2498 fDocument->canon()->fPixelSerializer.get()); in internalDrawImageRect()
2502 fDocument->serialize(pdfimage); // serialize images early. in internalDrawImageRect()
2504 fDocument->canon()->fPDFBitmapMap.set(key, pdfimage); in internalDrawImageRect()