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_cssvalue.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_CSSVALUE_H_
8
#
define
CORE_FXCRT_CSS_CFX_CSSVALUE_H_
9
10
#
include
"core/fxcrt/css/cfx_css.h"
11
#
include
"core/fxcrt/retain_ptr.h"
12
13
class
CFX_CSSValue
:
public
Retainable
{
14
public
:
15
enum
class
PrimitiveType
:
uint8_t
{
16
kUnknown
= 0,
17
kNumber
,
18
kString
,
19
kRGB
,
20
kEnum
,
21
kFunction
,
22
kList
,
23
};
24
25
PrimitiveType
GetType
()
const
{
return
m_value; }
26
27
protected
:
28
explicit
CFX_CSSValue
(
PrimitiveType
type);
29
~
CFX_CSSValue
() override;
30
31
private
:
32
const
PrimitiveType
m_value;
33
};
34
35
#
endif
// CORE_FXCRT_CSS_CFX_CSSVALUE_H_
CFX_CSSColorValue::~CFX_CSSColorValue
~CFX_CSSColorValue() override
CFX_CSSColorValue::Value
FX_ARGB Value() const
Definition
cfx_csscolorvalue.h:18
CFX_CSSColorValue::CFX_CSSColorValue
CFX_CSSColorValue(FX_ARGB color)
Definition
cfx_csscolorvalue.cpp:9
CFX_CSSValue
Definition
cfx_cssvalue.h:13
CFX_CSSValue::CFX_CSSValue
CFX_CSSValue(PrimitiveType type)
Definition
cfx_cssvalue.cpp:9
CFX_CSSValue::PrimitiveType
PrimitiveType
Definition
cfx_cssvalue.h:15
CFX_CSSValue::PrimitiveType::kUnknown
@ kUnknown
CFX_CSSValue::PrimitiveType::kString
@ kString
CFX_CSSValue::PrimitiveType::kEnum
@ kEnum
CFX_CSSValue::PrimitiveType::kNumber
@ kNumber
CFX_CSSValue::PrimitiveType::kRGB
@ kRGB
CFX_CSSValue::PrimitiveType::kFunction
@ kFunction
CFX_CSSValue::PrimitiveType::kList
@ kList
CFX_CSSValue::GetType
PrimitiveType GetType() const
Definition
cfx_cssvalue.h:25
CFX_CSSValue::~CFX_CSSValue
~CFX_CSSValue() override
fxcrt::Retainable
Definition
retain_ptr.h:158
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcrt
css
cfx_cssvalue.h
Generated on Sat Sep 21 2024 00:55:06 for Qt by
1.12.0