Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFBitmap.cpp298 pdfDict.insertInt("Width", bitmap.width()); in emit_image_xobject()
299 pdfDict.insertInt("Height", bitmap.height()); in emit_image_xobject()
310 pdfDict.insertInt("BitsPerComponent", 8); in emit_image_xobject()
312 pdfDict.insertInt("Length", buffer.bytesWritten()); in emit_image_xobject()
387 pdfDict.insertInt("Width", fSize.width()); in emitObject()
388 pdfDict.insertInt("Height", fSize.height()); in emitObject()
394 pdfDict.insertInt("BitsPerComponent", 8); in emitObject()
396 pdfDict.insertInt("ColorTransform", 0); in emitObject()
397 pdfDict.insertInt("Length", SkToInt(fData->size())); in emitObject()
DSkPDFFont.cpp275 descriptor->insertInt("Flags", (size_t)(metrics.fStyle | kPdfSymbolic)); in add_common_font_descriptor_entries()
284 descriptor->insertInt("ItalicAngle", metrics.fItalicAngle); in add_common_font_descriptor_entries()
375 subsetStream->dict()->insertInt("Length1", subsetFontSize); in get_subset_font_stream()
423 fontStream->dict()->insertInt("Length1", fontSize); in getFontSubset()
456 sysInfo->insertInt("Supplement", 0); in getFontSubset()
515 fontStream->dict()->insertInt("Length1", header); in make_type1_font_descriptor()
516 fontStream->dict()->insertInt("Length2", data); in make_type1_font_descriptor()
517 fontStream->dict()->insertInt("Length3", trailer); in make_type1_font_descriptor()
534 font->insertInt("FirstChar", (size_t)0); in populate_type_1_font()
535 font->insertInt("LastChar", (size_t)glyphCount); in populate_type_1_font()
[all …]
DSkPDFGraphicState.cpp113 state->insertInt("LC", to_stroke_cap(strokeKey.fStrokeCap)); in GetGraphicStateForPaint()
114 state->insertInt("LJ", to_stroke_join(strokeKey.fStrokeJoin)); in GetGraphicStateForPaint()
138 invertFunction->dict()->insertInt("FunctionType", 4); in make_invert_function()
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.cpp88 trailerDict.insertInt("Size", objCount); in serializeFooter()
159 newNode->insertInt("Count", pageCount); in generate_page_tree()
373 stream->dict()->insertInt("N", 3); in make_srgb_color_profile()
DSkPDFTypes.h267 void insertInt(const char key[], int32_t value);
268 void insertInt(const char key[], size_t value);
DSkPDFUtils.cpp511 pattern->insertInt("PatternType", kTiling_PatternType); in PopulateTilingPatternDict()
512 pattern->insertInt("PaintType", kColoredTilingPattern_PaintType); in PopulateTilingPatternDict()
513 pattern->insertInt("TilingType", kConstantSpacing_TilingType); in PopulateTilingPatternDict()
DSkPDFGradientShader.cpp216 retval->insertInt("FunctionType", 2); in createInterpolationFunction()
277 retval->insertInt("FunctionType", 3); in gradientStitchCode()
597 result->dict()->insertInt("FunctionType", 4); in make_ps_function()
775 pdfShader->insertInt("ShadingType", shadingType); in make_function_shader()
779 pdfFunctionShader->insertInt("PatternType", 2); in make_function_shader()
DSkPDFMetadata.cpp164 dict.insertInt("Length", fXML.size()); in emitObject()
DSkPDFDevice.cpp725 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()