Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_cmyk_to_srgb.cpp18 constexpr uint8_t kCMYK[81 * 81][3] = { variable
1677 int fix_r = kCMYK[pos][0] << 8; in AdobeCMYK_to_sRGB1()
1678 int fix_g = kCMYK[pos][1] << 8; in AdobeCMYK_to_sRGB1()
1679 int fix_b = kCMYK[pos][2] << 8; in AdobeCMYK_to_sRGB1()
1695 fix_r += (kCMYK[pos][0] - kCMYK[c1_pos][0]) * c_rate / 32; in AdobeCMYK_to_sRGB1()
1696 fix_g += (kCMYK[pos][1] - kCMYK[c1_pos][1]) * c_rate / 32; in AdobeCMYK_to_sRGB1()
1697 fix_b += (kCMYK[pos][2] - kCMYK[c1_pos][2]) * c_rate / 32; in AdobeCMYK_to_sRGB1()
1701 fix_r += (kCMYK[pos][0] - kCMYK[m1_pos][0]) * m_rate / 32; in AdobeCMYK_to_sRGB1()
1702 fix_g += (kCMYK[pos][1] - kCMYK[m1_pos][1]) * m_rate / 32; in AdobeCMYK_to_sRGB1()
1703 fix_b += (kCMYK[pos][2] - kCMYK[m1_pos][2]) * m_rate / 32; in AdobeCMYK_to_sRGB1()
[all …]
/external/pdfium/core/fxge/
Dcfx_color.cpp17 static_assert(CFX_Color::kRGB < CFX_Color::kCMYK,
36 return CFX_Color(CFX_Color::kCMYK); in ConvertGRAY2CMYK()
37 return CFX_Color(CFX_Color::kCMYK, 0.0f, 0.0f, 0.0f, 1.0f - dGray); in ConvertGRAY2CMYK()
62 return CFX_Color(CFX_Color::kCMYK); in ConvertRGB2CMYK()
67 return CFX_Color(CFX_Color::kCMYK, c, m, y, std::min(c, std::min(m, y))); in ConvertRGB2CMYK()
87 case CFX_Color::kCMYK: in ConvertColorType()
97 case CFX_Color::kCMYK: in ConvertColorType()
102 case CFX_Color::kCMYK: in ConvertColorType()
133 case CFX_Color::kCMYK: { in ToFXColor()
155 case CFX_Color::kCMYK: in operator -()
[all …]
Dcfx_color.h14 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
/external/pdfium/core/fpdfdoc/
Dcpdf_color_utils.cpp26 rt = CFX_Color(CFX_Color::kCMYK, array.GetNumberAt(0), in CFXColorFromArray()
44 if (*color_type == CFX_Color::kCMYK) { in CFXColorFromString()
45 return CFX_Color(CFX_Color::kCMYK, values[0], values[1], values[2], in CFXColorFromString()
Dcpdf_defaultappearance.cpp94 return {CFX_Color::kCMYK}; in GetColor()
117 if (*type == CFX_Color::kCMYK) { in GetColor()
Dcpdf_apsettings.cpp55 iColorType = CFX_Color::kCMYK; in GetColor()
101 iColorType = CFX_Color::kCMYK; in GetOriginalColor()
Dcpvt_generateap.cpp193 case CFX_Color::kCMYK: in GenerateColorAP()
/external/pdfium/fxjs/
Dcjs_color.cpp73 case CFX_Color::kCMYK: in ConvertPWLColorToArray()
124 return CFX_Color(CFX_Color::kCMYK, d1, d2, d3, d4); in ConvertArrayToPWLColor()
137 m_crCyan(CFX_Color::kCMYK, 1, 0, 0, 0), in CJS_Color()
138 m_crMagenta(CFX_Color::kCMYK, 0, 1, 0, 0), in CJS_Color()
139 m_crYellow(CFX_Color::kCMYK, 0, 0, 1, 0), in CJS_Color()
288 nColorType = CFX_Color::kCMYK; in convert()
Dcjs_field.cpp1312 } else if (iColorType == CFX_Color::kCMYK) { in get_fill_color()
1314 CFX_Color(CFX_Color::kCMYK, pFormControl->GetOriginalBackgroundColor(0), in get_fill_color()
1844 } else if (iColorType == CFX_Color::kCMYK) { in get_stroke_color()
1845 color = CFX_Color(CFX_Color::kCMYK, pFormControl->GetOriginalBorderColor(0), in get_stroke_color()
/external/pdfium/fpdfsdk/
Dfpdf_annot.cpp619 case CFX_Color::kCMYK: in FPDFAnnot_GetColor()
Dcpdfsdk_appstream.cpp123 case CFX_Color::kCMYK: in GetColorAppStream()