Home
last modified time | relevance | path

Searched refs:MAPRES (Results 1 – 9 of 9) sorted by relevance

/dports/audio/bshapr-lv2/BShapr-0.13/src/
H A DShape.hpp33 #define MAPRES 1024 macro
82 double map_[MAPRES];
116 for (int i = 0; i < MAPRES; ++i) map_[i] = 0; in clearShape()
476 for (double x = p1.x; (x <= p2.x) && (x <= 1.0); x += (1.0 / MAPRES)) in drawLineOnMap()
478 uint32_t i = ((uint32_t) (x * MAPRES)) % MAPRES; in drawLineOnMap()
485 uint32_t i = ((uint32_t) (p2.x * MAPRES)) % MAPRES; in drawLineOnMap()
506 double step = 1 / (fabs (n2.point.x - n1.point.x) * MAPRES + 1); in renderBezier()
525 double mapx = fmod (x * MAPRES, MAPRES); in getMapRawValue()
528 return (1 - xmod) * map_[int (mapx)] + xmod * map_[int (mapx + 1) % MAPRES]; in getMapRawValue()
H A DShapeWidget.cpp866 …for (int i = 1; i < MAPRES; ++i) cairo_line_to (cr, x0 + w * i / MAPRES, y0 + h - h * (retransform… in draw()
/dports/audio/boops-lv2/BOops-1.8.2/src/
H A DShape.hpp33 #define MAPRES 1024 macro
82 double map_[MAPRES];
116 for (int i = 0; i < MAPRES; ++i) map_[i] = 0; in clearShape()
476 for (double x = p1.x; (x <= p2.x) && (x <= 1.0); x += (1.0 / MAPRES)) in drawLineOnMap()
478 uint32_t i = ((uint32_t) (x * MAPRES)) % MAPRES; in drawLineOnMap()
485 uint32_t i = ((uint32_t) (p2.x * MAPRES)) % MAPRES; in drawLineOnMap()
506 double step = 1 / (fabs (n2.point.x - n1.point.x) * MAPRES + 1); in renderBezier()
525 double mapx = fmod (x * MAPRES, MAPRES); in getMapRawValue()
528 return (1 - xmod) * map_[int (mapx)] + xmod * map_[int (mapx + 1) % MAPRES]; in getMapRawValue()
H A DShapeWidget.cpp888 …for (int i = 1; i < MAPRES; ++i) cairo_line_to (cr, x0 + w * i / MAPRES, y0 + h - h * (retransform… in draw()
/dports/audio/bharvestr-lv2/BHarvestr-7e6a1e7c81d0af61d4fabcd823978d62c8970502/src/
H A DShape.hpp33 #define MAPRES 1024 macro
82 double map_[MAPRES];
116 for (int i = 0; i < MAPRES; ++i) map_[i] = 0; in clearShape()
476 for (double x = p1.x; (x <= p2.x) && (x <= 1.0); x += (1.0 / MAPRES)) in drawLineOnMap()
478 uint32_t i = ((uint32_t) (x * MAPRES)) % MAPRES; in drawLineOnMap()
485 uint32_t i = ((uint32_t) (p1.x * MAPRES)) % MAPRES; in drawLineOnMap()
506 double step = 1 / (fabs (n2.point.x - n1.point.x) * MAPRES + 1); in renderBezier()
525 double mapx = fmod (x * MAPRES, MAPRES); in getMapRawValue()
528 return (1 - xmod) * map_[int (mapx)] + xmod * map_[int (mapx + 1) % MAPRES]; in getMapRawValue()
H A DShapeWidget.cpp866 …for (int i = 1; i < MAPRES; ++i) cairo_line_to (cr, x0 + w * i / MAPRES, y0 + h - h * (retransform… in draw()
/dports/audio/bschaffl-lv2/BSchaffl-1.4.8/src/
H A DShape.hpp33 #define MAPRES 1024 macro
82 double map_[MAPRES];
116 for (int i = 0; i < MAPRES; ++i) map_[i] = 0; in clearShape()
476 for (double x = p1.x; (x <= p2.x) && (x <= 1.0); x += (1.0 / MAPRES)) in drawLineOnMap()
478 uint32_t i = ((uint32_t) (x * MAPRES)) % MAPRES; in drawLineOnMap()
485 uint32_t i = ((uint32_t) (p2.x * MAPRES)) % MAPRES; in drawLineOnMap()
506 double step = 1 / (fabs (n2.point.x - n1.point.x) * MAPRES + 1); in renderBezier()
525 double mapx = fmod (x * MAPRES, MAPRES); in getMapRawValue()
528 return (1 - xmod) * map_[int (mapx)] + xmod * map_[int (mapx + 1) % MAPRES]; in getMapRawValue()
H A DShapeWidget.cpp877 …for (int i = 1; i < MAPRES; ++i) cairo_line_to (cr, x0 + w * i / MAPRES, y0 + h - h * (retransform… in draw()
H A DBSchafflGUI.cpp1119 {double (i + 1) / double (nrSteps) - 1.0 / double (MAPRES), getStepValue (i)}, in onCloseRequest()