7#ifndef CORE_FXGE_CFX_COLOR_H_
8#define CORE_FXGE_CFX_COLOR_H_
10#include "core/fxge/dib/fx_dib.h"
38 constexpr CFX_Color(int32_t r, int32_t g, int32_t b)
52 FX_COLORREF
ToFXColor(int32_t nTransparency)
const;
bool operator==(const CFX_Color &c1, const CFX_Color &c2)
bool operator!=(const CFX_Color &c1, const CFX_Color &c2)
constexpr CFX_FloatRect(float l, float b, float r, float t)
void Translate(float e, float f)
CPDF_Annot * GetAt(size_t index) const
bool Contains(const CPDF_Annot *pAnnot) const
void DisplayAnnots(CPDF_Page *pPage, CFX_RenderDevice *pDevice, CPDF_RenderContext *pContext, bool bPrinting, const CFX_Matrix &mtUser2Device, bool bShowWidget)
~CPDF_AnnotList() override
CPDF_AnnotList(CPDF_Page *pPage)
Subtype GetSubtype() const
const CPDF_Dictionary * GetAnnotDict() const
void SetPopupAnnot(CPDF_Annot *pAnnot)
~CPDF_DefaultAppearance()
CPDF_DefaultAppearance(const ByteString &csDA)
absl::optional< ByteString > GetFont(float *fFontSize) const
static bool FindTagParamFromStartForTesting(CPDF_SimpleParser *parser, ByteStringView token, int nParams)
absl::optional< CFX_Color > GetColor() const
CPDF_DefaultAppearance(const CPDF_DefaultAppearance &cDA)
absl::optional< CFX_Color::TypeAndARGB > GetColorARGB() const
bool KeyExist(const ByteString &key) const
ByteString GetByteStringFor(const ByteString &key) const
CFX_FloatRect GetRectFor(const ByteString &key) const
static void GenerateFormAP(CPDF_Document *pDoc, CPDF_Dictionary *pAnnotDict, FormType type)
float GetPageWidth() const override
bool operator==(const char *ptr) const
bool operator!=(const char *ptr) const
TypeAndARGB(CFX_Color::Type type_in, FX_ARGB argb_in)
CFX_Color::Type color_type
CFX_Color operator/(float fColorDivide) const
CFX_Color operator-(float fColorSub) const
constexpr CFX_Color(int32_t r, int32_t g, int32_t b)
CFX_Color ConvertColorType(Type nConvertColorType) const
constexpr CFX_Color(FX_COLORREF ref)
CFX_Color & operator=(const CFX_Color &that)=default
FX_COLORREF ToFXColor(int32_t nTransparency) const
constexpr CFX_Color(Type type=CFX_Color::Type::kTransparent, float color1=0.0f, float color2=0.0f, float color3=0.0f, float color4=0.0f)
CFX_Color(const CFX_Color &that)=default