Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cjs_color.h>
Public Member Functions | |
CJS_Color (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime) | |
~CJS_Color () override | |
Public Member Functions inherited from CJS_Object | |
CJS_Object (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime) | |
virtual | ~CJS_Object () |
v8::Local< v8::Object > | ToV8Object () |
CJS_Runtime * | GetRuntime () const |
Static Public Member Functions | |
static uint32_t | GetObjDefnID () |
static void | DefineJSObjects (CFXJS_Engine *pEngine) |
static v8::Local< v8::Array > | ConvertPWLColorToArray (CJS_Runtime *pRuntime, const CFX_Color &color) |
static CFX_Color | ConvertArrayToPWLColor (CJS_Runtime *pRuntime, v8::Local< v8::Array > array) |
Static Public Member Functions inherited from CJS_Object | |
static void | DefineConsts (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSConstSpec > consts) |
static void | DefineProps (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSPropertySpec > consts) |
static void | DefineMethods (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSMethodSpec > consts) |
Definition at line 17 of file cjs_color.h.
CJS_Color::CJS_Color | ( | v8::Local< v8::Object > | pObject, |
CJS_Runtime * | pRuntime ) |
Definition at line 131 of file cjs_color.cpp.
References CFX_Color::CFX_Color(), CFX_Color::kCMYK, CFX_Color::kGray, CFX_Color::kRGB, and CFX_Color::kTransparent.
|
overridedefault |
|
static |
Definition at line 88 of file cjs_color.cpp.
References CFX_Color::CFX_Color(), fxcrt::WideString::EqualsASCII(), CFX_Color::kCMYK, CFX_Color::kGray, CFX_Color::kRGB, and CFX_Color::kTransparent.
|
static |
Definition at line 55 of file cjs_color.cpp.
References CFX_Color::nColorType.
|
static |
Definition at line 47 of file cjs_color.cpp.
References CJS_Object::DefineMethods(), CJS_Object::DefineProps(), and FXJSOBJTYPE_STATIC.
|
static |
Definition at line 42 of file cjs_color.cpp.