FastLED 3.10.8
Loading...
Searching...
No Matches

◆ ScaleUp()

fl::ScaleUp::ScaleUp ( const XYMap & xymap,
Fx2dPtr fx )

Construct a ScaleUp effect wrapper.

Parameters
xymapThe XYMap defining the low-resolution render target
fxThe delegate effect to render at lower resolution

Definition at line 35 of file scale_up.cpp.hpp.

35 : Fx2d(xymap), mDelegate(fx) {
36 // Turn off re-mapping of the delegate's XYMap, since bilinearExpand needs
37 // to work in screen coordinates. The final mapping will for this class will
38 // still be performed.
39 mDelegate->getXYMap().setRectangularGrid();
40}
XYMap xymap
Fx2d(const XYMap &xyMap) FL_NO_EXCEPT
Definition fx2d.h:20
Fx2dPtr mDelegate
The wrapped effect that renders at low resolution.
Definition scale_up.h:115

References fl::Fx2d::Fx2d(), fl::FL_NO_EXCEPT, mDelegate, and xymap.

+ Here is the call graph for this function: