MCPcopy Create free account
hub / github.com/FastLED/FastLED / Blend2d

Method Blend2d

src/fl/fx/2d/blend.cpp.hpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace fl {
17
18Blend2d::Blend2d(const XYMap &xymap) : Fx2d(xymap) {
19 // Warning, the xyMap will be the final transrformation applied to the
20 // frame. If the delegate Fx2d layers have their own transformation then
21 // both will be applied.
22 mFrame = fl::make_shared<Frame>(mXyMap.getTotal());
23 mFrameTransform = fl::make_shared<Frame>(mXyMap.getTotal());
24}
25
26string Blend2d::fxName() const {
27 fl::string out = "LayeredFx2d(";

Callers

nothing calls this directly

Calls 1

getTotalMethod · 0.80

Tested by

no test coverage detected