• Home
  • Raw
  • Download

Lines Matching refs:cPtr

99 SkColor4f ptrToSkColor4f(WASMPointerF32 cPtr) {  in ptrToSkColor4f()  argument
100 float* fourFloats = reinterpret_cast<float*>(cPtr); in ptrToSkColor4f()
912 .function("_clear", optional_override([](SkCanvas& self, WASMPointerF32 cPtr) { in EMSCRIPTEN_BINDINGS() argument
913 self.clear(ptrToSkColor4f(cPtr)); in EMSCRIPTEN_BINDINGS()
965 .function("_drawColor", optional_override([](SkCanvas& self, WASMPointerF32 cPtr) { in EMSCRIPTEN_BINDINGS() argument
966 self.drawColor(ptrToSkColor4f(cPtr)); in EMSCRIPTEN_BINDINGS()
968 ….function("_drawColor", optional_override([](SkCanvas& self, WASMPointerF32 cPtr, SkBlendMode mode… in EMSCRIPTEN_BINDINGS() argument
969 self.drawColor(ptrToSkColor4f(cPtr), mode); in EMSCRIPTEN_BINDINGS()
1194 ….class_function("_MakeBlend", optional_override([](WASMPointerF32 cPtr, SkBlendMode mode)->sk_sp<S… in EMSCRIPTEN_BINDINGS() argument
1195 return SkColorFilters::Blend(ptrToSkColor4f(cPtr).toSkColor(), mode); in EMSCRIPTEN_BINDINGS()
1450 .function("_getColor", optional_override([](SkPaint& self, WASMPointerF32 cPtr)->void { in EMSCRIPTEN_BINDINGS() argument
1452 float* fourFloats = reinterpret_cast<float*>(cPtr); in EMSCRIPTEN_BINDINGS()
1462 .function("_setColor", optional_override([](SkPaint& self, WASMPointerF32 cPtr, in EMSCRIPTEN_BINDINGS()
1464 self.setColor(ptrToSkColor4f(cPtr), colorSpace.get()); in EMSCRIPTEN_BINDINGS()
1653 … optional_override([](WASMPointerF32 cPtr, sk_sp<SkColorSpace> colorSpace)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS() argument
1654 return SkShaders::Color(ptrToSkColor4f(cPtr), colorSpace); in EMSCRIPTEN_BINDINGS()
1671 WASMPointerF32 cPtr, SkColorType colorType, in EMSCRIPTEN_BINDINGS()
1681 const SkColor4f* colors = reinterpret_cast<const SkColor4f*>(cPtr); in EMSCRIPTEN_BINDINGS()
1685 const SkColor* colors = reinterpret_cast<const SkColor*>(cPtr); in EMSCRIPTEN_BINDINGS()
1694 WASMPointerF32 cPtr, SkColorType colorType, in EMSCRIPTEN_BINDINGS() argument
1702 const SkColor4f* colors = reinterpret_cast<const SkColor4f*>(cPtr); in EMSCRIPTEN_BINDINGS()
1706 const SkColor* colors = reinterpret_cast<const SkColor*>(cPtr); in EMSCRIPTEN_BINDINGS()
1714 WASMPointerF32 cPtr, SkColorType colorType, in EMSCRIPTEN_BINDINGS() argument
1724 const SkColor4f* colors = reinterpret_cast<const SkColor4f*>(cPtr); in EMSCRIPTEN_BINDINGS()
1729 const SkColor* colors = reinterpret_cast<const SkColor*>(cPtr); in EMSCRIPTEN_BINDINGS()
1749 WASMPointerF32 cPtr, SkColorType colorType, in EMSCRIPTEN_BINDINGS()
1759 const SkColor4f* colors = reinterpret_cast<const SkColor4f*>(cPtr); in EMSCRIPTEN_BINDINGS()
1765 const SkColor* colors = reinterpret_cast<const SkColor*>(cPtr); in EMSCRIPTEN_BINDINGS()