Searched refs:CPVT_Color (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/fpdfdoc/ |
D | cpvt_color.cpp | 12 CPVT_Color CPVT_Color::ParseColor(const CFX_ByteString& str) { in ParseColor() 15 return CPVT_Color(CPVT_Color::kGray, FX_atof(syntax.GetWord())); in ParseColor() 21 return CPVT_Color(CPVT_Color::kRGB, f1, f2, f3); in ParseColor() 28 return CPVT_Color(CPVT_Color::kCMYK, f1, f2, f3, f4); in ParseColor() 30 return CPVT_Color(CPVT_Color::kTransparent); in ParseColor() 34 CPVT_Color CPVT_Color::ParseColor(const CPDF_Array& array) { in ParseColor() 35 CPVT_Color rt; in ParseColor() 38 rt = CPVT_Color(CPVT_Color::kGray, array.GetFloatAt(0)); in ParseColor() 41 rt = CPVT_Color(CPVT_Color::kRGB, array.GetFloatAt(0), in ParseColor() 45 rt = CPVT_Color(CPVT_Color::kCMYK, array.GetFloatAt(0), in ParseColor()
|
D | cpvt_generateap.cpp | 58 CPVT_Color crText = CPVT_Color::ParseColor(DA); in GenerateWidgetAP() 114 CPVT_Color crLeftTop, crRightBottom; in GenerateWidgetAP() 133 crLeftTop = CPVT_Color(CPVT_Color::kGray, 1); in GenerateWidgetAP() 134 crRightBottom = CPVT_Color(CPVT_Color::kGray, 0.5); in GenerateWidgetAP() 139 crLeftTop = CPVT_Color(CPVT_Color::kGray, 0.5); in GenerateWidgetAP() 140 crRightBottom = CPVT_Color(CPVT_Color::kGray, 0.75); in GenerateWidgetAP() 147 CPVT_Color crBorder, crBG; in GenerateWidgetAP() 150 crBorder = CPVT_Color::ParseColor(*pArray); in GenerateWidgetAP() 152 crBG = CPVT_Color::ParseColor(*pArray); in GenerateWidgetAP() 315 CPVT_Color(CPVT_Color::kRGB, 220.0f / 255.0f, 220.0f / 255.0f, in GenerateWidgetAP() [all …]
|
D | cpvt_color.h | 14 struct CPVT_Color { struct 17 CPVT_Color(Type type = kTransparent, argument 34 static CPVT_Color ParseColor(const CFX_ByteString& str); argument 35 static CPVT_Color ParseColor(const CPDF_Array& array);
|
D | cpvt_generateap.h | 56 const CPVT_Color& color, 57 const CPVT_Color& crLeftTop, 58 const CPVT_Color& crRightBottom, 61 static CFX_ByteString GenerateColorAP(const CPVT_Color& color,
|