Searched refs:kCMYK (Results 1 – 11 of 11) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | cfx_cmyk_to_srgb.cpp | 18 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/ |
D | cfx_color.cpp | 17 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 …]
|
D | cfx_color.h | 14 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_color_utils.cpp | 26 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()
|
D | cpdf_defaultappearance.cpp | 94 return {CFX_Color::kCMYK}; in GetColor() 117 if (*type == CFX_Color::kCMYK) { in GetColor()
|
D | cpdf_apsettings.cpp | 55 iColorType = CFX_Color::kCMYK; in GetColor() 101 iColorType = CFX_Color::kCMYK; in GetOriginalColor()
|
D | cpvt_generateap.cpp | 193 case CFX_Color::kCMYK: in GenerateColorAP()
|
/external/pdfium/fxjs/ |
D | cjs_color.cpp | 73 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()
|
D | cjs_field.cpp | 1312 } 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/ |
D | fpdf_annot.cpp | 619 case CFX_Color::kCMYK: in FPDFAnnot_GetColor()
|
D | cpdfsdk_appstream.cpp | 123 case CFX_Color::kCMYK: in GetColorAppStream()
|