Home
last modified time | relevance | path

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

/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp45 #define EXPECT_OPERANDS(name,pdfContext,n) \ argument
46 bool __failed = pdfContext->fObjectStack.count() < n; \
49 SkPdfReportIf(pdfContext->fObjectStack.count() < n, \
52 "Not enought parameters.", NULL, pdfContext); \
55 #define POP_OBJ(pdfContext,name) \ argument
59 __failed = __failed || pdfContext->fObjectStack.count() == 0; \
60 if (pdfContext->fObjectStack.count() > 0) { \
61 name = pdfContext->fObjectStack.top(); \
62 pdfContext->fObjectStack.pop(); \
66 #define POP_NUMBER(pdfContext,name) \ argument
[all …]
DSkPdfContext.cpp18 SkPdfContext* pdfContext, in PdfMainLooper() argument
20 : INHERITED(tokenizer, pdfContext, canvas) {} in PdfMainLooper()
/external/skia/experimental/PdfViewer/
DSkPdfFont.h183 void drawText(const SkDecodedText& text, SkPaint* paint, SkPdfContext* pdfContext, in drawText() argument
186 canvas->setMatrix(pdfContext->fGraphicsState.fMatrixTm); in drawText()
189 pdfContext->fGraphicsState.fMatrixTm.mapPoints(&point, 1); in drawText()
202 canvas->setMatrix(pdfContext->fGraphicsState.fMatrixTm); in drawText()
206 double width = drawOneChar(text[i], paint, pdfContext, canvas); in drawText()
207 pdfContext->fGraphicsState.fMatrixTm.preTranslate(SkDoubleToScalar(width), in drawText()
252 virtual double drawOneChar(unsigned int ch, SkPaint* paint, SkPdfContext* pdfContext,
267 virtual double drawOneChar(unsigned int ch, SkPaint* paint, SkPdfContext* pdfContext, in drawOneChar() argument
291 virtual double drawOneChar(unsigned int ch, SkPaint* paint, SkPdfContext* pdfContext, in drawOneChar() argument
293 return fBaseFont->drawOneChar(ToUnicode(ch), paint, pdfContext, canvas); in drawOneChar()
[all …]
DSkPdfReporter.cpp40 SkPdfContext* pdfContext) { in SkPdfReport() argument
50 SkPdfContext* pdfContext) { in SkPdfReportIf() argument
54 SkPdfReport(sev, issue, context, obj, pdfContext); in SkPdfReportIf()
60 int anyOfTypes, SkPdfContext* pdfContext) { in SkPdfReportUnexpectedType() argument
DSkPdfReporter.h70 SkPdfContext* pdfContext);
78 SkPdfContext* pdfContext);
86 SkPdfContext* pdfContext);
DSkPdfUtils.h64 SkPdfResult doType3Char(SkPdfContext* pdfContext, SkCanvas* canvas, const SkPdfNativeObject* skobj,
/external/skia/experimental/PdfViewer/inc/
DSkPdfTokenLooper.h31 SkPdfContext* pdfContext, in SkPdfTokenLooper() argument
35 , fPdfContext(pdfContext) in SkPdfTokenLooper()