Home
last modified time | relevance | path

Searched refs:kRGB (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_color.cpp36 return CFX_Color(CFX_Color::kRGB); in ConvertGRAY2RGB()
37 return CFX_Color(CFX_Color::kRGB, dGray, dGray, dGray); in ConvertGRAY2RGB()
48 return CFX_Color(CFX_Color::kRGB); in ConvertCMYK2RGB()
49 return CFX_Color(CFX_Color::kRGB, 1.0f - std::min(1.0f, dC + dK), in ConvertCMYK2RGB()
74 rt = CFX_Color(CFX_Color::kRGB, array.GetFloatAt(0), array.GetFloatAt(1), in ParseColor()
95 return CFX_Color(CFX_Color::kRGB, f1, f2, f3); in ParseColor()
119 case CFX_Color::kRGB: in ConvertColorType()
127 case CFX_Color::kRGB: in ConvertColorType()
142 case CFX_Color::kRGB: in ConvertColorType()
163 case CFX_Color::kRGB: { in ToFXColor()
[all …]
Dcfx_color.h17 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
34 : nColorType(CFX_Color::kRGB), in CFX_Color()
/external/pdfium/fxjs/
Dcjs_color.cpp59 case CFX_Color::kRGB: in ConvertPWLColorToArray()
111 return CFX_Color(CFX_Color::kRGB, d1, d2, d3); in ConvertArrayToPWLColor()
128 m_crRed = CFX_Color(CFX_Color::kRGB, 1, 0, 0); in color()
129 m_crGreen = CFX_Color(CFX_Color::kRGB, 0, 1, 0); in color()
130 m_crBlue = CFX_Color(CFX_Color::kRGB, 0, 0, 1); in color()
272 nColorType = CFX_Color::kRGB; in convert()
Dcjs_field.cpp1145 } else if (iColorType == CFX_Color::kRGB) { in get_fill_color()
1147 CFX_Color(CFX_Color::kRGB, pFormControl->GetOriginalBackgroundColor(0), in get_fill_color()
1776 } else if (iColorType == CFX_Color::kRGB) { in get_stroke_color()
1777 color = CFX_Color(CFX_Color::kRGB, pFormControl->GetOriginalBorderColor(0), in get_stroke_color()
1884 CFX_Color(CFX_Color::kRGB, r / 255.0f, g / 255.0f, b / 255.0f); in get_text_color()
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp172 case CFX_Color::kRGB: in GenerateColorAP()
386 << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GetPopupContentsString()
417 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 1, 1, 0), in GenerateTextSymbolAP()
419 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GenerateTextSymbolAP()
535 CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GenerateCircleAP()
603 CFX_Color(CFX_Color::kRGB, 1, 1, 0), in GenerateHighlightAP()
640 CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GenerateInkAP()
705 CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GenerateUnderlineAP()
730 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 1, 1, 0), in GeneratePopupAP()
732 sAppStream << GenerateColorAP(CFX_Color(CFX_Color::kRGB, 0, 0, 0), in GeneratePopupAP()
[all …]
Dcpdf_apsettings.cpp47 iColorType = CFX_Color::kRGB; in GetColor()
95 iColorType = CFX_Color::kRGB; in GetOriginalColor()
Dcpdf_defaultappearance.cpp129 iColorType = CFX_Color::kRGB; in GetColor()
163 iColorType = CFX_Color::kRGB; in GetColor()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_combo_box.cpp286 bcp.sBackgroundColor = CFX_Color(CFX_Color::kRGB, 220.0f / 255.0f, in CreateButton()
Dcpwl_appstream.cpp107 case CFX_Color::kRGB: in GetColorAppStream()
1058 sAppStream << GetColorAppStream(CFX_Color(CFX_Color::kRGB, 220.0f / 255.0f, in GetDropButtonAppStream()
1698 sList << GetColorAppStream(CFX_Color(CFX_Color::kRGB, 0, 51.0f / 255.0f, in SetAsListBox()
/external/pdfium/fpdfsdk/
Dfpdfannot.cpp547 case CFX_Color::kRGB: in FPDFAnnot_GetColor()