Home
last modified time | relevance | path

Searched refs:JSColor (Results 1 – 7 of 7) sorted by relevance

/external/skia/experimental/wasm-skp-debugger/
Ddebugger_bindings.cpp14 using JSColor = int32_t; typedef
92 constant("TRANSPARENT", (JSColor) SK_ColorTRANSPARENT); in EMSCRIPTEN_BINDINGS()
107 .function("clear", optional_override([](SkCanvas& self, JSColor color)->void { in EMSCRIPTEN_BINDINGS()
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp660 .function("clear", optional_override([](SkCanvas& self, JSColor color)->void { in EMSCRIPTEN_BINDINGS()
688 JSColor ambientColor, JSColor spotColor, in EMSCRIPTEN_BINDINGS()
798 .function("getColor", optional_override([](SkPaint& self)->JSColor { in EMSCRIPTEN_BINDINGS()
801 return JSColor(self.getColor()); in EMSCRIPTEN_BINDINGS()
810 .function("setColor", optional_override([](SkPaint& self, JSColor color)->void { in EMSCRIPTEN_BINDINGS()
1109 constant("TRANSPARENT", (JSColor) SK_ColorTRANSPARENT); in EMSCRIPTEN_BINDINGS()
1110 constant("RED", (JSColor) SK_ColorRED); in EMSCRIPTEN_BINDINGS()
1111 constant("BLUE", (JSColor) SK_ColorBLUE); in EMSCRIPTEN_BINDINGS()
1112 constant("YELLOW", (JSColor) SK_ColorYELLOW); in EMSCRIPTEN_BINDINGS()
1113 constant("CYAN", (JSColor) SK_ColorCYAN); in EMSCRIPTEN_BINDINGS()
[all …]
DWasmAliases.h18 using JSColor = int32_t; variable
Dskottie_bindings.cpp78 bool setColor(const std::string& key, JSColor c) { in setColor()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp742 .function("clear", optional_override([](SkCanvas& self, JSColor color)->void { in EMSCRIPTEN_BINDINGS()
770 JSColor ambientColor, JSColor spotColor, in EMSCRIPTEN_BINDINGS()
891 .function("getColor", optional_override([](SkPaint& self)->JSColor { in EMSCRIPTEN_BINDINGS()
894 return JSColor(self.getColor()); in EMSCRIPTEN_BINDINGS()
903 .function("setColor", optional_override([](SkPaint& self, JSColor color)->void { in EMSCRIPTEN_BINDINGS()
1211 constant("TRANSPARENT", (JSColor) SK_ColorTRANSPARENT); in EMSCRIPTEN_BINDINGS()
1212 constant("RED", (JSColor) SK_ColorRED); in EMSCRIPTEN_BINDINGS()
1213 constant("BLUE", (JSColor) SK_ColorBLUE); in EMSCRIPTEN_BINDINGS()
1214 constant("YELLOW", (JSColor) SK_ColorYELLOW); in EMSCRIPTEN_BINDINGS()
1215 constant("CYAN", (JSColor) SK_ColorCYAN); in EMSCRIPTEN_BINDINGS()
[all …]
DWasmAliases.h18 using JSColor = int32_t; variable
Dskottie_bindings.cpp134 bool setColor(const std::string& key, JSColor c) { in setColor()