Searched refs:colorref (Results 1 – 11 of 11) sorted by relevance
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_colorstate.cpp | 33 void CPDF_ColorState::SetFillColorRef(FX_COLORREF colorref) { in SetFillColorRef() argument 34 m_Ref.GetPrivateCopy()->m_FillColorRef = colorref; in SetFillColorRef() 41 void CPDF_ColorState::SetStrokeColorRef(FX_COLORREF colorref) { in SetStrokeColorRef() argument 42 m_Ref.GetPrivateCopy()->m_StrokeColorRef = colorref; in SetStrokeColorRef() 100 FX_COLORREF* colorref) { in SetColor() argument 102 ASSERT(colorref); in SetColor() 117 *colorref = color->GetRGB(&R, &G, &B) ? FXSYS_BGR(B, G, R) : 0xFFFFFFFF; in SetColor() 123 FX_COLORREF* colorref) { in SetPattern() argument 125 ASSERT(colorref); in SetPattern() 134 *colorref = 0x00BFBFBF; in SetPattern() [all …]
|
D | cpdf_transferfunc.cpp | 32 FX_COLORREF CPDF_TransferFunc::TranslateColor(FX_COLORREF colorref) const { in TranslateColor() 33 return FXSYS_BGR(m_SamplesB[FXSYS_GetBValue(colorref)], in TranslateColor() 34 m_SamplesG[FXSYS_GetGValue(colorref)], in TranslateColor() 35 m_SamplesR[FXSYS_GetRValue(colorref)]); in TranslateColor()
|
D | cpdf_colorstate.h | 32 void SetFillColorRef(FX_COLORREF colorref); 35 void SetStrokeColorRef(FX_COLORREF colorref); 80 FX_COLORREF* colorref); 84 FX_COLORREF* colorref);
|
D | cpdf_transferfunc.h | 28 FX_COLORREF TranslateColor(FX_COLORREF colorref) const;
|
/external/pdfium/core/fxge/dib/ |
D | fx_dib_main.cpp | 102 FX_ARGB AlphaAndColorRefToArgb(int a, FX_COLORREF colorref) { in AlphaAndColorRefToArgb() argument 103 return ArgbEncode(a, FXSYS_GetRValue(colorref), FXSYS_GetGValue(colorref), in AlphaAndColorRefToArgb() 104 FXSYS_GetBValue(colorref)); in AlphaAndColorRefToArgb()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_stipple.cpp | 64 FX_COLORREF colorref; in Draw() local 65 std::tie(alpha, colorref) = ArgbToAlphaAndColorRef(crColor); in Draw() 66 FX_ARGB cr = AlphaAndColorRefToArgb(iRate * alpha / 100, colorref); in Draw()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcPackedDepthStencilTests.cpp | 1005 GLuint colorref = 0; in verifyColorGradient() local 1011 colorref = 0xff000000 + channel * 0x00010101; in verifyColorGradient() 1018 colorref = 0xff000000 + channel * 0x00010101; in verifyColorGradient() 1025 colorref = 0xff000000 + channel * 0x00010101; in verifyColorGradient() 1039 colorref = 0xff000000 + channel * 0x00010101; in verifyColorGradient() 1053 colorref = 0xff000000 + channel * 0x00010101; in verifyColorGradient() 1071 colorref = 0xff000000 + channel * 0x00010101; in verifyColorGradient() 1074 colorref = 0xffffffff; in verifyColorGradient() 1078 colorref = 0xffffffff; in verifyColorGradient() 1080 colorref = 0xcccccccc; in verifyColorGradient() [all …]
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_device.cpp | 126 FX_COLORREF colorref = ArgbToColorRef(argb); in CreateExtPen() local 128 lb.lbColor = colorref; in CreateExtPen() 1067 FX_COLORREF colorref; in FillRectWithBlend() local 1068 std::tie(alpha, colorref) = ArgbToAlphaAndColorRef(fill_color); in FillRectWithBlend() 1075 HBRUSH hBrush = CreateSolidBrush(colorref); in FillRectWithBlend() 1130 FX_COLORREF colorref; in DrawCosmeticLine() local 1131 std::tie(alpha, colorref) = ArgbToAlphaAndColorRef(color); in DrawCosmeticLine() 1135 HPEN hPen = CreatePen(PS_SOLID, 1, colorref); in DrawCosmeticLine()
|
D | fx_win32_print.cpp | 287 FX_COLORREF colorref = ArgbToColorRef(color); in DrawDeviceText() local 288 SetTextColor(m_hDC, colorref); in DrawDeviceText()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 461 FX_COLORREF colorref = pColorState->GetFillColorRef(); in GetFillArgbInternal() local 462 if (colorref == 0xFFFFFFFF) in GetFillArgbInternal() 473 colorref = in GetFillArgbInternal() 474 pObj->m_GeneralState.GetTransferFunc()->TranslateColor(colorref); in GetFillArgbInternal() 477 return m_Options.TranslateColor(AlphaAndColorRefToArgb(alpha, colorref)); in GetFillArgbInternal() 488 FX_COLORREF colorref = pColorState->GetStrokeColorRef(); in GetStrokeArgb() local 489 if (colorref == 0xFFFFFFFF) in GetStrokeArgb() 500 colorref = in GetStrokeArgb() 501 pObj->m_GeneralState.GetTransferFunc()->TranslateColor(colorref); in GetStrokeArgb() 504 return m_Options.TranslateColor(AlphaAndColorRefToArgb(alpha, colorref)); in GetStrokeArgb()
|
/external/pdfium/core/fxge/ |
D | fx_dib.h | 147 FX_ARGB AlphaAndColorRefToArgb(int a, FX_COLORREF colorref);
|