/dports/editors/ted/Ted-2.23/bitmap/ |
H A D | bmaverage.c | 14 int ypixels ) in bmAverageMono8Row() argument 24 const int n= xpixels* ypixels; in bmAverageMono8Row() 43 const int n= ypixels* xpixels; in bmAverageMono8Row() 66 int ypixels ) in bmAverageMono8Image() argument 70 int ytail= bdIn->bdPixelsHigh % ypixels; in bmAverageMono8Image() 96 int ypixels ) in bmAverageRgb24Row() argument 108 const int n= xpixels* ypixels; in bmAverageRgb24Row() 131 const int n= ypixels* xpixels; in bmAverageRgb24Row() 156 int ypixels ) in bmAverageRgb24Image() argument 184 int ypixels ) in bmAverage() argument [all …]
|
/dports/graphics/py-ueberzug/ueberzug-18.1.8/ueberzug/ |
H A D | terminal.py | 20 rows, cols, xpixels, ypixels = struct.unpack("HHHH", fretint) 21 return cols, rows, xpixels, ypixels 74 cols, rows, xpixels, ypixels = TerminalInfo.get_size(fd_pty) 76 ypixels = ypixels or fallback_height 78 padding_vertical = self.__guess_padding(rows, ypixels) 84 rows, ypixels, self.padding_vertical) 86 if xpixels < fallback_width and ypixels < fallback_height: 107 self.padding_vertical = 1/2 * (fallback_height - ypixels) 109 self.font_height = ypixels / rows
|
/dports/games/klavaro/klavaro-3.11/gtkdatabox/ |
H A D | gtkdatabox_lines.c | 41 gint16 *ypixels; member 52 g_free (priv->ypixels); in lines_finalize() 76 priv->ypixels = NULL; in gtk_databox_lines_init() 174 gint16 *xpixels, *ypixels; in gtk_databox_lines_real_draw() local 189 priv->ypixels = (gint16 *)g_realloc(priv->ypixels, len * sizeof(gint16)); in gtk_databox_lines_real_draw() 193 ypixels = priv->ypixels; in gtk_databox_lines_real_draw() 205 gtk_databox_values_to_ypixels(box, ypixels, Y, ytype, maxlen, ystart, ystride, len); in gtk_databox_lines_real_draw() 212 cairo_move_to(cr, xpixels[0] + 0.5, ypixels[0] + 0.5); in gtk_databox_lines_real_draw() 214 cairo_line_to(cr, xpixels[i] + 0.5, ypixels[i] + 0.5); in gtk_databox_lines_real_draw()
|
H A D | gtkdatabox_points.c | 40 gint16 *ypixels; member 50 g_free (GTK_DATABOX_POINTS_GET_PRIVATE(object)->ypixels); in points_finalize() 73 GTK_DATABOX_POINTS_GET_PRIVATE(points)->ypixels = NULL; in gtk_databox_points_complete() 179 gint16 *xpixels, *ypixels; in gtk_databox_points_real_draw() local 195 priv->ypixels = (gint16 *)g_realloc(priv->ypixels, len * sizeof(gint16)); in gtk_databox_points_real_draw() 199 ypixels = priv->ypixels; in gtk_databox_points_real_draw() 211 gtk_databox_values_to_ypixels(box, ypixels, Y, ytype, maxlen, ystart, ystride, len); in gtk_databox_points_real_draw() 215 for (i = 0; i < len; i++, xpixels++, ypixels++) in gtk_databox_points_real_draw() 216 cairo_rectangle(cr, *xpixels - pointsize / 2, *ypixels - pointsize / 2, pointsize, pointsize); in gtk_databox_points_real_draw()
|
H A D | gtkdatabox_bars.c | 39 gint16 *ypixels; member 49 g_free (GTK_DATABOX_BARS_GET_PRIVATE(bars)->ypixels); in bars_finalize() 72 GTK_DATABOX_BARS_GET_PRIVATE(bars)->ypixels = NULL; in gtk_databox_bars_complete() 179 gint16 *xpixels, *ypixels; in gtk_databox_bars_real_draw() local 199 priv->ypixels = (gint16 *)g_realloc(priv->ypixels, len * sizeof(gint16)); in gtk_databox_bars_real_draw() 203 ypixels = priv->ypixels; in gtk_databox_bars_real_draw() 215 gtk_databox_values_to_ypixels(box, ypixels, Y, ytype, maxlen, ystart, ystride, len); in gtk_databox_bars_real_draw() 219 for (i = 0; i < len; i++, xpixels++, ypixels++) in gtk_databox_bars_real_draw() 222 cairo_line_to (cr, *xpixels + 0.5, *ypixels + 0.5); in gtk_databox_bars_real_draw()
|
/dports/graphics/p5-Imager/Imager-1.012/t/300-transform/ |
H A D | 010-scale.t | 121 ok(!$im->scale(xpixels => 10, ypixels=>50, type=>"unknown"), "unknown type"); 141 xpixels => 48, ypixels => 48); 143 xpixels => 48, ypixels => 48, type => 'max'); 145 xpixels => 80, ypixels => 80, type => 'min'); 152 ypixels => 72); 164 xpixels => 160, ypixels => 48, type => 'nonprop'); 166 xpixels => 160, ypixels => 96); 168 xpixels => 80, ypixels => 96, type => 'nonprop');
|
/dports/graphics/pixie/Pixie/src/ri/ |
H A D | raytracer.cpp | 292 const int ypixels = CRenderer::bucketHeight + 2*yoffset; in CRaytracer() local 294 fbContribution = new float[xpixels*ypixels]; in CRaytracer() 295 fbPixels = new float[xpixels*ypixels*CRenderer::numSamples]; in CRaytracer() 385 void CRaytracer::sample(int left,int top,int xpixels,int ypixels) { in sample() argument 397 for (i=0;i<(xpixels*ypixels);i++) { in sample() 401 for (;i<(xpixels*ypixels*CRenderer::numSamples);i++) { in sample() 426 splatSamples(rays,numShading,left,top,xpixels,ypixels); in sample() 438 splatSamples(rays,numShading,left,top,xpixels,ypixels); in sample() 443 for (i=0;i<xpixels*ypixels;i++) { in sample() 568 pb = min(pb,top + ypixels - 1); in splatSamples() [all …]
|
H A D | rendererDisplay.cpp | 337 void CRenderer::commit(int left,int top,int xpixels,int ypixels,float *pixels) { in commit() argument 362 header[3].integer = ypixels; in commit() 363 header[4].integer = xpixels*ypixels*numSamples; in commit() 367 rcSend(netClient,pixels,xpixels*ypixels*numSamples*sizeof(T32)); in commit() 380 if (renderLeft > 0) clear(0,top+renderTop,renderLeft,ypixels); in commit() 384 if (renderRight < xres) clear(renderRight,top+renderTop,xres-renderRight,ypixels); in commit() 387 if (((top+ypixels) == yPixels) && ((left+xpixels) == xPixels)) { in commit() 392 dispatch(left+renderLeft,top+renderTop,xpixels,ypixels,pixels); in commit()
|
/dports/graphics/dataplot/dataplot-2c1b27601a3b7523449de612613eadeead9a8f70/src/ |
H A D | gl.c | 607 ypixels = *yp; 613 ypixels = yp[0]; 683 gl_screen(xpixels, ypixels, orien); 830 int *xpixels, *ypixels, *orien; in gleras_() 834 int xpixels[2], ypixels[2], orien[2]; 846 ypixels_temp = *ypixels; 853 ypixels_temp = ypixels[0]; 2216 temp = ypixels; 2283 temp = ypixels; 2319 temp = ypixels; [all …]
|
H A D | gd.c | 361 int *xpixels, *ypixels, *back_col; in gderas_() 365 int xpixels[2], ypixels[2], back_col[2]; 386 ypixels_temp = *ypixels; 391 ypixels_temp = ypixels[0]; 1614 void gdload(itype, xpixels, ypixels, file_name, ierror) in gdload_() 1619 int *xpixels, *ypixels; in gdload_() 1624 int xpixels[2], ypixels[2]; 1641 ypixels_temp = *ypixels; 1646 ypixels_temp = ypixels[0]; 1714 *ypixels = ypixels_temp; [all …]
|
H A D | x11.c | 872 ypixels = *yp; 878 ypixels = yp[0]; 939 set_screen(xpixels, ypixels, orien); 1285 ypixels_temp = *ypixels; 1291 ypixels_temp = ypixels[0]; 3232 void set_screen(xpixels, ypixels, orien) in set_screen() argument 3243 if (xpixels > 0 && ypixels > 0) { 3251 temp = ypixels; 3318 temp = ypixels; 3354 temp = ypixels; [all …]
|
/dports/print/texlive-base/texlive-20150521-source/utils/ps2eps/ps2eps-1.68/bin/ |
H A D | ps2eps.pl | 310 $ypixels= int(($y_dim * $resolution) / $inch)+1; 311 $gpar= "-g${xpixels}x${ypixels}"; 316 $ypixels= int($y_dim * $resolution)+1; 317 $gpar= "-g${xpixels}x${ypixels}"; 431 $ypixels= int((($eBBury-$eBBlly) * $resolution)/72 + 0.5); 434 $gpar= "-g${xpixels}x${ypixels}"; 436 if (($xpixels <= 1) || ($ypixels <= 1))
|
/dports/science/gnudatalanguage/gdl-1.0.1/src/pro/map/ |
H A D | map_grid.pro | 136 ypixels = !y.window * !d.y_size 296 yp = ypixels[0] - [0,0,box_thick,box_thick] 298 plots, xpixels[[0,1,1,0,0]], ypixels[[0,0,1,1,0]], /DEVICE, COLOR=bcolor 300 …ypixels[[0,0,1,1,0]]+[-box_thick, -box_thick, box_thick, box_thick, -box_thick], /DEVICE, COLOR=bc… 302 ychar = [ypixels[0]-box_thick-d_y_ch_size, ypixels[1]+box_thick+d_y_ch_size/4.] 419 dy = (ypixels[1] - ypixels[0]) * 0.01 423 …boxpos[i, j, 0] = find_grid_intersection([xboxpix[0], ypixels[j]+k*dy],[xboxpix[1], ypixels[j]+k*d… 440 val0 = ([xpixels[0], ypixels[0]])[axisnum] 442 yyp = yp + axisside * (ypixels[1]-ypixels[0] + box_thick) 453 …q 0 then xxp = [val0, xpixels[1], xpixels[1], val0] else yyp = [val0, val0, ypixels[1], ypixels[1]]
|
/dports/graphics/pngwriter/pngwriter-0.7.0/examples/ |
H A D | lyapunov.cc | 120 double ypixels; variable 182 ypixels = atof(hold8); in main() 189 …pngwriter png((int)xpixels,(int)ypixels,0,"out.png"); //Here we create a PNGwriter instance calle… in main() 194 double ramax = ramin + xpixels*(rbmax-rbmin)/ypixels; in main() 196 double stepsizeb = (rbmax - rbmin)/ypixels; in main()
|
/dports/audio/ncspot/ncspot-0.9.3/src/ui/ |
H A D | cover.rs | 36 let (rows, cols, mut xpixels, mut ypixels) = unsafe { in new() 44 xpixels, ypixels, cols, rows in new() 50 ypixels = ((ypixels as f32) / scale) as u16; in new() 52 let font_size = Vec2::new((xpixels / cols) as usize, (ypixels / rows) as usize); in new()
|
/dports/astro/gpsbabel/gpsbabel-gpsbabel_1_7_0/ |
H A D | tiger.cc | 45 static char* ypixels = nullptr; variable 110 "ypixels", &ypixels, "Height in pixels of map", 297 gbfprintf(urlf, "&iwd=%s&iht=%s", xpixels, ypixels); in data_write()
|
/dports/astro/gpsbabel14/gpsbabel-1.4.4/ |
H A D | tiger.c | 41 static char *ypixels = NULL; variable 106 "ypixels", &ypixels, "Height in pixels of map", 299 gbfprintf(urlf, "&iwd=%s&iht=%s", xpixels, ypixels); in data_write()
|
/dports/games/iortcw/iortcw-1.51c/SP/code/freetype-2.9/src/base/ |
H A D | ftbitmap.c | 153 FT_UInt ypixels ) in ft_bitmap_assure_buffer() argument 192 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer() 227 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 243 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer() 244 out += new_pitch * ypixels; in ft_bitmap_assure_buffer() 277 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer()
|
/dports/games/iortcw/iortcw-1.51c/MP/code/freetype-2.9/src/base/ |
H A D | ftbitmap.c | 153 FT_UInt ypixels ) in ft_bitmap_assure_buffer() argument 192 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer() 227 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 243 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer() 244 out += new_pitch * ypixels; in ft_bitmap_assure_buffer() 277 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer()
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/freetype2/src/base/ |
H A D | ftbitmap.c | 153 FT_UInt ypixels ) in ft_bitmap_assure_buffer() argument 192 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer() 227 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 243 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer() 244 out += new_pitch * ypixels; in ft_bitmap_assure_buffer() 277 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/libfreetype/src/base/ |
H A D | ftbitmap.c | 153 FT_UInt ypixels ) in ft_bitmap_assure_buffer() argument 192 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer() 227 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 243 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer() 244 out += new_pitch * ypixels; in ft_bitmap_assure_buffer() 279 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer()
|
/dports/graphics/sdl2_ttf/SDL2_ttf-2.0.15/external/freetype-2.9.1/src/base/ |
H A D | ftbitmap.c | 153 FT_UInt ypixels ) in ft_bitmap_assure_buffer() argument 192 if ( ypixels == 0 && new_pitch <= pitch ) in ft_bitmap_assure_buffer() 227 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 243 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer() 244 out += new_pitch * ypixels; in ft_bitmap_assure_buffer() 279 FT_MEM_ZERO( out, new_pitch * ypixels ); in ft_bitmap_assure_buffer()
|
/dports/devel/notcurses/notcurses-3.0.1/src/lib/ |
H A D | kitty.c | 237 const int ypixels = ncplane_pile(s->n)->cellpxy; in kitty_rebuild() local 242 int targy = ypixels; in kitty_rebuild() 243 if((ycell + 1) * ypixels > s->pixy){ in kitty_rebuild() 244 targy = s->pixy - ycell * ypixels; in kitty_rebuild() 247 int nextpixel = (s->pixx * ycell * ypixels) + (xpixels * xcell); in kitty_rebuild() 471 const int ypixels = ncplane_pile(s->n)->cellpxy; in kitty_wipe() local 478 int targy = ypixels; in kitty_wipe() 479 if((ycell + 1) * ypixels > s->pixy){ in kitty_wipe() 480 targy = s->pixy - ycell * ypixels; in kitty_wipe() 487 int nextpixel = (s->pixx * ycell * ypixels) + (xpixels * xcell); in kitty_wipe() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/python/examples/pizza/ |
H A D | gl.py | 146 self.ypixels = 512 211 if not ynew: self.ypixels = self.xpixels 212 else: self.ypixels = ynew 236 glViewport(0,0,self.xpixels,self.ypixels) 244 if self.ypixels > self.xpixels: self.rtrack = self.ypixels 374 yold = self.ypixels - yold 375 ynew = self.ypixels - ynew 383 vold[1] = yold - (0.5*self.ypixels + self.yshift) 391 vnew[1] = ynew - (0.5*self.ypixels + self.yshift) 477 yfactor = 0.5*self.eye*self.yshift/self.ypixels [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/python/examples/pizza/ |
H A D | gl.py | 143 self.ypixels = 512 208 if not ynew: self.ypixels = self.xpixels 209 else: self.ypixels = ynew 233 glViewport(0,0,self.xpixels,self.ypixels) 241 if self.ypixels > self.xpixels: self.rtrack = self.ypixels 371 yold = self.ypixels - yold 372 ynew = self.ypixels - ynew 380 vold[1] = yold - (0.5*self.ypixels + self.yshift) 388 vnew[1] = ynew - (0.5*self.ypixels + self.yshift) 474 yfactor = 0.5*self.eye*self.yshift/self.ypixels [all …]
|