Set screen map for 1D strip remapping from XMap.
- Parameters
-
| map | 1D addressing mode (linear, reverse, custom function, LUT) |
- Returns
- Reference to this channel for method chaining
Definition at line 826 of file channel.cpp.hpp.
826 {
827
830}
Channel & setScreenMap(const fl::XYMap &map, float diameter=-1.f)
Set screen map for JS canvas visualization from XYMap.
static XYMap fromXMap(const XMap &xmap) FL_NOEXCEPT
Create an XYMap from an XMap (treats 1D as 2D with height=1)
MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > > map
References Channel(), fl::XYMap::fromXMap(), setScreenMap(), and xymap.