Home
last modified time | relevance | path

Searched refs:pColor (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/src/fpdfdoc/
Ddoc_bookmark.cpp32 CPDF_Array* pColor = m_pDict->GetArray("C"); in GetColorRef() local
33 if (pColor == NULL) { in GetColorRef()
36 int r = FXSYS_round(pColor->GetNumber(0) * 255); in GetColorRef()
37 int g = FXSYS_round(pColor->GetNumber(1) * 255); in GetColorRef()
38 int b = FXSYS_round(pColor->GetNumber(2) * 255); in GetColorRef()
Ddoc_annot.cpp317 CPDF_Array* pColor = m_pAnnotDict->GetArray("C"); in GetBorder() local
319 if (pColor != NULL) { in GetBorder()
320 int R = (FX_INT32)(pColor->GetNumber(0) * 255); in GetBorder()
321 int G = (FX_INT32)(pColor->GetNumber(1) * 255); in GetBorder()
322 int B = (FX_INT32)(pColor->GetNumber(2) * 255); in GetBorder()
437 CPDF_Array* pColor = m_pAnnotDict->GetArray("C"); in DrawBorder() local
439 if (pColor != NULL) { in DrawBorder()
440 int R = (FX_INT32)(pColor->GetNumber(0) * 255); in DrawBorder()
441 int G = (FX_INT32)(pColor->GetNumber(1) * 255); in DrawBorder()
442 int B = (FX_INT32)(pColor->GetNumber(2) * 255); in DrawBorder()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp756 FX_FLOAT* pColor = FX_Alloc(FX_FLOAT, m_nComponents); in LoadMask() local
758 pColor[i] = pMatte->GetFloat(i); in LoadMask()
761 m_pColorSpace->GetRGB(pColor, R, G, B); in LoadMask()
762 FX_Free(pColor); in LoadMask()
784 FX_FLOAT* pColor = FX_Alloc(FX_FLOAT, m_nComponents); in StratLoadMask() local
786 pColor[i] = pMatte->GetFloat(i); in StratLoadMask()
788 m_pColorSpace->GetRGB(pColor, R, G, B); in StratLoadMask()
789 FX_Free(pColor); in StratLoadMask()
Dfpdf_render_image.cpp413 CPDF_Color* pColor = m_pImageObject->m_ColorState.GetFillColor(); in StartRenderDIBSource() local
414 if (pColor && pColor->IsPattern()) { in StartRenderDIBSource()
415 m_pPattern = pColor->GetPattern(); in StartRenderDIBSource()
Drender_int.h123 …DF_PathObject* pPathObj, const CFX_AffineMatrix* pObj2Device, CPDF_Color* pColor, FX_BOOL bStroke);
Dfpdf_render_pattern.cpp1057 …PDF_PathObject* pPathObj, const CFX_AffineMatrix* pObj2Device, CPDF_Color* pColor, FX_BOOL bStroke) in DrawPathWithPattern() argument
1059 CPDF_Pattern* pattern = pColor->GetPattern(); in DrawPathWithPattern()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp486 FX_LPBYTE pColor = (FX_LPBYTE)&color; in SetColor() local
487 pIccModule->TranslateScanline(pIccTransform, pColor, pColor, 1); in SetColor()