Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFBitmap.cpp353 pdfDict.insertInt("Width", bitmap.width()); in emit_image_xobject()
354 pdfDict.insertInt("Height", bitmap.height()); in emit_image_xobject()
369 pdfDict.insertInt("BitsPerComponent", 8); in emit_image_xobject()
371 pdfDict.insertInt("Length", asset->getLength()); in emit_image_xobject()
451 pdfDict.insertInt("Width", fSize.width()); in emitObject()
452 pdfDict.insertInt("Height", fSize.height()); in emitObject()
458 pdfDict.insertInt("BitsPerComponent", 8); in emitObject()
460 pdfDict.insertInt("ColorTransform", 0); in emitObject()
461 pdfDict.insertInt("Length", SkToInt(fData->size())); in emitObject()
DSkPDFStream.cpp47 this->insertInt("Length", dup->getLength()); in setData()
54 this->insertInt("Length", length); in setData()
DSkPDFGraphicState.cpp143 invertFunction->insertInt("FunctionType", 4); in create_invert_function()
205 dict->insertInt("LC", strokeCap); in emitObject()
212 dict->insertInt("LJ", strokeJoin); in emitObject()
DSkPDFFont.cpp944 fDescriptor->insertInt("Flags", fFontInfo->fStyle | kPdfSymbolic); in addCommonFontDescriptorEntries()
954 fDescriptor->insertInt("ItalicAngle", fFontInfo->fItalicAngle); in addCommonFontDescriptorEntries()
1070 fontStream->insertInt("Length1", fontSize); in addFontDescriptor()
1083 fontStream->dict()->insertInt("Length1", fontSize); in addFontDescriptor()
1149 sysInfo->insertInt("Supplement", 0); in populate()
1225 fontStream->insertInt("Length1", header); in addFontDescriptor()
1226 fontStream->insertInt("Length2", data); in addFontDescriptor()
1227 fontStream->insertInt("Length3", trailer); in addFontDescriptor()
1308 this->insertInt("FirstChar", firstChar); in addWidthInfoFromRange()
1309 this->insertInt("LastChar", firstChar + widthArray->size() - 1); in addWidthInfoFromRange()
[all …]
DSkPDFTypes.h279 void insertInt(const char key[], int32_t value);
280 void insertInt(const char key[], size_t value);
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()
699 result->insertInt("FunctionType", 4); in make_ps_function()
803 pdfShader->insertInt("ShadingType", 1); in Create()
813 pdfFunctionShader->insertInt("PatternType", 2); in Create()
DSkPDFTypes.cpp400 void SkPDFDict::insertInt(const char key[], int32_t value) { in insertInt() function in SkPDFDict
404 void SkPDFDict::insertInt(const char key[], size_t value) { in insertInt() function in SkPDFDict
405 this->insertInt(key, SkToS32(value)); in insertInt()
DSkPDFMetadata.cpp195 dict.insertInt("Length", fXML.size()); in emitObject()
/external/skia/tests/
DPDFPrimitivesTest.cpp90 stream->insertInt("Attribute", 42); in TestPDFStream()
163 proxy->insertInt("Value", 33); in TestSubstitute()
164 stub->insertInt("Value", 44); in TestSubstitute()
295 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
301 dict->insertInt("n1", 42); in TestPDFDict()
315 dict->insertInt("n1", 24); in TestPDFDict()
318 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()
/external/skia/src/doc/
DSkDocument_PDF.cpp39 trailerDict.insertInt("Size", int(objCount)); in emit_pdf_footer()
153 newNode->insertInt("Count", pageCount); in generate_page_tree()