/external/pdfium/fpdfsdk/include/pdfwindow/ |
D | PWL_Utils.h | 16 struct CPWL_Color; 119 static CPWL_Color SubstractColor(const CPWL_Color& sColor, 121 static CPWL_Color DevideColor(const CPWL_Color& sColor, 128 static FX_COLORREF PWLColorToFXColor(const CPWL_Color& color, 130 static FX_BOOL IsBlackOrWhite(const CPWL_Color& color); 131 static CPWL_Color GetReverseColor(const CPWL_Color& color); 133 static CFX_ByteString GetColorAppStream(const CPWL_Color& color, 137 const CPWL_Color& color, 138 const CPWL_Color& crLeftTop, 139 const CPWL_Color& crRightBottom, [all …]
|
D | PWL_Wnd.h | 104 struct CPWL_Color { struct 105 CPWL_Color(int32_t type = COLORTYPE_TRANSPARENT, 116 CPWL_Color(int32_t r, int32_t g, int32_t b) in CPWL_Color() argument 135 inline FX_BOOL operator==(const CPWL_Color& c1, const CPWL_Color& c2) { argument 145 inline FX_BOOL operator!=(const CPWL_Color& c1, const CPWL_Color& c2) { 154 CPWL_Color(COLORTYPE_RGB, 220.0f / 255.0f, 220.0f / 255.0f, 220.0f / 255.0f) 155 #define PWL_DEFAULT_SELTEXTCOLOR CPWL_Color(COLORTYPE_RGB, 1, 1, 1) 157 CPWL_Color(COLORTYPE_RGB, 0, 51.0f / 255.0f, 113.0f / 255.0f) 159 #define PWL_DEFAULT_TEXTCOLOR CPWL_Color(COLORTYPE_RGB, 0, 0, 0) 161 #define PWL_DEFAULT_BLACKCOLOR CPWL_Color(COLORTYPE_GRAY, 0) [all …]
|
D | PWL_IconList.h | 36 void SetIconFillColor(const CPWL_Color& color); 55 CPWL_Color m_crIcon; 70 void SetIconFillColor(const CPWL_Color& color); 108 void SetIconFillColor(const CPWL_Color& color);
|
D | PWL_Note.h | 52 virtual void OnNoteColorChanged(const CPWL_Color& color) = 0; 59 virtual void SetBkColor(const CPWL_Color& color) = 0; 74 virtual CPWL_Color GetBkColor() const = 0; 177 void SetTextColor(const CPWL_Color& color) override; 235 void SetBkColor(const CPWL_Color& color) override; 248 CPWL_Color GetBkColor() const override; 314 void SetBkColor(const CPWL_Color& color) override;
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | color.cpp | 45 m_crTransparent = CPWL_Color(COLORTYPE_TRANSPARENT); in END_JS_STATIC_CONST() 46 m_crBlack = CPWL_Color(COLORTYPE_GRAY, 0); in END_JS_STATIC_CONST() 47 m_crWhite = CPWL_Color(COLORTYPE_GRAY, 1); in END_JS_STATIC_CONST() 48 m_crRed = CPWL_Color(COLORTYPE_RGB, 1, 0, 0); in END_JS_STATIC_CONST() 49 m_crGreen = CPWL_Color(COLORTYPE_RGB, 0, 1, 0); in END_JS_STATIC_CONST() 50 m_crBlue = CPWL_Color(COLORTYPE_RGB, 0, 0, 1); in END_JS_STATIC_CONST() 51 m_crCyan = CPWL_Color(COLORTYPE_CMYK, 1, 0, 0, 0); in END_JS_STATIC_CONST() 52 m_crMagenta = CPWL_Color(COLORTYPE_CMYK, 0, 1, 0, 0); in END_JS_STATIC_CONST() 53 m_crYellow = CPWL_Color(COLORTYPE_CMYK, 0, 0, 1, 0); in END_JS_STATIC_CONST() 54 m_crDKGray = CPWL_Color(COLORTYPE_GRAY, 0.25); in END_JS_STATIC_CONST() [all …]
|
D | color.h | 43 static void ConvertPWLColorToArray(const CPWL_Color& color, CJS_Array& array); 44 static void ConvertArrayToPWLColor(CJS_Array& array, CPWL_Color& color); 47 CPWL_Color m_crTransparent; 48 CPWL_Color m_crBlack; 49 CPWL_Color m_crWhite; 50 CPWL_Color m_crRed; 51 CPWL_Color m_crGreen; 52 CPWL_Color m_crBlue; 53 CPWL_Color m_crCyan; 54 CPWL_Color m_crMagenta; [all …]
|
D | Field.cpp | 1440 CPWL_Color color; in fillColor() 1457 CPWL_Color color; in fillColor() 1459 color = CPWL_Color(COLORTYPE_TRANSPARENT); in fillColor() 1461 color = CPWL_Color(COLORTYPE_GRAY, in fillColor() 1465 CPWL_Color(COLORTYPE_RGB, pFormControl->GetOriginalBackgroundColor(0), in fillColor() 1469 color = CPWL_Color(COLORTYPE_CMYK, in fillColor() 1488 const CPWL_Color& color) { in SetFillColor() 2325 CPWL_Color color; in strokeColor() 2347 CPWL_Color color; in strokeColor() 2349 color = CPWL_Color(COLORTYPE_TRANSPARENT); in strokeColor() [all …]
|
D | Field.h | 85 CPWL_Color color; 365 const CPWL_Color& color); 408 const CPWL_Color& color); 416 const CPWL_Color& color); 477 void AddDelay_Color(enum FIELD_PROP prop, const CPWL_Color& color);
|
D | PublicMethods.cpp | 1062 CPWL_Color crProp; in AFNumber_Format() 1063 CPWL_Color crColor; in AFNumber_Format()
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_baseform.cpp | 908 CPWL_Color crBackground, crBorder; 915 crBackground = CPWL_Color(iColorType, fc[0], fc[1], fc[2], fc[3]); 919 crBorder = CPWL_Color(iColorType, fc[0], fc[1], fc[2], fc[3]); 924 CPWL_Color crLeftTop, crRightBottom; 934 crLeftTop = CPWL_Color(COLORTYPE_GRAY, 1); 940 crLeftTop = CPWL_Color(COLORTYPE_GRAY, 0.5); 941 crRightBottom = CPWL_Color(COLORTYPE_GRAY, 0.75); 953 CPWL_Color crText(COLORTYPE_GRAY, 0); 961 crText = CPWL_Color(iColorType, fc[0], fc[1], fc[2], fc[3]); 1065 CPWL_Color crTemp = crLeftTop; [all …]
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Signature.cpp | 141 icp.sTextColor = CPWL_Color(COLORTYPE_GRAY, 0); in CreateChildWnd() 149 acp.sTextColor = CPWL_Color(COLORTYPE_GRAY, 0); in CreateChildWnd() 157 dcp.sTextColor = CPWL_Color(COLORTYPE_GRAY, 0); in CreateChildWnd() 169 CPWL_Color(COLORTYPE_RGB, 0.91f, 0.855f, 0.92f), in DrawThisAppearance() 170 CPWL_Color(COLORTYPE_TRANSPARENT), 255); in DrawThisAppearance()
|
D | PWL_Wnd.cpp | 564 CPWL_Color CPWL_Wnd::GetBackgroundColor() const { in GetBackgroundColor() 568 void CPWL_Wnd::SetBackgroundColor(const CPWL_Color& color) { in SetBackgroundColor() 572 void CPWL_Wnd::SetTextColor(const CPWL_Color& color) { in SetTextColor() 576 void CPWL_Wnd::SetTextStrokeColor(const CPWL_Color& color) { in SetTextStrokeColor() 580 CPWL_Color CPWL_Wnd::GetTextColor() const { in GetTextColor() 584 CPWL_Color CPWL_Wnd::GetTextStrokeColor() const { in GetTextStrokeColor() 608 CPWL_Color CPWL_Wnd::GetBorderColor() const { in GetBorderColor() 612 return CPWL_Color(); in GetBorderColor() 822 CPWL_Color CPWL_Wnd::GetBorderLeftTopColor(int32_t nBorderStyle) const { in GetBorderLeftTopColor() 823 CPWL_Color color; in GetBorderLeftTopColor() [all …]
|
D | PWL_Utils.cpp | 372 const CPWL_Color& color) { in GetRectFillAppStream() 387 const CPWL_Color& color) { in GetCircleFillAppStream() 580 const CPWL_Color& crText) { in GetTextAppStream() 615 const CPWL_Color& crText, in GetPushButtonAppStream() 837 CFX_ByteString CPWL_Utils::GetColorAppStream(const CPWL_Color& color, in GetColorAppStream() 863 const CPWL_Color& color, in GetBorderAppStream() 864 const CPWL_Color& crLeftTop, in GetBorderAppStream() 865 const CPWL_Color& crRightBottom, in GetBorderAppStream() 980 const CPWL_Color& color, in GetCircleBorderAppStream() 981 const CPWL_Color& crLeftTop, in GetCircleBorderAppStream() [all …]
|
D | PWL_Note.cpp | 25 CPWL_Color(COLORTYPE_RGB, 80 / 255.0f, 80 / 255.0f, 80 / 255.0f) 36 void CPWL_Note_Options::SetTextColor(const CPWL_Color& color) { in SetTextColor() 599 CPWL_Color sTextColor; in CreateChildWnd() 624 CPWL_Color(COLORTYPE_RGB, 240 / 255.0f, 240 / 255.0f, 240 / 255.0f); in CreateChildWnd() 674 void CPWL_NoteItem::SetBkColor(const CPWL_Color& color) { in SetBkColor() 675 CPWL_Color sBK = color; in SetBkColor() 678 CPWL_Color sTextColor; in SetBkColor() 795 CPWL_Color CPWL_NoteItem::GetBkColor() const { in GetBkColor() 1214 CPWL_Color sTextColor; in CreateChildWnd() 1270 CPWL_Color(COLORTYPE_RGB, 240 / 255.0f, 240 / 255.0f, 240 / 255.0f); in CreateChildWnd() [all …]
|
D | PWL_IconList.cpp | 111 void CPWL_IconList_Item::SetIconFillColor(const CPWL_Color& color) { in SetIconFillColor() 336 void CPWL_IconList_Content::SetIconFillColor(const CPWL_Color& color) { in SetIconFillColor() 460 void CPWL_IconList::SetIconFillColor(const CPWL_Color& color) { in SetIconFillColor()
|
D | PWL_Edit.cpp | 335 << CPWL_Utils::GetColorAppStream(CPWL_Color(COLORTYPE_GRAY, 1)) in GetThisAppearanceStream() 351 sText << CPWL_Utils::GetColorAppStream(CPWL_Color(COLORTYPE_RGB, 1, 0, 0), in GetThisAppearanceStream()
|
/external/pdfium/fpdfsdk/include/ |
D | fsdk_baseform.h | 32 struct CPWL_Color; 196 CPWL_Color GetTextPWLColor() const; 197 CPWL_Color GetBorderPWLColor() const; 198 CPWL_Color GetFillPWLColor() const;
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_FormFiller.cpp | 308 CPWL_Color(GetRed(color), GetGreen(color), GetBlue(color)); in GetCreateParam() 313 CPWL_Color(GetRed(color), GetGreen(color), GetBlue(color)); in GetCreateParam() 316 cp.sTextColor = CPWL_Color(COLORTYPE_GRAY, 0); in GetCreateParam() 319 cp.sTextColor = CPWL_Color(GetRed(color), GetGreen(color), GetBlue(color)); in GetCreateParam()
|