Home
last modified time | relevance | path

Searched refs:colorref (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_colorstate.cpp33 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 …]
Dcpdf_transferfunc.cpp32 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()
Dcpdf_colorstate.h32 void SetFillColorRef(FX_COLORREF colorref);
35 void SetStrokeColorRef(FX_COLORREF colorref);
80 FX_COLORREF* colorref);
84 FX_COLORREF* colorref);
Dcpdf_transferfunc.h28 FX_COLORREF TranslateColor(FX_COLORREF colorref) const;
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp102 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/
Dcxfa_stipple.cpp64 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/
DglcPackedDepthStencilTests.cpp1005 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/
Dfx_win32_device.cpp126 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()
Dfx_win32_print.cpp287 FX_COLORREF colorref = ArgbToColorRef(color); in DrawDeviceText() local
288 SetTextColor(m_hDC, colorref); in DrawDeviceText()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp461 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/
Dfx_dib.h147 FX_ARGB AlphaAndColorRefToArgb(int a, FX_COLORREF colorref);