/dports/graphics/vips/vips-8.12.0/libvips/resample/ |
H A D | resize.c | 140 double hscale; in vips_resize_build() local 152 hscale = resize->scale; in vips_resize_build() 179 hscale *= int_hshrink; in vips_resize_build() 199 hscale *= int_hshrink; in vips_resize_build() 205 hscale = VIPS_MAX( hscale, 1.0 / in->Xsize ); in vips_resize_build() 219 if( hscale < 1.0 ) { in vips_resize_build() 221 hscale ); in vips_resize_build() 231 if( hscale > 1.0 || in vips_resize_build() 251 hscale == VIPS_FLOOR( hscale ) && in vips_resize_build() 260 else if( hscale > 1.0 && in vips_resize_build() [all …]
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Gui.Widgets/Widgets/ |
H A D | HScaleSpinButtonWidget.cs | 37 private HScale hscale; field in Pinta.Gui.Widgets.HScaleSpinButtonWidget 58 hscale.Adjustment.Upper = value; 69 hscale.Adjustment.Lower = value; 84 hscale.Digits = value; 140 if (spin.Value != hscale.Value) { in HandleHscaleValueChanged() 141 spin.Value = hscale.Value; in HandleHscaleValueChanged() 148 if (hscale.Value != spin.Value) { in HandleSpinValueChanged() 149 hscale.Value = spin.Value; in HandleSpinValueChanged() 184 hscale.CanFocus = true; in Build() 185 hscale.DrawValue = false; in Build() [all …]
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Core/Extensions/ |
H A D | ToolBarSlider.cs | 34 private HScale hscale; field in Pinta.Core.ToolBarSlider 38 hscale = new HScale (min, max, step); in ToolBarSlider() 39 hscale.WidthRequest = 150; in ToolBarSlider() 40 hscale.Value = value; in ToolBarSlider() 41 hscale.ValuePos = PositionType.Left; in ToolBarSlider() 43 hscale.Show (); in ToolBarSlider() 45 Add (hscale); in ToolBarSlider() 49 public HScale Slider { get { return hscale; } }
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_rect.c | 70 int hscale, int vscale) in drm_rect_clip_scaled() argument 133 int hscale = drm_calc_scale(src_w, dst_w); in drm_rect_calc_hscale() local 135 if (hscale < 0 || dst_w == 0) in drm_rect_calc_hscale() 136 return hscale; in drm_rect_calc_hscale() 138 if (hscale < min_hscale || hscale > max_hscale) in drm_rect_calc_hscale() 141 return hscale; in drm_rect_calc_hscale() 203 if (hscale < 0 || dst_w == 0) in drm_rect_calc_hscale_relaxed() 204 return hscale; in drm_rect_calc_hscale_relaxed() 206 if (hscale < min_hscale) { in drm_rect_calc_hscale_relaxed() 214 if (hscale > max_hscale) { in drm_rect_calc_hscale_relaxed() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/source/fitz/ |
H A D | draw-rasterize.c | 11 ctx->aa.hscale = 17; in fz_init_aa_context() 94 aa->hscale = 1; in fz_set_rasterizer_graphics_aa_level() 100 aa->hscale = 17; in fz_set_rasterizer_graphics_aa_level() 106 aa->hscale = 8; in fz_set_rasterizer_graphics_aa_level() 112 aa->hscale = 5; in fz_set_rasterizer_graphics_aa_level() 118 aa->hscale = 2; in fz_set_rasterizer_graphics_aa_level() 124 aa->hscale = 1; in fz_set_rasterizer_graphics_aa_level() 197 r.x0 = ((float)rast->clip.x0) / hscale; in fz_scissor_rasterizer() 211 r.x0 = fz_idiv(rast->clip.x0, hscale); in fz_clip_rasterizer() 230 rast->clip.x0 = clip.x0 * hscale; in fz_reset_rasterizer() [all …]
|
/dports/x11-toolkits/gtk-sharp20/gtk-sharp-2.12.45/sample/test/ |
H A D | TestRange.cs | 33 HScale hscale = new HScale (adjustment); in Create() 34 hscale.SetSizeRequest (150, -1); in Create() 35 ((Range) hscale).UpdatePolicy = UpdateType.Delayed; in Create() 37 hscale.Digits = 1; in Create() 38 hscale.DrawValue = true; in Create() 39 box2.PackStart (hscale, true, true, 0); in Create() 45 hscale = new HScale (adjustment); in Create() 46 hscale.DrawValue = true; in Create() 47 hscale.FormatValue += new FormatValueHandler (reformat_value); in Create() 49 box2.PackStart (hscale, true, true, 0); in Create()
|
/dports/x11-toolkits/gtk-sharp30/gtk-sharp-2.99.3/sample/test/ |
H A D | TestRange.cs | 33 HScale hscale = new HScale (adjustment); in Create() 34 hscale.SetSizeRequest (150, -1); in Create() 36 hscale.Digits = 1; in Create() 37 hscale.DrawValue = true; in Create() 38 box2.PackStart (hscale, true, true, 0); in Create() 43 hscale = new HScale (adjustment); in Create() 44 hscale.DrawValue = true; in Create() 45 hscale.FormatValue += new FormatValueHandler (reformat_value); in Create() 47 box2.PackStart (hscale, true, true, 0); in Create()
|
/dports/math/ggobi/ggobi-2.1.11/plugins/ggvis/ |
H A D | ggvis.c | 453 hscale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); in create_ggvis_window() 457 gtk_scale_set_digits (GTK_SCALE(hscale), 0); in create_ggvis_window() 476 hscale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); in create_ggvis_window() 478 gtk_widget_set_name (hscale, "stepsize_scale"); in create_ggvis_window() 483 gtk_scale_set_digits (GTK_SCALE(hscale), 4); in create_ggvis_window() 645 hscale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); in create_ggvis_window() 690 hscale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); in create_ggvis_window() 712 hscale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); in create_ggvis_window() 714 gtk_widget_set_name (hscale, "lnorm_scale"); in create_ggvis_window() 809 hscale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); in create_ggvis_window() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vf_scale_cuda.cu | 41 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar() local 43 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar() 68 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar2() local 70 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar2() 98 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar4() local 100 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar4() 131 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_ushort() local 133 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_ushort() 158 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_ushort2() local 160 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_ushort2() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | vf_scale_cuda.cu | 35 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar() local 37 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar() 63 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar2() local 65 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar2() 94 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar4() local 96 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar4() 128 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_ushort() local 130 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_ushort() 156 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_ushort2() local 158 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_ushort2() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vf_scale_cuda.cu | 35 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar() local 37 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar() 63 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar2() local 65 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar2() 94 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar4() local 96 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_uchar4() 128 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_ushort() local 130 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_ushort() 156 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_ushort2() local 158 float xi = (xo + 0.5f) * hscale; in Subsample_Bilinear_ushort2() [all …]
|
/dports/science/hdf/hdf-4.2.15/hdf/src/ |
H A D | dfufp2iff.f | 45 integer function duf2im(hdim,vdim,max,min,hscale,vscale,data, 49 real max, min, hscale, vscale, data 54 duf2im = duif2i(hdim,vdim,max,min,hscale,vscale,data,palette, 81 integer function dfufptoimage(hdim,vdim,max,min,hscale,vscale, 85 real max, min, hscale, vscale, data 91 * duif2i(hdim,vdim,max,min,hscale,vscale,data,palette,
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | truemotion2rt.c | 38 int hscale; member 90 s->hscale = 1 + !!header_buffer[3]; in truemotion2rt_decode_header() 119 …if ((avctx->width + s->hscale - 1)/ s->hscale * avctx->height * s->delta_size > avpkt->size * 8LL … in truemotion2rt_decode_frame() 135 for (x = 0; x < avctx->width; x += s->hscale) { in truemotion2rt_decode_frame() 142 if (s->hscale > 1) { in truemotion2rt_decode_frame() 145 for (x = 1; x < avctx->width; x += s->hscale) in truemotion2rt_decode_frame() 161 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() 168 if (s->hscale > 1) { in truemotion2rt_decode_frame() 171 for (x = 1; x < avctx->width >> 2; x += s->hscale) in truemotion2rt_decode_frame() 187 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | truemotion2rt.c | 38 int hscale; member 90 s->hscale = 1 + !!header_buffer[3]; in truemotion2rt_decode_header() 119 …if ((avctx->width + s->hscale - 1)/ s->hscale * avctx->height * s->delta_size > avpkt->size * 8LL … in truemotion2rt_decode_frame() 135 for (x = 0; x < avctx->width; x += s->hscale) { in truemotion2rt_decode_frame() 142 if (s->hscale > 1) { in truemotion2rt_decode_frame() 145 for (x = 1; x < avctx->width; x += s->hscale) in truemotion2rt_decode_frame() 161 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() 168 if (s->hscale > 1) { in truemotion2rt_decode_frame() 171 for (x = 1; x < avctx->width >> 2; x += s->hscale) in truemotion2rt_decode_frame() 187 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | truemotion2rt.c | 38 int hscale; member 90 s->hscale = 1 + !!header_buffer[3]; in truemotion2rt_decode_header() 119 …if ((avctx->width + s->hscale - 1)/ s->hscale * avctx->height * s->delta_size > avpkt->size * 8LL … in truemotion2rt_decode_frame() 135 for (x = 0; x < avctx->width; x += s->hscale) { in truemotion2rt_decode_frame() 142 if (s->hscale > 1) { in truemotion2rt_decode_frame() 145 for (x = 1; x < avctx->width; x += s->hscale) in truemotion2rt_decode_frame() 161 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() 168 if (s->hscale > 1) { in truemotion2rt_decode_frame() 171 for (x = 1; x < avctx->width >> 2; x += s->hscale) in truemotion2rt_decode_frame() 187 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | truemotion2rt.c | 38 int hscale; member 90 s->hscale = 1 + !!header_buffer[3]; in truemotion2rt_decode_header() 119 …if ((avctx->width + s->hscale - 1)/ s->hscale * avctx->height * s->delta_size > avpkt->size * 8LL … in truemotion2rt_decode_frame() 135 for (x = 0; x < avctx->width; x += s->hscale) { in truemotion2rt_decode_frame() 142 if (s->hscale > 1) { in truemotion2rt_decode_frame() 145 for (x = 1; x < avctx->width; x += s->hscale) in truemotion2rt_decode_frame() 161 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() 168 if (s->hscale > 1) { in truemotion2rt_decode_frame() 171 for (x = 1; x < avctx->width >> 2; x += s->hscale) in truemotion2rt_decode_frame() 187 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | truemotion2rt.c | 38 int hscale; member 90 s->hscale = 1 + !!header_buffer[3]; in truemotion2rt_decode_header() 119 …if ((avctx->width + s->hscale - 1)/ s->hscale * avctx->height * s->delta_size > avpkt->size * 8LL … in truemotion2rt_decode_frame() 135 for (x = 0; x < avctx->width; x += s->hscale) { in truemotion2rt_decode_frame() 142 if (s->hscale > 1) { in truemotion2rt_decode_frame() 145 for (x = 1; x < avctx->width; x += s->hscale) in truemotion2rt_decode_frame() 161 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() 168 if (s->hscale > 1) { in truemotion2rt_decode_frame() 171 for (x = 1; x < avctx->width >> 2; x += s->hscale) in truemotion2rt_decode_frame() 187 for (x = 0; x < avctx->width >> 2; x += s->hscale) { in truemotion2rt_decode_frame() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.22/ |
H A D | cma_fe.c | 218 GtkWidget *vbox, *sw, *hscale, *button; in create_cma_dialog() local 355 pdialog->minimal_surplus[i] = hscale = in create_cma_dialog() 357 gtk_range_set_range(GTK_RANGE(hscale), in create_cma_dialog() 366 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 373 pdialog->factor[i] = hscale = in create_cma_dialog() 375 gtk_range_set_range(GTK_RANGE(hscale), 0, 25); in create_cma_dialog() 382 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 405 pdialog->factor[O_LAST] = hscale = in create_cma_dialog() 407 gtk_range_set_range(GTK_RANGE(hscale), 0, 50); in create_cma_dialog() 408 gtk_range_set_increments(GTK_RANGE(hscale), 1, 1); in create_cma_dialog() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.22/ |
H A D | cma_fe.c | 218 GtkWidget *vbox, *sw, *hscale, *button; in create_cma_dialog() local 355 pdialog->minimal_surplus[i] = hscale = in create_cma_dialog() 357 gtk_range_set_range(GTK_RANGE(hscale), in create_cma_dialog() 366 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 373 pdialog->factor[i] = hscale = in create_cma_dialog() 375 gtk_range_set_range(GTK_RANGE(hscale), 0, 25); in create_cma_dialog() 382 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 405 pdialog->factor[O_LAST] = hscale = in create_cma_dialog() 407 gtk_range_set_range(GTK_RANGE(hscale), 0, 50); in create_cma_dialog() 408 gtk_range_set_increments(GTK_RANGE(hscale), 1, 1); in create_cma_dialog() [all …]
|
/dports/graphics/price/PRICE-1.3.0/ |
H A D | PRPreviewController.m | 90 float hscale, vscale; 99 hscale = currViewSize.width / imgSize.width; 100 if (hscale > vscale) 103 [view scaleFrameBy:hscale]; 106 hscale = currViewSize.width / imgSize.width; 108 [view scaleFrameBy:hscale]; 149 float hscale, vscale; 158 hscale = currViewSize.width / imgSize.width; 159 if (hscale > vscale) 162 [view scaleFrameBy:hscale]; [all …]
|
/dports/textproc/p5-PDF-Builder/PDF-Builder-3.023/examples/ |
H A D | 032_separation | 34 …$text->textlabel(300,750, $fnt,20, 'Separation Colorspace(s)', -color=>'#000', -hscale=>125, -cent… 42 $text->textlabel($cx,$cy+($y*$cs)+14, $fnt,8, $csn, -color=>'#000', -hscale=>85, -right=>1); 48 …*$cs,$cy+($y+0.5)*$cs-2, $fnt,8, sprintf('%0.4f',$x/0xf), -color=>'#000', -hscale=>85, -center=>1); 55 $text->textlabel($cx,$cy+($y*$cs)+14, $fnt,8, 'All', -color=>'#000', -hscale=>85, -right=>1); 60 …2, $fnt,8, sprintf('%0.4f',$x/0xf), -color=>'#000', -strokecolor=>'#FFF', -hscale=>85, -center=>1); 66 $text->textlabel($cx,$cy+($y*$cs)+14, $fnt,8, 'None', -color=>'#000', -hscale=>85, -right=>1); 71 …*$cs,$cy+($y+0.5)*$cs-2, $fnt,8, sprintf('%0.4f',$x/0xf), -color=>'#000', -hscale=>85, -center=>1);
|
H A D | 030_colorspecs | 52 $text->textlabel(300,750, $fnt, 20, 'RGB Colorspace', -color=>'#000', -hscale=>125, -center=>1); 62 …)*$cs-2, $fnt,8, $t, -color=>'#000', -strokecolor=>'#FFF', -rotate=>$ang, -hscale=>85, -center=>1); 80 …$text->textlabel(300,750, $fnt, 20, 'RGB Colorspace (Gamma=2.2)', -color=>'#000', -hscale=>125, -c… 90 …)*$cs-2, $fnt,8, $t, -color=>'#000', -strokecolor=>'#FFF', -rotate=>$ang, -hscale=>85, -center=>1); 108 $text->textlabel(300,750, $fnt,20, 'CMYK Colorspace', -color=>'#000', -hscale=>125, -center=>1); 118 …)*$cs-2, $fnt,8, $t, -color=>'#000', -strokecolor=>'#FFF', -rotate=>$ang, -hscale=>85, -center=>1); 136 $text->textlabel(300,750, $fnt,20, 'Lab Colorspace', -color=>'#000', -hscale=>125, -center=>1); 146 …)*$cs-2, $fnt,8, $t, -color=>'#000', -strokecolor=>'#FFF', -rotate=>$ang, -hscale=>85, -center=>1); 184 …$text->textlabel(300,750, $fnt,20, 'Named Colors (RGB)', -color=>'#000', -hscale=>125, -center=>1); 196 …)*$cs-2, $fnt,7, $t, -color=>'#000', -strokecolor=>'#FFF', -rotate=>$ang, -hscale=>85, -center=>1);
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.0/ |
H A D | cma_fe.c | 218 GtkWidget *vbox, *sw, *hscale, *button, *image; in create_cma_dialog() local 356 pdialog->minimal_surplus[i] = hscale = in create_cma_dialog() 358 gtk_range_set_range(GTK_RANGE(hscale), in create_cma_dialog() 367 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 374 pdialog->factor[i] = hscale = in create_cma_dialog() 376 gtk_range_set_range(GTK_RANGE(hscale), 0, 25); in create_cma_dialog() 383 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 406 pdialog->factor[O_LAST] = hscale = in create_cma_dialog() 408 gtk_range_set_range(GTK_RANGE(hscale), 0, 50); in create_cma_dialog() 409 gtk_range_set_increments(GTK_RANGE(hscale), 1, 1); in create_cma_dialog() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.0/ |
H A D | cma_fe.c | 218 GtkWidget *vbox, *sw, *hscale, *button, *image; in create_cma_dialog() local 356 pdialog->minimal_surplus[i] = hscale = in create_cma_dialog() 358 gtk_range_set_range(GTK_RANGE(hscale), in create_cma_dialog() 367 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 374 pdialog->factor[i] = hscale = in create_cma_dialog() 376 gtk_range_set_range(GTK_RANGE(hscale), 0, 25); in create_cma_dialog() 383 gtk_scale_set_digits(GTK_SCALE(hscale), 0); in create_cma_dialog() 406 pdialog->factor[O_LAST] = hscale = in create_cma_dialog() 408 gtk_range_set_range(GTK_RANGE(hscale), 0, 50); in create_cma_dialog() 409 gtk_range_set_increments(GTK_RANGE(hscale), 1, 1); in create_cma_dialog() [all …]
|
/dports/textproc/p5-PDF-API2/PDF-API2-2.042/lib/PDF/API2/Resource/Font/ |
H A D | SynFont.pm | 99 my $hscale = ($opts{'hscale'} // 100) / 100; 117 'missingwidth' => $font->missingwidth() * $hscale, 137 $data->{'fontbbox'}->[0] *= $hscale; 138 $data->{'fontbbox'}->[2] *= $hscale; 189 my $wth = int($font->width(chr($uni)) * 1000 * $hscale + 2 * $space); 206 $char->{' stream'} .= ($hscale * 110) . " Tz\n"; 208 $wth = int($font->width(uc chr($uni)) * 800 * $hscale * 1.1 + 2 * $space); 213 $char->{' stream'} .= ($hscale * 100) . " Tz\n" if $hscale != 1;
|