Home
last modified time | relevance | path

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

/external/skqp/src/pdf/
DSkPDFFont.cpp246 descriptor->insertInt("Flags", (size_t)(metrics.fStyle | kPdfSymbolic)); in add_common_font_descriptor_entries()
255 descriptor->insertInt("ItalicAngle", metrics.fItalicAngle); in add_common_font_descriptor_entries()
322 tmp->insertInt("Length1", SkToInt(subsetFontData->size())); in emit_subset_type0()
338 tmp->insertInt("Length1", fontSize); in emit_subset_type0()
375 sysInfo->insertInt("Supplement", 0); in emit_subset_type0()
436 dict->insertInt("Length1", header); in make_type1_font_descriptor()
437 dict->insertInt("Length2", data); in make_type1_font_descriptor()
438 dict->insertInt("Length3", trailer); in make_type1_font_descriptor()
490 font.insertInt("FirstChar", (size_t)0); in emit_subset_type1()
491 font.insertInt("LastChar", (size_t)glyphCount); in emit_subset_type1()
[all …]
DSkPDFBitmap.cpp79 pdfDict.insertInt("Width", size.width()); in emit_image_stream()
80 pdfDict.insertInt("Height", size.height()); in emit_image_stream()
85 pdfDict.insertInt("BitsPerComponent", 8); in emit_image_stream()
95 pdfDict.insertInt("ColorTransform", 0); in emit_image_stream()
97 pdfDict.insertInt("Length", length); in emit_image_stream()
DSkPDFGraphicState.cpp89 state.insertInt("LC", to_stroke_cap(strokeKey.fStrokeCap)); in GetGraphicStateForPaint()
90 state.insertInt("LJ", to_stroke_join(strokeKey.fStrokeJoin)); in GetGraphicStateForPaint()
111 dict->insertInt("FunctionType", 4); in make_invert_function()
DSkPDFTypes.h177 void insertInt(const char key[], int32_t value);
178 void insertInt(const char key[], size_t value);
DSkPDFDocument.cpp101 trailerDict.insertInt("Size", offsetMap.objectCount()); in serialize_footer()
158 next->insertInt("Count", descendantCount); in generate_page_tree()
291 page->insertInt("StructParents", SkToInt(this->currentPageIndex())); in onEndPage()
415 dict->insertInt("N", 3); in make_srgb_color_profile()
DSkPDFTypes.cpp385 void SkPDFDict::insertInt(const char key[], int32_t value) { in insertInt() function in SkPDFDict
389 void SkPDFDict::insertInt(const char key[], size_t value) { in insertInt() function in SkPDFDict
390 this->insertInt(key, SkToS32(value)); in insertInt()
459 dict.insertInt("Length", stream->getLength()); in serialize_stream()
DSkPDFUtils.cpp314 pattern->insertInt("PatternType", kTiling_PatternType); in PopulateTilingPatternDict()
315 pattern->insertInt("PaintType", kColoredTilingPattern_PaintType); in PopulateTilingPatternDict()
316 pattern->insertInt("TilingType", kConstantSpacing_TilingType); in PopulateTilingPatternDict()
DSkPDFTag.cpp180 mcr->insertInt("MCID", info.fMarkId); in prepare_tag_tree_to_emit()
205 structTreeRoot.insertInt("ParentTreeNextKey", SkToInt(pageCount)); in makeStructTreeRoot()
DSkPDFGradientShader.cpp216 retval->insertInt("FunctionType", 2); in createInterpolationFunction()
274 retval->insertInt("FunctionType", 3); in gradientStitchCode()
582 dict->insertInt("FunctionType", 4); in make_ps_function()
742 pdfShader->insertInt("ShadingType", shadingType); in make_function_shader()
746 pdfFunctionShader.insertInt("PatternType", 2); in make_function_shader()
DSkPDFMetadata.cpp236 dict.insertInt("Length", fXML.size()); in emitObject()
DSkPDFDevice.cpp637 annotation->insertInt("F", 4); // required by ISO 19005 in create_link_annotation()
/external/skia/src/pdf/
DSkPDFFont.cpp247 descriptor->insertInt("Flags", (size_t)(metrics.fStyle | kPdfSymbolic)); in add_common_font_descriptor_entries()
256 descriptor->insertInt("ItalicAngle", metrics.fItalicAngle); in add_common_font_descriptor_entries()
319 tmp->insertInt("Length1", SkToInt(subsetFontData->size())); in emit_subset_type0()
334 tmp->insertInt("Length1", fontSize); in emit_subset_type0()
371 sysInfo->insertInt("Supplement", 0); in emit_subset_type0()
432 dict->insertInt("Length1", header); in make_type1_font_descriptor()
433 dict->insertInt("Length2", data); in make_type1_font_descriptor()
434 dict->insertInt("Length3", trailer); in make_type1_font_descriptor()
486 font.insertInt("FirstChar", (size_t)0); in emit_subset_type1()
487 font.insertInt("LastChar", (size_t)glyphCount); in emit_subset_type1()
[all …]
DSkPDFBitmap.cpp79 pdfDict.insertInt("Width", size.width()); in emit_image_stream()
80 pdfDict.insertInt("Height", size.height()); in emit_image_stream()
85 pdfDict.insertInt("BitsPerComponent", 8); in emit_image_stream()
95 pdfDict.insertInt("ColorTransform", 0); in emit_image_stream()
97 pdfDict.insertInt("Length", length); in emit_image_stream()
DSkPDFGraphicState.cpp89 state.insertInt("LC", to_stroke_cap(strokeKey.fStrokeCap)); in GetGraphicStateForPaint()
90 state.insertInt("LJ", to_stroke_join(strokeKey.fStrokeJoin)); in GetGraphicStateForPaint()
111 dict->insertInt("FunctionType", 4); in make_invert_function()
DSkPDFTypes.h177 void insertInt(const char key[], int32_t value);
178 void insertInt(const char key[], size_t value);
DSkPDFDocument.cpp101 trailerDict.insertInt("Size", offsetMap.objectCount()); in serialize_footer()
158 next->insertInt("Count", descendantCount); in generate_page_tree()
290 page->insertInt("StructParents", SkToInt(this->currentPageIndex())); in onEndPage()
414 dict->insertInt("N", 3); in make_srgb_color_profile()
DSkPDFTypes.cpp385 void SkPDFDict::insertInt(const char key[], int32_t value) { in insertInt() function in SkPDFDict
389 void SkPDFDict::insertInt(const char key[], size_t value) { in insertInt() function in SkPDFDict
390 this->insertInt(key, SkToS32(value)); in insertInt()
459 dict.insertInt("Length", stream->getLength()); in serialize_stream()
DSkPDFUtils.cpp314 pattern->insertInt("PatternType", kTiling_PatternType); in PopulateTilingPatternDict()
315 pattern->insertInt("PaintType", kColoredTilingPattern_PaintType); in PopulateTilingPatternDict()
316 pattern->insertInt("TilingType", kConstantSpacing_TilingType); in PopulateTilingPatternDict()
DSkPDFTag.cpp180 mcr->insertInt("MCID", info.fMarkId); in prepare_tag_tree_to_emit()
205 structTreeRoot.insertInt("ParentTreeNextKey", SkToInt(pageCount)); in makeStructTreeRoot()
DSkPDFGradientShader.cpp216 retval->insertInt("FunctionType", 2); in createInterpolationFunction()
274 retval->insertInt("FunctionType", 3); in gradientStitchCode()
582 dict->insertInt("FunctionType", 4); in make_ps_function()
742 pdfShader->insertInt("ShadingType", shadingType); in make_function_shader()
746 pdfFunctionShader.insertInt("PatternType", 2); in make_function_shader()
DSkPDFMetadata.cpp236 dict.insertInt("Length", fXML.size()); in emitObject()
DSkPDFDevice.cpp637 annotation->insertInt("F", 4); // required by ISO 19005 in create_link_annotation()
/external/skia/tests/
DPDFPrimitivesTest.cpp191 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
197 dict->insertInt("n1", 42); in TestPDFDict()
211 dict->insertInt("n1", 24); in TestPDFDict()
214 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()
/external/skqp/tests/
DPDFPrimitivesTest.cpp191 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
197 dict->insertInt("n1", 42); in TestPDFDict()
211 dict->insertInt("n1", 24); in TestPDFDict()
214 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()