Home
last modified time | relevance | path

Searched refs:cen_y (Results 1 – 18 of 18) sorted by relevance

/dports/graphics/gegl/gegl-0.4.34/operations/common-gpl3+/
H A Dpolar-coordinates.c89 gdouble cen_y,
128 if (wy > cen_y)
133 else if (wy < cen_y)
144 if (wy < cen_y)
149 else if (wy > cen_y)
176 ymax = cen_y - y1;
186 ymax = cen_y - y1;
192 t = ((cen_y - y1) < (cen_x - x1)) ? (cen_y - y1) : (cen_x - x1);
330 gdouble cen_x, cen_y;
344 cen_y = boundary.height / 2;
[all …]
H A Dwhirl-pinch.c66 gdouble cen_y,
81 gdouble radius = MAX(cen_x, cen_y);
86 dy = (wy - cen_y) * scale_y;
124 *y = (sina * dx + cosa * dy) / scale_y + cen_y;
142 gdouble cen_y,
173 cen_x, cen_y,\
/dports/graphics/zimg/zimg-5.0.0/
H A Dimg.c176 unsigned int cen_y; in curvature() local
198 cen_y = 1; in curvature()
202 cen_y = height_2; in curvature()
206 cen_y = y; in curvature()
211 (ACCESS2D(cen_x, cen_y, data, width), in curvature()
212 ACCESS2D(left, cen_y, data, width), in curvature()
213 ACCESS2D(right, cen_y, data, width), in curvature()
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/presets/
H A DTelek - Spiral Tabletop (New and Improved!).milk92 per_pixel_2=//cen_y = sin(time)*.5+.5;
94 per_pixel_4=cen_y = q2;
97 per_pixel_7=dist_x = (x-cen_x)/(radxy*(sin(time*.2*0)*.3+cos((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
98 per_pixel_8=dist_y = (y-cen_y)/(radxy*(sin(time*.2*0)*.3+sin((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
103 per_pixel_13=iny =(cen_y-q2)+.08*sign(dist_y)*sqr(1-abs(dist_y));
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_tryptonaut/
H A DTelek - Spiral Tabletop (New and Improved!).milk92 per_pixel_2=//cen_y = sin(time)*.5+.5;
94 per_pixel_4=cen_y = q2;
97 per_pixel_7=dist_x = (x-cen_x)/(radxy*(sin(time*.2*0)*.3+cos((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
98 per_pixel_8=dist_y = (y-cen_y)/(radxy*(sin(time*.2*0)*.3+sin((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
103 per_pixel_13=iny =(cen_y-q2)+.08*sign(dist_y)*sqr(1-abs(dist_y));
H A Dschglasmia - danqueer.milk532 per_pixel_88=//cen_y = sin(time)*.5+.5;
534 per_pixel_90=cen_y = q2;
537 per_pixel_93=dist_x = (x-cen_x)/(radxy*(sin(time*.2*0)*.3+cos((cen_x-x+ (cen_y-y))*10+time*2)*.3+1)…
538 per_pixel_94=dist_y = (y-cen_y)/(radxy*(sin(time*.2*0)*.3+sin((cen_x-x+ (cen_y-y))*10+time*2)*.3+1)…
543 per_pixel_99=iny =(cen_y-q2) +.1*sign(dist_y)*(1-abs(dist_y)); // .05*pow(dist_y,1);
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_stock/
H A DTelek - Spiral Tabletop (New and Improved!).milk92 per_pixel_2=//cen_y = sin(time)*.5+.5;
94 per_pixel_4=cen_y = q2;
97 per_pixel_7=dist_x = (x-cen_x)/(radxy*(sin(time*.2*0)*.3+cos((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
98 per_pixel_8=dist_y = (y-cen_y)/(radxy*(sin(time*.2*0)*.3+sin((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
103 per_pixel_13=iny =(cen_y-q2)+.08*sign(dist_y)*sqr(1-abs(dist_y));
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_milkdrop/
H A DTelek - Spiral Tabletop (New and Improved!).milk92 per_pixel_2=//cen_y = sin(time)*.5+.5;
94 per_pixel_4=cen_y = q2;
97 per_pixel_7=dist_x = (x-cen_x)/(radxy*(sin(time*.2*0)*.3+cos((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
98 per_pixel_8=dist_y = (y-cen_y)/(radxy*(sin(time*.2*0)*.3+sin((cen_x-x+ (cen_y-y))*10+time*2)*.3+1));
103 per_pixel_13=iny =(cen_y-q2)+.08*sign(dist_y)*sqr(1-abs(dist_y));
/dports/astro/kstars/kstars-3.5.6/kstars/fitsviewer/
H A Dfitscentroiddetector.cpp273 int cen_y = 0; in findSources() local
303 cen_y = edges[i]->y; in findSources()
374 cen_y = (int)std::floor(rCenter->y); in findSources()
376 if (cen_x < 0 || cen_x > stats.width || cen_y < 0 || cen_y > stats.height) in findSources()
386 FSum += buffer[cen_x - k + (cen_y * stats.width)] - min; in findSources()
394 TF = buffer[cen_y * stats.width + cen_x] - min; in findSources()
407 TF += buffer[cen_y * stats.width + cen_x + k] - min; in findSources()
408 TF += buffer[cen_y * stats.width + cen_x - k] - min; in findSources()
H A Dfitsthresholddetector.cpp153 int cen_y = qRound(center->y); in findOneStar() local
164 … double slice = resolution * (buffer[static_cast<int>(floor(x)) + cen_y * stats.width] - min); in findOneStar()
H A Dfitsgradientdetector.cpp224 int cen_y = qRound(center->y); in findSources() local
236 double slice = resolution * (origBuffer[static_cast<int>(floor(x)) + cen_y * dataWidth]); in findSources()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/pygimp/plug-ins/
H A Dwhirlpinch.py76 self.cen_y = (self.sel_y1 + self.sel_y2 - 1) / 2.0
140 cy = self.cen_y + (self.cen_y - cy)
176 dy = (wy - self.cen_y) * self.scale_y
194 y = (sina * dx + cosa * dy) / self.scale_y + self.cen_y
/dports/graphics/gegl/gegl-0.4.34/operations/common/
H A Dmirrors.c109 double cen_x, double cen_y,
120 dy = wy - cen_y;
150 double cen_y,
172 …%f, %f)", boundary->x, boundary->y, boundary->width, boundary->height, cen_x, cen_y, off_x,off_y );
191 cen_x, cen_y,
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/
H A DShopKeeper_Interface.cc2028 INT16 cen_y = y + ABS(SKI_INV_HEIGHT - e.usHeight) / 2 - e.sOffsetY; in DisplayInvSlot() local
2031 BltVideoObjectOutlineShadow(FRAME_BUFFER, &item_vo, item->getGraphicNum(), cen_x - 2, cen_y + 2); in DisplayInvSlot()
2033 …BltVideoObjectOutline( FRAME_BUFFER, &item_vo, item->getGraphicNum(), cen_x, cen_y, outli… in DisplayInvSlot()
2131 INT16 cen_y; in DisplayInvSlot() local
2132 …nterCoordinates(x, y, SKI_INV_SLOT_WIDTH, SKI_INV_HEIGHT, overlay_text, TINYFONT1, &cen_x, &cen_y); in DisplayInvSlot()
2133 …DrawTextToScreen(overlay_text, cen_x, cen_y, SKI_INV_SLOT_WIDTH, TINYFONT1, FONT_RED, FONT_MCOLOR_… in DisplayInvSlot()
/dports/math/gnuplot/gnuplot-5.4.1/src/
H A Dterm.c1957 int cen_y = y0 + (int)(0.83 * ymax_t); in test_term() local
1970 int iy = cen_y - j*radius/2; in test_term()
1991 (*t->put_text) (cen_x - i, cen_y + radius + t->v_char * 0.5, str); in test_term()
/dports/math/gnuplot-lite/gnuplot-5.4.1/src/
H A Dterm.c1957 int cen_y = y0 + (int)(0.83 * ymax_t); in test_term() local
1970 int iy = cen_y - j*radius/2; in test_term()
1991 (*t->put_text) (cen_x - i, cen_y + radius + t->v_char * 0.5, str); in test_term()
/dports/math/gnuplot-tex-extras/gnuplot-5.2.8/src/
H A Dterm.c1955 int cen_y = y0 + (int)(0.83 * ymax_t); in test_term() local
1968 int iy = cen_y - j*radius/2; in test_term()
1989 (*t->put_text) (cen_x - i, cen_y + radius + t->v_char * 0.5, str); in test_term()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Laptop/
H A DPersonnel.cc1160 INT16 const cen_y = PosY + ABS(22 - pTrav.usHeight) / 2 - pTrav.sOffsetY; in DisplayCharInventory() local
1161 BltVideoObjectOutline(FRAME_BUFFER, &gfx, item->getGraphicNum(), cen_x, cen_y, SGP_TRANSPARENT); in DisplayCharInventory()