Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFBitmap.cpp274 pdfDict.insertInt("Width", fBitmap.width()); in emitObject()
275 pdfDict.insertInt("Height", fBitmap.height()); in emitObject()
277 pdfDict.insertInt("BitsPerComponent", 8); in emitObject()
279 pdfDict.insertInt("Length", asset->getLength()); in emitObject()
362 pdfDict.insertInt("Width", fBitmap.width()); in emitObject()
363 pdfDict.insertInt("Height", fBitmap.height()); in emitObject()
373 pdfDict.insertInt("BitsPerComponent", 8); in emitObject()
378 pdfDict.insertInt("Length", asset->getLength()); in emitObject()
418 pdfDict.insertInt("Width", fBitmap.width()); in emitObject()
419 pdfDict.insertInt("Height", fBitmap.height()); in emitObject()
[all …]
DSkPDFGraphicState.cpp145 invertFunction->insertInt("FunctionType", 4); in create_invert_function()
217 dict->insertInt("LC", strokeCap); in emitObject()
224 dict->insertInt("LJ", strokeJoin); in emitObject()
DSkPDFFont.cpp952 fDescriptor->insertInt("Flags", fFontInfo->fStyle | kPdfSymbolic); in addCommonFontDescriptorEntries()
962 fDescriptor->insertInt("ItalicAngle", fFontInfo->fItalicAngle); in addCommonFontDescriptorEntries()
1091 fontStream->insertInt("Length1", fontSize); in addFontDescriptor()
1159 sysInfo->insertInt("Supplement", 0); in populate()
1235 fontStream->insertInt("Length1", header); in addFontDescriptor()
1236 fontStream->insertInt("Length2", data); in addFontDescriptor()
1237 fontStream->insertInt("Length3", trailer); in addFontDescriptor()
1319 this->insertInt("FirstChar", firstChar); in addWidthInfoFromRange()
1320 this->insertInt("LastChar", firstChar + widthArray->size() - 1); in addWidthInfoFromRange()
1399 this->insertInt("FirstChar", 1); in populate()
[all …]
DSkPDFTypes.h281 void insertInt(const char key[], int32_t value);
282 void insertInt(const char key[], size_t value);
DSkPDFStream.cpp43 this->insertInt("Length", this->dataSize()); in emitObject()
DSkPDFShader.cpp549 pattern->insertInt("PatternType", kTiling_PatternType); in populate_tiling_pattern_dict()
550 pattern->insertInt("PaintType", kColoredTilingPattern_PaintType); in populate_tiling_pattern_dict()
551 pattern->insertInt("TilingType", kConstantSpacing_TilingType); in populate_tiling_pattern_dict()
705 result->insertInt("FunctionType", 4); in make_ps_function()
809 pdfShader->insertInt("ShadingType", 1); in Create()
820 pdfFunctionShader->insertInt("PatternType", 2); in Create()
DSkPDFTypes.cpp418 void SkPDFDict::insertInt(const char key[], int32_t value) { in insertInt() function in SkPDFDict
422 void SkPDFDict::insertInt(const char key[], size_t value) { in insertInt() function in SkPDFDict
423 this->insertInt(key, SkToS32(value)); in insertInt()
/external/skia/tests/
DPDFPrimitivesTest.cpp86 stream->insertInt("Attribute", 42); in TestPDFStream()
157 proxy->insertInt("Value", 33); in TestSubstitute()
158 stub->insertInt("Value", 44); in TestSubstitute()
293 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
299 dict->insertInt("n1", 42); in TestPDFDict()
313 dict->insertInt("n1", 24); in TestPDFDict()
316 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()
/external/skia/src/doc/
DSkDocument_PDF.cpp33 trailerDict.insertInt("Size", int(objCount)); in emit_pdf_footer()
142 newNode->insertInt("Count", pageCount); in generate_page_tree()