Home
last modified time | relevance | path

Searched refs:CJS_Color (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/fxjs/
Dcjs_color.cpp19 const JSPropertySpec CJS_Color::PropertySpecs[] = {
33 const JSMethodSpec CJS_Color::MethodSpecs[] = {{"convert", convert_static},
36 int CJS_Color::ObjDefnID = -1;
37 const char CJS_Color::kName[] = "color";
40 int CJS_Color::GetObjDefnID() { in GetObjDefnID()
45 void CJS_Color::DefineJSObjects(CFXJS_Engine* pEngine) { in DefineJSObjects()
46 ObjDefnID = pEngine->DefineObj(CJS_Color::kName, FXJSOBJTYPE_STATIC, in DefineJSObjects()
47 JSConstructor<CJS_Color>, JSDestructor); in DefineJSObjects()
53 v8::Local<v8::Array> CJS_Color::ConvertPWLColorToArray(CJS_Runtime* pRuntime, in ConvertPWLColorToArray()
86 CFX_Color CJS_Color::ConvertArrayToPWLColor(CJS_Runtime* pRuntime, in ConvertArrayToPWLColor()
[all …]
Dcjs_color.h15 class CJS_Color final : public CJS_Object {
24 CJS_Color(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
25 ~CJS_Color() override;
27 JS_STATIC_PROP(black, black, CJS_Color)
28 JS_STATIC_PROP(blue, blue, CJS_Color)
29 JS_STATIC_PROP(cyan, cyan, CJS_Color)
30 JS_STATIC_PROP(dkGray, dark_gray, CJS_Color)
31 JS_STATIC_PROP(gray, gray, CJS_Color)
32 JS_STATIC_PROP(green, green, CJS_Color)
33 JS_STATIC_PROP(ltGray, light_gray, CJS_Color)
[all …]
Dcjs_runtime.cpp99 CJS_Color::DefineJSObjects(this); in DefineJSObjects()
Dcjs_publicmethods.cpp675 CFX_Color crProp = CJS_Color::ConvertArrayToPWLColor( in AFNumber_Format()
678 CJS_Color::ConvertArrayToPWLColor(pRuntime, arColor); in AFNumber_Format()
Dcjs_field.cpp1323 CJS_Color::ConvertPWLColorToArray(pRuntime, color); in get_fill_color()
1854 CJS_Color::ConvertPWLColorToArray(pRuntime, color); in get_stroke_color()
1955 CJS_Color::ConvertPWLColorToArray(pRuntime, crRet); in get_text_color()