/external/pdfium/core/fpdfdoc/ |
D | cpdf_apsettings.cpp | 43 float g = pEntry->GetNumberAt(0) * 255; in GetColor() 48 float r = pEntry->GetNumberAt(0) * 255; in GetColor() 49 float g = pEntry->GetNumberAt(1) * 255; in GetColor() 50 float b = pEntry->GetNumberAt(2) * 255; in GetColor() 55 float c = pEntry->GetNumberAt(0); in GetColor() 56 float m = pEntry->GetNumberAt(1); in GetColor() 57 float y = pEntry->GetNumberAt(2); in GetColor() 58 float k = pEntry->GetNumberAt(3); in GetColor() 73 return pEntry ? pEntry->GetNumberAt(index) : 0; in GetOriginalColor() 93 fc[0] = pEntry->GetNumberAt(0); in GetOriginalColor() [all …]
|
D | cpdf_annot.cpp | 223 return CFX_FloatRect(pArray->GetNumberAt(4), pArray->GetNumberAt(5), in RectFromQuadPoints() 224 pArray->GetNumberAt(2), pArray->GetNumberAt(3)); in RectFromQuadPoints() 426 width = pBorderArray->GetNumberAt(2); in DrawBorder() 460 int R = (int32_t)(pColor->GetNumberAt(0) * 255); in DrawBorder() 461 int G = (int32_t)(pColor->GetNumberAt(1) * 255); in DrawBorder() 462 int B = (int32_t)(pColor->GetNumberAt(2) * 255); in DrawBorder() 477 graph_state.m_DashArray[i] = pDashArray->GetNumberAt(i); in DrawBorder()
|
D | cpdf_bookmark.cpp | 33 int r = FXSYS_round(pColor->GetNumberAt(0) * 255); in GetColorRef() 34 int g = FXSYS_round(pColor->GetNumberAt(1) * 255); in GetColorRef() 35 int b = FXSYS_round(pColor->GetNumberAt(2) * 255); in GetColorRef()
|
D | cpdf_iconfit.cpp | 46 fLeft = pA->GetNumberAt(0); in GetIconPosition() 48 fBottom = pA->GetNumberAt(1); in GetIconPosition()
|
D | cpdf_dest.cpp | 148 return pArray ? pArray->GetNumberAt(2 + index) : 0; in GetParam()
|
D | cpvt_generateap.cpp | 320 return pBorderArray->GetNumberAt(2); in GetBorderWidth() 351 sDashStream << pDashArray->GetNumberAt(i) << " "; in GetDashPatternString() 657 sAppStream << pInkCoordList->GetNumberAt(0) << " " in GenerateInkAP() 658 << pInkCoordList->GetNumberAt(1) << " m "; in GenerateInkAP() 661 sAppStream << pInkCoordList->GetNumberAt(j) << " " in GenerateInkAP() 662 << pInkCoordList->GetNumberAt(j + 1) << " l "; in GenerateInkAP()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_array.cpp | 74 rect.left = GetNumberAt(0); in GetRect() 75 rect.bottom = GetNumberAt(1); in GetRect() 76 rect.right = GetNumberAt(2); in GetRect() 77 rect.top = GetNumberAt(3); in GetRect() 86 return CFX_Matrix(GetNumberAt(0), GetNumberAt(1), GetNumberAt(2), in GetMatrix() 87 GetNumberAt(3), GetNumberAt(4), GetNumberAt(5)); in GetMatrix() 120 float CPDF_Array::GetNumberAt(size_t i) const { in GetNumberAt() function in CPDF_Array
|
D | cpdf_array.h | 45 float GetNumberAt(size_t index) const; 49 float GetFloatAt(size_t index) const { return GetNumberAt(index); } in GetFloatAt()
|
D | cpdf_object_unittest.cpp | 35 EXPECT_EQ(float_val, arr->GetNumberAt(index)); in TestArrayAccessors() 656 EXPECT_EQ(expected_float[i], arr->GetNumberAt(i)); in TEST()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_type3font.cpp | 58 pBBox->GetNumberAt(0) * xscale, pBBox->GetNumberAt(1) * yscale, in Load() 59 pBBox->GetNumberAt(2) * xscale, pBBox->GetNumberAt(3) * yscale); in Load() 74 pWidthArray->GetNumberAt(i) * xscale)); in Load()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_meshstream.cpp | 145 m_xmin = pDecode->GetNumberAt(0); in Load() 146 m_xmax = pDecode->GetNumberAt(1); in Load() 147 m_ymin = pDecode->GetNumberAt(2); in Load() 148 m_ymax = pDecode->GetNumberAt(3); in Load() 150 m_ColorMin[i] = pDecode->GetNumberAt(i * 2 + 4); in Load() 151 m_ColorMax[i] = pDecode->GetNumberAt(i * 2 + 5); in Load()
|
D | cpdf_colorspace.cpp | 568 m_WhitePoint[i] = pParam ? pParam->GetNumberAt(i) : 0; in v_Load() 572 m_BlackPoint[i] = pParam ? pParam->GetNumberAt(i) : 0; in v_Load() 612 m_WhitePoint[i] = pParam ? pParam->GetNumberAt(i) : 0; in v_Load() 616 m_BlackPoint[i] = pParam ? pParam->GetNumberAt(i) : 0; in v_Load() 622 m_Gamma[i] = pParam->GetNumberAt(i); in v_Load() 631 m_Matrix[i] = pParam->GetNumberAt(i); in v_Load() 720 m_WhitePoint[i] = pParam ? pParam->GetNumberAt(i) : 0; in v_Load() 724 m_BlackPoint[i] = pParam ? pParam->GetNumberAt(i) : 0; in v_Load() 729 m_Ranges[i] = pParam ? pParam->GetNumberAt(i) : kDefaultRanges[i]; in v_Load() 994 ranges.push_back(pRanges->GetNumberAt(i)); in GetRanges()
|
D | cpdf_allstates.cpp | 73 SetLineDash(pArray, pDash->GetNumberAt(1), 1.0f); in ProcessExtGS() 84 m_TextState.SetFontSize(pFont->GetNumberAt(1)); in ProcessExtGS()
|
D | cpdf_streamcontentparser.cpp | 1313 (pArray->GetNumberAt(i) * m_pCurStates->m_TextState.GetFontSize() * in Handle_ShowText_Positioning()
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_baannot.cpp | 271 float g = pEntry->GetNumberAt(0) * 255; in GetColor() 277 float r = pEntry->GetNumberAt(0) * 255; in GetColor() 278 float g = pEntry->GetNumberAt(1) * 255; in GetColor() 279 float b = pEntry->GetNumberAt(2) * 255; in GetColor() 285 float c = pEntry->GetNumberAt(0); in GetColor() 286 float m = pEntry->GetNumberAt(1); in GetColor() 287 float y = pEntry->GetNumberAt(2); in GetColor() 288 float k = pEntry->GetNumberAt(3); in GetColor()
|
D | fpdfdoc.cpp | 383 quadPoints->x1 = pArray->GetNumberAt(quadIndex * 8); in FPDFLink_GetQuadPoints() 384 quadPoints->y1 = pArray->GetNumberAt(quadIndex * 8 + 1); in FPDFLink_GetQuadPoints() 385 quadPoints->x2 = pArray->GetNumberAt(quadIndex * 8 + 2); in FPDFLink_GetQuadPoints() 386 quadPoints->y2 = pArray->GetNumberAt(quadIndex * 8 + 3); in FPDFLink_GetQuadPoints() 387 quadPoints->x3 = pArray->GetNumberAt(quadIndex * 8 + 4); in FPDFLink_GetQuadPoints() 388 quadPoints->y3 = pArray->GetNumberAt(quadIndex * 8 + 5); in FPDFLink_GetQuadPoints() 389 quadPoints->x4 = pArray->GetNumberAt(quadIndex * 8 + 6); in FPDFLink_GetQuadPoints() 390 quadPoints->y4 = pArray->GetNumberAt(quadIndex * 8 + 7); in FPDFLink_GetQuadPoints()
|
D | fpdfannot.cpp | 638 quadPoints->x1 = pArray->GetNumberAt(0); in FPDFAnnot_GetAttachmentPoints() 639 quadPoints->y1 = pArray->GetNumberAt(1); in FPDFAnnot_GetAttachmentPoints() 640 quadPoints->x2 = pArray->GetNumberAt(2); in FPDFAnnot_GetAttachmentPoints() 641 quadPoints->y2 = pArray->GetNumberAt(3); in FPDFAnnot_GetAttachmentPoints() 642 quadPoints->x3 = pArray->GetNumberAt(4); in FPDFAnnot_GetAttachmentPoints() 643 quadPoints->y3 = pArray->GetNumberAt(5); in FPDFAnnot_GetAttachmentPoints() 644 quadPoints->x4 = pArray->GetNumberAt(6); in FPDFAnnot_GetAttachmentPoints() 645 quadPoints->y4 = pArray->GetNumberAt(7); in FPDFAnnot_GetAttachmentPoints()
|
D | fpdfedit_embeddertest.cpp | 98 int cid = widths_array->GetNumberAt(idx); in CheckCompositeFontWidths() 108 int width = arr->GetNumberAt(inner_idx++); in CheckCompositeFontWidths() 119 int width = widths_array->GetNumberAt(idx); in CheckCompositeFontWidths() 743 EXPECT_EQ(250, widths_array->GetNumberAt(0)); in TEST_F() 744 EXPECT_EQ(569, widths_array->GetNumberAt(11)); in TEST_F() 745 EXPECT_EQ(500, widths_array->GetNumberAt(223)); in TEST_F() 772 EXPECT_EQ(600, widths_array->GetNumberAt(33)); in TEST_F() 773 EXPECT_EQ(600, widths_array->GetNumberAt(74)); in TEST_F() 774 EXPECT_EQ(600, widths_array->GetNumberAt(223)); in TEST_F()
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_icon.cpp | 58 return {dwCount > 0 ? pA->GetNumberAt(0) : 0.0f, in GetIconPosition() 59 dwCount > 1 ? pA->GetNumberAt(1) : 0.0f}; in GetIconPosition()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 115 float start_x = pCoords->GetNumberAt(0); in DrawAxialShading() 116 float start_y = pCoords->GetNumberAt(1); in DrawAxialShading() 117 float end_x = pCoords->GetNumberAt(2); in DrawAxialShading() 118 float end_y = pCoords->GetNumberAt(3); in DrawAxialShading() 123 t_min = pArray->GetNumberAt(0); in DrawAxialShading() 124 t_max = pArray->GetNumberAt(1); in DrawAxialShading() 200 float start_x = pCoords->GetNumberAt(0); in DrawRadialShading() 201 float start_y = pCoords->GetNumberAt(1); in DrawRadialShading() 202 float start_r = pCoords->GetNumberAt(2); in DrawRadialShading() 203 float end_x = pCoords->GetNumberAt(3); in DrawRadialShading() [all …]
|
D | cpdf_dibsource.cpp | 433 pCompData[i].m_DecodeMin = pDecode->GetNumberAt(i * 2); in GetDecodeAndMaskArray() 434 float max = pDecode->GetNumberAt(i * 2 + 1); in GetDecodeAndMaskArray()
|
/external/pdfium/core/fxge/ |
D | cfx_graphstate.cpp | 27 pData->m_DashArray[i] = pArray->GetNumberAt(i) * scale; in SetLineDash()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 2042 float start_x = pCoords->GetNumberAt(0); in DrawShading() 2043 float start_y = pCoords->GetNumberAt(1); in DrawShading() 2044 float end_x = pCoords->GetNumberAt(2); in DrawShading() 2045 float end_y = pCoords->GetNumberAt(3); in DrawShading() 2082 float start_x = pCoords->GetNumberAt(0); in DrawShading() 2083 float start_y = pCoords->GetNumberAt(1); in DrawShading() 2084 float start_r = pCoords->GetNumberAt(2); in DrawShading() 2085 float end_x = pCoords->GetNumberAt(3); in DrawShading() 2086 float end_y = pCoords->GetNumberAt(4); in DrawShading() 2087 float end_r = pCoords->GetNumberAt(5); in DrawShading()
|