Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_csscolorvalue.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXCRT_CSS_CFX_CSSCOLORVALUE_H_
8#define CORE_FXCRT_CSS_CFX_CSSCOLORVALUE_H_
9
10#include "core/fxcrt/css/cfx_cssvalue.h"
11#include "core/fxge/dib/fx_dib.h"
12
13class CFX_CSSColorValue final : public CFX_CSSValue {
14 public:
15 explicit CFX_CSSColorValue(FX_ARGB color);
16 ~CFX_CSSColorValue() override;
17
18 FX_ARGB Value() const { return value_; }
19
20 private:
21 FX_ARGB value_;
22};
23
24#endif // CORE_FXCRT_CSS_CFX_CSSCOLORVALUE_H_
~CFX_CSSColorValue() override
FX_ARGB Value() const
CFX_CSSColorValue(FX_ARGB color)
CFX_CSSValue(PrimitiveType type)