/dports/editors/ted/Ted-2.23/bitmap/ |
H A D | bmaverage.c | 13 int xpixels, in bmAverageMono8Row() argument 21 for ( col= 0; col < bdIn->bdPixelsWide/ xpixels; rf += xpixels, col++ ) in bmAverageMono8Row() 38 xpixels= bdIn->bdPixelsWide % xpixels; in bmAverageMono8Row() 40 if ( xpixels > 0 ) in bmAverageMono8Row() 65 int xpixels, in bmAverageMono8Image() argument 95 int xpixels, in bmAverageRgb24Row() argument 103 for ( col= 0; col < bdIn->bdPixelsWide/ xpixels; rf += 3* xpixels, col++ ) in bmAverageRgb24Row() 124 xpixels= bdIn->bdPixelsWide % xpixels; in bmAverageRgb24Row() 126 if ( xpixels > 0 ) in bmAverageRgb24Row() 155 int xpixels, in bmAverageRgb24Image() 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) 75 xpixels = xpixels or fallback_width 77 padding_horizontal = self.__guess_padding(cols, xpixels) 82 cols, xpixels, self.padding_horizontal) 86 if xpixels < fallback_width and ypixels < fallback_height: 106 self.padding_horizontal = 1/2 * (fallback_width - xpixels) 108 self.font_width = xpixels / cols
|
/dports/games/klavaro/klavaro-3.11/gtkdatabox/ |
H A D | gtkdatabox_bars.c | 38 gint16 *xpixels; member 48 g_free (GTK_DATABOX_BARS_GET_PRIVATE(bars)->xpixels); in bars_finalize() 71 GTK_DATABOX_BARS_GET_PRIVATE(bars)->xpixels = NULL; in gtk_databox_bars_complete() 179 gint16 *xpixels, *ypixels; in gtk_databox_bars_real_draw() local 198 priv->xpixels = (gint16 *)g_realloc(priv->xpixels, len * sizeof(gint16)); in gtk_databox_bars_real_draw() 202 xpixels = priv->xpixels; in gtk_databox_bars_real_draw() 209 gtk_databox_values_to_xpixels(box, xpixels, X, xtype, maxlen, xstart, xstride, len); in gtk_databox_bars_real_draw() 219 for (i = 0; i < len; i++, xpixels++, ypixels++) in gtk_databox_bars_real_draw() 221 cairo_move_to (cr, *xpixels + 0.5, zero + 0.5); in gtk_databox_bars_real_draw() 222 cairo_line_to (cr, *xpixels + 0.5, *ypixels + 0.5); in gtk_databox_bars_real_draw()
|
H A D | gtkdatabox_lines.c | 40 gint16 *xpixels; member 51 g_free (priv->xpixels); in lines_finalize() 75 priv->xpixels = NULL; in gtk_databox_lines_init() 174 gint16 *xpixels, *ypixels; in gtk_databox_lines_real_draw() local 188 priv->xpixels = (gint16 *)g_realloc(priv->xpixels, len * sizeof(gint16)); in gtk_databox_lines_real_draw() 192 xpixels = priv->xpixels; in gtk_databox_lines_real_draw() 199 gtk_databox_values_to_xpixels(box, xpixels, X, xtype, maxlen, xstart, xstride, 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 | 39 gint16 *xpixels; member 49 g_free (GTK_DATABOX_POINTS_GET_PRIVATE(object)->xpixels); in points_finalize() 72 GTK_DATABOX_POINTS_GET_PRIVATE(points)->xpixels = NULL; in gtk_databox_points_complete() 179 gint16 *xpixels, *ypixels; in gtk_databox_points_real_draw() local 194 priv->xpixels = (gint16 *)g_realloc(priv->xpixels, len * sizeof(gint16)); in gtk_databox_points_real_draw() 198 xpixels = priv->xpixels; in gtk_databox_points_real_draw() 205 gtk_databox_values_to_xpixels(box, xpixels, X, xtype, maxlen, xstart, xstride, 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()
|
/dports/graphics/p5-Imager/Imager-1.012/t/300-transform/ |
H A D | 010-scale.t | 141 xpixels => 48, ypixels => 48); 143 xpixels => 48, ypixels => 48, type => 'max'); 145 xpixels => 80, ypixels => 80, type => 'min'); 150 xpixels => 80); 164 xpixels => 160, ypixels => 48, type => 'nonprop'); 166 xpixels => 160, ypixels => 96); 168 xpixels => 80, ypixels => 96, type => 'nonprop'); 191 my $sc = $rot->scale(qtype => 'mixing', xpixels => 40); 208 my $sc = $rot->scale(qtype => "normal", xpixels => 40); 228 xpixels => 240) ], [all …]
|
/dports/databases/grass7/grass-7.8.6/visualization/ximgview/ |
H A D | color.c | 16 static unsigned long *xpixels; variable 57 return xpixels[Gray[y]]; in find_color_gray() 63 return xpixels[Red[r] + Grn[g] + Blu[b]]; in find_color_indexed() 146 xpixels = (unsigned long *)G_realloc(xpixels, in try_get_colors() 160 XFreeColors(dpy, cmap, xpixels, n_pixels, in try_get_colors() 165 xpixels[n_pixels++] = xcolor.pixel; in try_get_colors() 179 xpixels = (unsigned long *)G_realloc(xpixels, ny * sizeof(unsigned long)); in try_get_grays() 192 XFreeColors(dpy, cmap, xpixels, n_pixels, (unsigned long)0); in try_get_grays() 196 xpixels[n_pixels++] = xcolor.pixel; in try_get_grays()
|
/dports/graphics/pixie/Pixie/src/ri/ |
H A D | raytracer.cpp | 291 const int xpixels = CRenderer::bucketWidth + 2*xoffset; 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() 567 pr = min(pr,left + xpixels - 1); in splatSamples() [all …]
|
/dports/graphics/dataplot/dataplot-2c1b27601a3b7523449de612613eadeead9a8f70/src/ |
H A D | gl.c | 606 xpixels = *xp; 612 xpixels = xp[0]; 683 gl_screen(xpixels, ypixels, orien); 830 int *xpixels, *ypixels, *orien; in gleras_() 834 int xpixels[2], ypixels[2], orien[2]; 845 xpixels_temp = *xpixels; 852 xpixels_temp = xpixels[0]; 2209 temp = xpixels; 2247 temp = xpixels; 2254 atemp = xpixels * (8.5/11.0); [all …]
|
H A D | gd.c | 361 int *xpixels, *ypixels, *back_col; in gderas_() 365 int xpixels[2], ypixels[2], back_col[2]; 385 xpixels_temp = *xpixels; 390 xpixels_temp = xpixels[0]; 1614 void gdload(itype, xpixels, ypixels, file_name, ierror) in gdload_() 1619 int *xpixels, *ypixels; in gdload_() 1624 int xpixels[2], ypixels[2]; 1640 xpixels_temp = *xpixels; 1645 xpixels_temp = xpixels[0]; 1713 *xpixels = xpixels_temp; [all …]
|
H A D | x11.c | 871 xpixels = *xp; 877 xpixels = xp[0]; 939 set_screen(xpixels, ypixels, orien); 1284 xpixels_temp = *xpixels; 1290 xpixels_temp = xpixels[0]; 3232 void set_screen(xpixels, ypixels, orien) in set_screen() argument 3243 if (xpixels > 0 && ypixels > 0) { 3244 temp = xpixels; 3282 temp = xpixels; 3289 atemp = xpixels * (8.5/11.0); [all …]
|
/dports/science/gnudatalanguage/gdl-1.0.1/src/pro/map/ |
H A D | map_grid.pro | 135 xpixels = !x.window * !d.x_size 295 xp = xpixels[0] - [0,box_thick, box_thick,0] ;X & Y polygon coords for outer box 298 plots, xpixels[[0,1,1,0,0]], ypixels[[0,0,1,1,0]], /DEVICE, COLOR=bcolor 299 plots, xpixels[[0,1,1,0,0]]+[-box_thick, box_thick, box_thick, -box_thick, -box_thick], $ 303 xchar = [xpixels[0] - box_thick - d_y_ch_size/4., xpixels[1]+box_thick+d_y_ch_size/4.] 363 dx = (xpixels[1] - xpixels[0]) * 0.01 367 …boxpos[i, j, 1] = find_grid_intersection( [xpixels[j]+dx*k, yboxpix[0]], [xpixels[j]+dx*k, yboxpix… 440 val0 = ([xpixels[0], ypixels[0]])[axisnum] 441 xxp = xp + axisside * (xpixels[1]-xpixels[0] + box_thick) 446 … xxp = (ii eq (count-1) and (ii and 1) and ~labeltxt[ii]) ? [val0, xpixels[1], xpixels[1], val0] :… [all …]
|
/dports/print/texlive-base/texlive-20150521-source/utils/ps2eps/ps2eps-1.68/bin/ |
H A D | ps2eps.pl | 309 $xpixels= int(($x_dim * $resolution) / $inch)+1; 311 $gpar= "-g${xpixels}x${ypixels}"; 315 $xpixels= int($x_dim * $resolution)+1; 317 $gpar= "-g${xpixels}x${ypixels}"; 430 $xpixels= int((($eBBurx-$eBBllx) * $resolution)/72 + 0.5); 434 $gpar= "-g${xpixels}x${ypixels}"; 436 if (($xpixels <= 1) || ($ypixels <= 1))
|
/dports/x11-toolkits/xforms/xforms-1.2.4/image/ |
H A D | image_disp.c | 262 unsigned char *xpixels = NULL, in fl_display_ci() local 287 xpixels = fl_malloc( im->h * ximage->bytes_per_line * sizeof *xpixels ); in fl_display_ci() 289 if ( ! xpixels ) in fl_display_ci() 293 if ( ! ximage || ! xpixels ) in fl_display_ci() 299 ximage->data = ( char * ) xpixels; in fl_display_ci() 311 fl_free( xpixels ); in fl_display_ci() 365 unsigned char *ctmp = xpixels; in fl_display_ci() 373 unsigned char *tt = xpixels, in fl_display_ci() 671 unsigned char *xpixels; in fl_display_rgb() local 701 xpixels = fl_malloc( h * ximage->bytes_per_line * sizeof *xpixels ); in fl_display_rgb() [all …]
|
/dports/graphics/pngwriter/pngwriter-0.7.0/examples/ |
H A D | lyapunov.cc | 119 double xpixels; //Size of image, will be set later by the user variable 181 xpixels = atof(hold7); 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() 195 double stepsizea = (ramax - ramin)/xpixels; 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() 49 xpixels = ((xpixels as f32) / scale) as u16; in new() 52 let font_size = Vec2::new((xpixels / cols) as usize, (ypixels / rows) as usize); in new()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/freetype/src/base/ |
H A D | ftbitmap.c | 100 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 121 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 125 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 129 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 135 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 146 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/devel/upp/upp/uppsrc/plugin/FT_fontsys/src/base/ |
H A D | ftbitmap.c | 100 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 121 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 125 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 129 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 135 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 146 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/freetype/src/base/ |
H A D | ftbitmap.c | 100 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 121 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 125 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 129 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 135 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 146 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/games/warmux/warmux-11.04/build/android/jni/freetype/src/base/ |
H A D | ftbitmap.c | 100 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 121 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 125 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 129 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 135 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 146 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/SDL_ttf/external/freetype-2.4.12/src/base/ |
H A D | ftbitmap.c | 102 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 123 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 127 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 131 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 137 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 148 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/freetype/vtkfreetype/src/base/ |
H A D | ftbitmap.c | 100 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 121 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 125 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 129 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 135 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 146 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/freetype/vtkfreetype/src/base/ |
H A D | ftbitmap.c | 100 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 121 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 125 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 129 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 135 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 146 FT_Int bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/extern/freetype2/src/base/ |
H A D | ftbitmap.c | 142 FT_UInt xpixels, in ft_bitmap_assure_buffer() argument 163 new_pitch = ( width + xpixels + 7 ) >> 3; in ft_bitmap_assure_buffer() 167 new_pitch = ( width + xpixels + 3 ) >> 2; in ft_bitmap_assure_buffer() 171 new_pitch = ( width + xpixels + 1 ) >> 1; in ft_bitmap_assure_buffer() 177 new_pitch = ( width + xpixels ); in ft_bitmap_assure_buffer() 188 FT_UInt bit_last = ( width + xpixels ) * bpp; in ft_bitmap_assure_buffer()
|
/dports/astro/gpsbabel/gpsbabel-gpsbabel_1_7_0/ |
H A D | tiger.cc | 44 static char* xpixels = nullptr; variable 106 "xpixels", &xpixels, "Width in pixels of map", 297 gbfprintf(urlf, "&iwd=%s&iht=%s", xpixels, ypixels); in data_write()
|