Home
last modified time | relevance | path

Searched refs:GetNumberAt (Results 1 – 25 of 26) sorted by relevance

12

/external/pdfium/core/fpdfdoc/
Dcpdf_apsettings.cpp44 float g = pEntry->GetNumberAt(0) * 255; in GetColor()
49 float r = pEntry->GetNumberAt(0) * 255; in GetColor()
50 float g = pEntry->GetNumberAt(1) * 255; in GetColor()
51 float b = pEntry->GetNumberAt(2) * 255; in GetColor()
56 float c = pEntry->GetNumberAt(0); in GetColor()
57 float m = pEntry->GetNumberAt(1); in GetColor()
58 float y = pEntry->GetNumberAt(2); in GetColor()
59 float k = pEntry->GetNumberAt(3); in GetColor()
74 return pEntry ? pEntry->GetNumberAt(index) : 0; in GetOriginalColor()
94 fc[0] = pEntry->GetNumberAt(0); in GetOriginalColor()
[all …]
Dcpdf_color_utils.cpp19 rt = CFX_Color(CFX_Color::kGray, array.GetNumberAt(0)); in CFXColorFromArray()
22 rt = CFX_Color(CFX_Color::kRGB, array.GetNumberAt(0), in CFXColorFromArray()
23 array.GetNumberAt(1), array.GetNumberAt(2)); in CFXColorFromArray()
26 rt = CFX_Color(CFX_Color::kCMYK, array.GetNumberAt(0), in CFXColorFromArray()
27 array.GetNumberAt(1), array.GetNumberAt(2), in CFXColorFromArray()
28 array.GetNumberAt(3)); in CFXColorFromArray()
Dcpdf_iconfit.cpp55 fLeft = pA->GetNumberAt(0); in GetIconBottomLeftPosition()
57 fBottom = pA->GetNumberAt(1); in GetIconBottomLeftPosition()
74 return {dwCount > 0 ? pA->GetNumberAt(0) : 0.0f, in GetIconPosition()
75 dwCount > 1 ? pA->GetNumberAt(1) : 0.0f}; in GetIconPosition()
Dcpdf_annot.cpp228 pArray->GetNumberAt(4 + nIndex * 8), pArray->GetNumberAt(5 + nIndex * 8), in RectFromQuadPointsArray()
229 pArray->GetNumberAt(2 + nIndex * 8), pArray->GetNumberAt(3 + nIndex * 8)); in RectFromQuadPointsArray()
461 width = pBorderArray->GetNumberAt(2); in DrawBorder()
495 int R = (int32_t)(pColor->GetNumberAt(0) * 255); in DrawBorder()
496 int G = (int32_t)(pColor->GetNumberAt(1) * 255); in DrawBorder()
497 int B = (int32_t)(pColor->GetNumberAt(2) * 255); in DrawBorder()
Dcpdf_dest.cpp131 return m_pArray ? m_pArray->GetNumberAt(2 + index) : 0; in GetParam()
Dcpvt_generateap.cpp331 return pBorderArray->GetNumberAt(2); in GetBorderWidth()
363 sDashStream << pDashArray->GetNumberAt(i) << " "; in GetDashPatternString()
673 sAppStream << pInkCoordList->GetNumberAt(0) << " " in GenerateInkAP()
674 << pInkCoordList->GetNumberAt(1) << " m "; in GenerateInkAP()
677 sAppStream << pInkCoordList->GetNumberAt(j) << " " in GenerateInkAP()
678 << pInkCoordList->GetNumberAt(j + 1) << " l "; in GenerateInkAP()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.cpp76 rect.left = GetNumberAt(0); in GetRect()
77 rect.bottom = GetNumberAt(1); in GetRect()
78 rect.right = GetNumberAt(2); in GetRect()
79 rect.top = GetNumberAt(3); in GetRect()
87 return CFX_Matrix(GetNumberAt(0), GetNumberAt(1), GetNumberAt(2), in GetMatrix()
88 GetNumberAt(3), GetNumberAt(4), GetNumberAt(5)); in GetMatrix()
140 float CPDF_Array::GetNumberAt(size_t index) const { in GetNumberAt() function in CPDF_Array
Dfpdf_parser_utility.cpp162 ret[i] = pArray->GetNumberAt(i); in ReadArrayElementsToVector()
Dcpdf_array.h48 float GetNumberAt(size_t index) const;
Dcpdf_object_unittest.cpp39 EXPECT_EQ(float_val, arr->GetNumberAt(index)); in TestArrayAccessors()
675 EXPECT_EQ(expected_float[i], arr->GetNumberAt(i)); in TEST()
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3font.cpp71 pBBox->GetNumberAt(0) * xscale, pBBox->GetNumberAt(1) * yscale, in Load()
72 pBBox->GetNumberAt(2) * xscale, pBBox->GetNumberAt(3) * yscale); in Load()
87 pWidthArray->GetNumberAt(i) * xscale)); in Load()
/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.cpp149 m_xmin = pDecode->GetNumberAt(0); in Load()
150 m_xmax = pDecode->GetNumberAt(1); in Load()
151 m_ymin = pDecode->GetNumberAt(2); in Load()
152 m_ymax = pDecode->GetNumberAt(3); in Load()
154 m_ColorMin[i] = pDecode->GetNumberAt(i * 2 + 4); in Load()
155 m_ColorMax[i] = pDecode->GetNumberAt(i * 2 + 5); in Load()
Dcpdf_sampledfunc.cpp70 m_EncodeInfo[i].encode_min = pEncode->GetNumberAt(i * 2); in v_Init()
71 m_EncodeInfo[i].encode_max = pEncode->GetNumberAt(i * 2 + 1); in v_Init()
92 m_DecodeInfo[i].decode_min = pDecode->GetNumberAt(2 * i); in v_Init()
93 m_DecodeInfo[i].decode_max = pDecode->GetNumberAt(2 * i + 1); in v_Init()
Dcpdf_expintfunc.cpp42 m_BeginValues[i] = pArray0 ? pArray0->GetNumberAt(i) : 0.0f; in v_Init()
43 m_EndValues[i] = pArray1 ? pArray1->GetNumberAt(i) : 1.0f; in v_Init()
Dcpdf_allstates.cpp81 SetLineDash(pArray, pDash->GetNumberAt(1), 1.0f); in ProcessExtGS()
92 m_TextState.SetFontSize(pFont->GetNumberAt(1)); in ProcessExtGS()
Dcpdf_stitchfunc.cpp102 m_bounds.push_back(pBoundsArray->GetNumberAt(i)); in v_Init()
Dcpdf_colorspace.cpp90 pPoints[i] = pParam->GetNumberAt(i); in GetBlackPoint()
104 pPoints[i] = pParam->GetNumberAt(i); in GetWhitePoint()
740 m_Gamma[i] = pParam->GetNumberAt(i); in v_Load()
747 m_Matrix[i] = pParam->GetNumberAt(i); in v_Load()
848 m_Ranges[i] = pParam ? pParam->GetNumberAt(i) : kDefaultRanges[i]; in v_Load()
Dcpdf_dib.cpp444 m_CompData[i].m_DecodeMin = pDecode->GetNumberAt(i * 2); in GetDecodeAndMaskArray()
445 float max = pDecode->GetNumberAt(i * 2 + 1); in GetDecodeAndMaskArray()
Dcpdf_streamcontentparser.cpp1296 float fKerning = pArray->GetNumberAt(i); in Handle_ShowText_Positioning()
/external/pdfium/fpdfsdk/
Dcpdfsdk_helpers.cpp239 quad_points->x1 = array->GetNumberAt(quad_index); in GetQuadPointsAtIndex()
240 quad_points->y1 = array->GetNumberAt(quad_index + 1); in GetQuadPointsAtIndex()
241 quad_points->x2 = array->GetNumberAt(quad_index + 2); in GetQuadPointsAtIndex()
242 quad_points->y2 = array->GetNumberAt(quad_index + 3); in GetQuadPointsAtIndex()
243 quad_points->x3 = array->GetNumberAt(quad_index + 4); in GetQuadPointsAtIndex()
244 quad_points->y3 = array->GetNumberAt(quad_index + 5); in GetQuadPointsAtIndex()
245 quad_points->x4 = array->GetNumberAt(quad_index + 6); in GetQuadPointsAtIndex()
246 quad_points->y4 = array->GetNumberAt(quad_index + 7); in GetQuadPointsAtIndex()
Dfpdf_transformpage.cpp55 *left = pArray->GetNumberAt(0); in GetBoundingBox()
56 *bottom = pArray->GetNumberAt(1); in GetBoundingBox()
57 *right = pArray->GetNumberAt(2); in GetBoundingBox()
58 *top = pArray->GetNumberAt(3); in GetBoundingBox()
Dfpdf_edit_embeddertest.cpp107 int cid = widths_array->GetNumberAt(idx); in CheckCompositeFontWidths()
117 uint32_t width = arr->GetNumberAt(inner_idx++); in CheckCompositeFontWidths()
128 uint32_t width = widths_array->GetNumberAt(idx); in CheckCompositeFontWidths()
2442 EXPECT_EQ(250, widths_array->GetNumberAt(0)); in TEST_F()
2443 EXPECT_EQ(569, widths_array->GetNumberAt(11)); in TEST_F()
2444 EXPECT_EQ(500, widths_array->GetNumberAt(223)); in TEST_F()
2471 EXPECT_EQ(600, widths_array->GetNumberAt(33)); in TEST_F()
2472 EXPECT_EQ(600, widths_array->GetNumberAt(74)); in TEST_F()
2473 EXPECT_EQ(600, widths_array->GetNumberAt(223)); in TEST_F()
Dcpdfsdk_actionhandler.cpp263 posArray.push_back(pMyArray->GetNumberAt(i)); in DoAction_GoTo()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp102 float start_x = pCoords->GetNumberAt(0); in DrawAxialShading()
103 float start_y = pCoords->GetNumberAt(1); in DrawAxialShading()
104 float end_x = pCoords->GetNumberAt(2); in DrawAxialShading()
105 float end_y = pCoords->GetNumberAt(3); in DrawAxialShading()
110 t_min = pArray->GetNumberAt(0); in DrawAxialShading()
111 t_max = pArray->GetNumberAt(1); in DrawAxialShading()
170 float start_x = pCoords->GetNumberAt(0); in DrawRadialShading()
171 float start_y = pCoords->GetNumberAt(1); in DrawRadialShading()
172 float start_r = pCoords->GetNumberAt(2); in DrawRadialShading()
173 float end_x = pCoords->GetNumberAt(3); in DrawRadialShading()
[all …]
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2178 float start_x = pCoords->GetNumberAt(0); in DrawShading()
2179 float start_y = pCoords->GetNumberAt(1); in DrawShading()
2180 float end_x = pCoords->GetNumberAt(2); in DrawShading()
2181 float end_y = pCoords->GetNumberAt(3); in DrawShading()
2218 float start_x = pCoords->GetNumberAt(0); in DrawShading()
2219 float start_y = pCoords->GetNumberAt(1); in DrawShading()
2220 float start_r = pCoords->GetNumberAt(2); in DrawShading()
2221 float end_x = pCoords->GetNumberAt(3); in DrawShading()
2222 float end_y = pCoords->GetNumberAt(4); in DrawShading()
2223 float end_r = pCoords->GetNumberAt(5); in DrawShading()

12