/dports/emulators/xsystem35/xsystem35-1.7.3-pre5/src/ |
H A D | xcore_maskupdate.c | 131 p[0].y = 0 + off_y; in draw_windwheel_90() 134 p[1].y = -r * cos(rad) + off_y; in draw_windwheel_90() 142 p[1].y = r * sin(rad) + off_y; in draw_windwheel_90() 150 p[1].y = r * cos(rad) + off_y; in draw_windwheel_90() 153 p[2].y = r * cos(rad + WHEELDELTA) + off_y; in draw_windwheel_90() 157 p[1].y = -r * sin(rad) + off_y; in draw_windwheel_90() 176 p[0].y = 0 + off_y; in draw_windwheel_180() 180 p[1].y = -r * sin(rad) + off_y; in draw_windwheel_180() 188 p[1].y = r * sin(rad) + off_y; in draw_windwheel_180() 207 p[0].y = 0 + off_y; in draw_windwheel_360() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/tools/ |
H A D | gimpfiltertool-widgets.c | 304 y1 = off_y + area.y; in gimp_filter_tool_reset_transform_grid() 416 gint off_x, off_y; in gimp_filter_tool_set_line() local 464 y1 -= off_y + area.y; in gimp_filter_tool_line_changed() 466 y2 -= off_y + area.y; in gimp_filter_tool_line_changed() 550 y1 -= off_y + area.y; in gimp_filter_tool_slider_line_changed() 552 y2 -= off_y + area.y; in gimp_filter_tool_slider_line_changed() 584 y1 += off_y; in gimp_filter_tool_set_transform_grid() 586 y2 += off_y; in gimp_filter_tool_set_transform_grid() 678 y1 += off_y; in gimp_filter_tool_set_transform_grids() 680 y2 += off_y; in gimp_filter_tool_set_transform_grids() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/core/ |
H A D | gimplayer-floating-selection.c | 108 gint off_x, off_y; in floating_sel_anchor() local 131 bounding_box.y += off_y; in floating_sel_anchor() 250 gint off_x, off_y; in floating_sel_boundary() local 278 layer->fs.segs[i].y1 += off_y; in floating_sel_boundary() 280 layer->fs.segs[i].y2 += off_y; in floating_sel_boundary() 290 layer->fs.segs[0].y1 = off_y; in floating_sel_boundary() 292 layer->fs.segs[0].y2 = off_y; in floating_sel_boundary() 296 layer->fs.segs[1].y1 = off_y; in floating_sel_boundary() 298 layer->fs.segs[1].y2 = off_y + height; in floating_sel_boundary() 302 layer->fs.segs[2].y1 = off_y; in floating_sel_boundary() [all …]
|
H A D | gimpimage-pick-item.c | 49 gint off_x, off_y; in gimp_image_pick_layer() local 60 x - off_x, y - off_y) <= 0.25) in gimp_image_pick_layer() 82 gimp_item_get_offset (GIMP_ITEM (layer), &off_x, &off_y); in gimp_image_pick_layer() 118 gint off_x, off_y; in gimp_image_pick_layer_by_bounds() local 121 gimp_item_get_offset (GIMP_ITEM (layer), &off_x, &off_y); in gimp_image_pick_layer_by_bounds() 126 y >= off_y && in gimp_image_pick_layer_by_bounds() 128 y < off_y + height) in gimp_image_pick_layer_by_bounds() 157 gint off_x, off_y; in gimp_image_pick_text_layer() local 159 gimp_item_get_offset (GIMP_ITEM (layer), &off_x, &off_y); in gimp_image_pick_text_layer() 163 y >= off_y && in gimp_image_pick_text_layer() [all …]
|
H A D | gimpdrawable-bucket-fill.c | 235 gint off_y = 0; in gimp_drawable_get_bucket_fill_buffer() local 242 sel_x + off_x, sel_y + off_y, in gimp_drawable_get_bucket_fill_buffer() 262 gint off_x, off_y; in gimp_drawable_get_bucket_fill_buffer() local 265 gimp_item_get_offset (item, &off_x, &off_y); in gimp_drawable_get_bucket_fill_buffer() 269 off_x, off_y, in gimp_drawable_get_bucket_fill_buffer() 280 y -= off_y; in gimp_drawable_get_bucket_fill_buffer() 414 gint off_y = 0; in gimp_drawable_get_line_art_fill_buffer() local 439 gint off_x, off_y; in gimp_drawable_get_line_art_fill_buffer() local 442 gimp_item_get_offset (item, &off_x, &off_y); in gimp_drawable_get_line_art_fill_buffer() 446 off_x, off_y, in gimp_drawable_get_line_art_fill_buffer() [all …]
|
H A D | gimpscanconvert.h | 55 gint off_y, 63 gint off_y, 68 gint off_y, 73 gint off_y); 77 gint off_y,
|
H A D | gimpdrawable-histogram.c | 99 gint off_x, off_y; in gimp_drawable_calculate_histogram_internal() local 103 gimp_item_get_offset (GIMP_ITEM (drawable), &off_x, &off_y); in gimp_drawable_calculate_histogram_internal() 108 -off_x, -off_y); in gimp_drawable_calculate_histogram_internal() 170 gint off_x, off_y; in gimp_drawable_calculate_histogram_internal() local 172 gimp_item_get_offset (GIMP_ITEM (drawable), &off_x, &off_y); in gimp_drawable_calculate_histogram_internal() 180 GEGL_RECTANGLE (x + off_x, y + off_y, in gimp_drawable_calculate_histogram_internal() 189 GEGL_RECTANGLE (x + off_x, y + off_y, in gimp_drawable_calculate_histogram_internal()
|
H A D | gimpimage-rotate.c | 48 gint off_y); 127 gint off_y; in gimp_image_rotate() local 129 gimp_item_get_offset (item, &off_x, &off_y); in gimp_image_rotate() 135 gimp_image_rotate_item_offset (image, rotate_type, item, off_x, off_y); in gimp_image_rotate() 223 gint off_y) in gimp_image_rotate_item_offset() argument 231 x = gimp_image_get_height (image) - off_y - gimp_item_get_width (item); in gimp_image_rotate_item_offset() 236 x = off_y; in gimp_image_rotate_item_offset() 247 gimp_item_get_offset (item, &off_x, &off_y); in gimp_image_rotate_item_offset() 250 y -= off_y; in gimp_image_rotate_item_offset()
|
/dports/graphics/katarakt/katarakt-99735bc0b15b57d689b6c982d43b85ed1b40ef45/src/layout/ |
H A D | gridlayout.cpp | 21 off_x(0), off_y(0), in GridLayout() 138 off_y = off_y * size / old_size; in resize() 163 off_y = (off_y - height / 2) * new_factor / old_factor + height / 2; in set_zoom() 202 int old_off_y = off_y; in scroll_smooth_noupdate() 205 off_y += dy; in scroll_smooth_noupdate() 214 while (off_y > 0 && in scroll_smooth_noupdate() 228 off_y = 0; in scroll_smooth_noupdate() 296 off_y = 0; in scroll_page_noupdate() 354 int hpos = off_y; in render() 535 int hpos = off_y; in get_target_page_distance() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/metal/ |
H A D | MetalPooling.metal | 35 int off_y = gid.y * s.stride_height - s.pad_height; 39 int ey = off_y + s.kernel_height; 42 auto result = ftype4(z_in[clamp(off_y, 0, y_max) * s.input_width + clamp(off_x, 0, x_max)]); 43 for (int y = off_y; y < ey; y++) { 59 int off_y = gid.y * s.stride_height - s.pad_height; 61 int sy = off_y + max(0, -off_y); 63 int ey = off_y + min(s.kernel_height, s.input_height - off_y);
|
/dports/multimedia/gavl/gavl-1.4.0/gavl/ |
H A D | videoformat.c | 203 float * off_x, float * off_y) in gavl_video_format_get_chroma_offset() argument 209 *off_y = 0.0; in gavl_video_format_get_chroma_offset() 217 *off_y = 0.0; in gavl_video_format_get_chroma_offset() 225 *off_y = 0.5; in gavl_video_format_get_chroma_offset() 231 *off_y = 0.5; in gavl_video_format_get_chroma_offset() 236 *off_y = 0.25; /* In FIELD coordinates */ in gavl_video_format_get_chroma_offset() 242 *off_y = 0.75; /* In FIELD coordinates */ in gavl_video_format_get_chroma_offset() 250 *off_y = 1.0; /* In FIELD coordinates */ in gavl_video_format_get_chroma_offset() 255 *off_y = 0.0; /* In FIELD coordinates */ in gavl_video_format_get_chroma_offset()
|
/dports/devel/tbb/oneTBB-2020.3/examples/task_arena/fractal/ |
H A D | fractal.cpp | 72 drawing_area area( off_x, off_y, size_x, size_y, dm ) ; in clear() 88 drawing_area area0( off_x-1, off_y-1, size_x+2, 1, dm ); in draw_border() 92 drawing_area area1( off_x-1, off_y+size_y, size_x+2, 1, dm ); in draw_border() 96 drawing_area area2( off_x-1, off_y, 1, size_y+2, dm ); in draw_border() 100 drawing_area area3( size_x+off_x, off_y, 1, size_y+2, dm ); in draw_border() 107 drawing_area area(off_x+x0, off_y+y0, x1-x0, y1-y0, dm); in render_rect() 151 y >= off_y && y <= off_y+size_y; in check_point() 215 f0.off_x = f0.off_y = f1.off_y = 2; in fractal_group()
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/task_arena/fractal/ |
H A D | fractal.cpp | 72 drawing_area area( off_x, off_y, size_x, size_y, dm ) ; in clear() 88 drawing_area area0( off_x-1, off_y-1, size_x+2, 1, dm ); in draw_border() 92 drawing_area area1( off_x-1, off_y+size_y, size_x+2, 1, dm ); in draw_border() 96 drawing_area area2( off_x-1, off_y, 1, size_y+2, dm ); in draw_border() 100 drawing_area area3( size_x+off_x, off_y, 1, size_y+2, dm ); in draw_border() 107 drawing_area area(off_x+x0, off_y+y0, x1-x0, y1-y0, dm); in render_rect() 151 y >= off_y && y <= off_y+size_y; in check_point() 215 f0.off_x = f0.off_y = f1.off_y = 2; in fractal_group()
|
/dports/devel/onetbb/oneTBB-2021.4.0/examples/task_arena/fractal/ |
H A D | fractal.cpp | 74 drawing_area area(off_x, off_y, size_x, size_y, dm); in clear() 90 drawing_area area0(off_x - 1, off_y - 1, size_x + 2, 1, dm); in draw_border() 94 drawing_area area1(off_x - 1, off_y + size_y, size_x + 2, 1, dm); in draw_border() 98 drawing_area area2(off_x - 1, off_y, 1, size_y + 2, dm); in draw_border() 102 drawing_area area3(size_x + off_x, off_y, 1, size_y + 2, dm); in draw_border() 109 drawing_area area(off_x + x0, off_y + y0, x1 - x0, y1 - y0, dm); in render_rect() 158 return x >= off_x && x <= off_x + size_x && y >= off_y && y <= off_y + size_y; in check_point() 241 f0.off_x = f0.off_y = f1.off_y = 2; in fractal_group()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
H A D | glamor_transform.c | 49 int off_x, off_y; in glamor_set_destination_drawable() local 62 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_set_destination_drawable() 65 off_y -= box->y1; in glamor_set_destination_drawable() 69 *p_off_y = off_y; in glamor_set_destination_drawable() 88 off_y += drawable->y; in glamor_set_destination_drawable() 100 scale_y, (off_y + center_adjust) * scale_y - 1.0f); in glamor_set_destination_drawable() 195 int off_y, in glamor_set_texture() argument 202 glUniform2f(offset_uniform, off_x, off_y); in glamor_set_texture()
|
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
H A D | glamor_transform.c | 49 int off_x, off_y; in glamor_set_destination_drawable() local 62 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_set_destination_drawable() 65 off_y -= box->y1; in glamor_set_destination_drawable() 69 *p_off_y = off_y; in glamor_set_destination_drawable() 88 off_y += drawable->y; in glamor_set_destination_drawable() 100 scale_y, (off_y + center_adjust) * scale_y - 1.0f); in glamor_set_destination_drawable() 195 int off_y, in glamor_set_texture() argument 202 glUniform2f(offset_uniform, off_x, off_y); in glamor_set_texture()
|
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
/dports/x11-servers/xorg-server/xorg-server-1.20.13/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
/dports/x11-servers/xephyr/xorg-server-1.20.13/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
/dports/x11-servers/xarcan/xarcan-0.6.0/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|
/dports/x11-servers/xwayland/xorg-server-1.20.13/glamor/ |
H A D | glamor_image.c | 42 int off_x, off_y; in glamor_put_image_gl() local 70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_put_image_gl() 71 if (off_x || off_y) { in glamor_put_image_gl() 73 y += off_y; in glamor_put_image_gl() 74 RegionTranslate(®ion, off_x, off_y); in glamor_put_image_gl() 113 int off_x, off_y; in glamor_get_image_gl() local 122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y); in glamor_get_image_gl() 128 drawable->x + off_x, drawable->y + off_y, in glamor_get_image_gl()
|