Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFFont.cpp249 descriptor->insertInt("Flags", (size_t)(metrics.fStyle | kPdfSymbolic)); in add_common_font_descriptor_entries()
258 descriptor->insertInt("ItalicAngle", metrics.fItalicAngle); in add_common_font_descriptor_entries()
349 subsetStream->dict()->insertInt("Length1", subsetFontSize); in get_subset_font_stream()
397 fontStream->dict()->insertInt("Length1", fontSize); in getFontSubset()
430 sysInfo->insertInt("Supplement", 0); in getFontSubset()
489 fontStream->dict()->insertInt("Length1", header); in make_type1_font_descriptor()
490 fontStream->dict()->insertInt("Length2", data); in make_type1_font_descriptor()
491 fontStream->dict()->insertInt("Length3", trailer); in make_type1_font_descriptor()
508 font->insertInt("FirstChar", (size_t)0); in populate_type_1_font()
509 font->insertInt("LastChar", (size_t)glyphCount); in populate_type_1_font()
[all …]
DSkPDFBitmap.cpp368 pdfDict.insertInt("Width", bitmap.width()); in emit_image_xobject()
369 pdfDict.insertInt("Height", bitmap.height()); in emit_image_xobject()
385 pdfDict.insertInt("BitsPerComponent", 8); in emit_image_xobject()
387 pdfDict.insertInt("Length", asset->getLength()); in emit_image_xobject()
462 pdfDict.insertInt("Width", fSize.width()); in emitObject()
463 pdfDict.insertInt("Height", fSize.height()); in emitObject()
469 pdfDict.insertInt("BitsPerComponent", 8); in emitObject()
471 pdfDict.insertInt("ColorTransform", 0); in emitObject()
472 pdfDict.insertInt("Length", SkToInt(fData->size())); in emitObject()
DSkPDFGraphicState.cpp136 invertFunction->dict()->insertInt("FunctionType", 4); in MakeInvertFunction()
191 dict->insertInt("LC", strokeCap); in emitObject()
198 dict->insertInt("LJ", strokeJoin); in emitObject()
DSkPDFTypes.cpp410 void SkPDFDict::insertInt(const char key[], int32_t value) { in insertInt() function in SkPDFDict
414 void SkPDFDict::insertInt(const char key[], size_t value) { in insertInt() function in SkPDFDict
415 this->insertInt(key, SkToS32(value)); in insertInt()
552 fDict.insertInt("Length", fCompressedData->getLength()); in setData()
568 fDict.insertInt("Length", originalLength); in setData()
573 fDict.insertInt("Length", compressedLength); in setData()
DSkPDFDocument.cpp87 trailerDict.insertInt("Size", objCount); in serializeFooter()
158 newNode->insertInt("Count", pageCount); in generate_page_tree()
375 stream->dict()->insertInt("N", 3); in make_srgb_color_profile()
DSkPDFTypes.h264 void insertInt(const char key[], int32_t value);
265 void insertInt(const char key[], size_t value);
DSkPDFShader.cpp208 retval->insertInt("FunctionType", 2); in createInterpolationFunction()
269 retval->insertInt("FunctionType", 3); in gradientStitchCode()
612 pattern->insertInt("PatternType", kTiling_PatternType); in populate_tiling_pattern_dict()
613 pattern->insertInt("PaintType", kColoredTilingPattern_PaintType); in populate_tiling_pattern_dict()
614 pattern->insertInt("TilingType", kConstantSpacing_TilingType); in populate_tiling_pattern_dict()
757 result->dict()->insertInt("FunctionType", 4); in make_ps_function()
947 pdfShader->insertInt("ShadingType", shadingType); in make_function_shader()
951 pdfFunctionShader->insertInt("PatternType", 2); in make_function_shader()
DSkPDFMetadata.cpp159 dict.insertInt("Length", fXML.size()); in emitObject()
DSkPDFDevice.cpp661 annotation->insertInt("F", 4); // required by ISO 19005 in create_link_annotation()
/external/skia/tests/
DPDFPrimitivesTest.cpp88 stream->dict()->insertInt("Attribute", 42); in TestPDFStream()
283 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
289 dict->insertInt("n1", 42); in TestPDFDict()
303 dict->insertInt("n1", 24); in TestPDFDict()
306 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()