Home
last modified time | relevance | path

Searched refs:rect_w (Results 1 – 25 of 121) sorted by relevance

12345

/dports/graphics/dia/dia-0.97.3/app/
H A Dcolor_area.c86 gint rect_w, rect_h; in color_area_target() local
91 rect_w = width * 0.65; in color_area_target()
95 if (x > 0 && x < rect_w && in color_area_target()
104 else if (x > rect_w && x < width && in color_area_target()
117 gint rect_w, rect_h; in color_area_draw() local
138 rect_w = width * 0.65; in color_area_draw()
156 (width - rect_w), (height - rect_h), rect_w, rect_h); in color_area_draw()
158 (width - rect_w), (height - rect_h), rect_w, rect_h); in color_area_draw()
165 rect_w, rect_h); in color_area_draw()
175 0, 0, rect_w, rect_h); in color_area_draw()
[all …]
/dports/games/gbrainy/gbrainy-2.4.3/src/Games/Memory/
H A DMemoryFaces.cs35 private double rect_w, rect_h; field in gbrainy.Games.Memory.MemoryFaces
79 rect_w = 0.65 / columns; in Initialize()
108 …HorizontalContainer container = new HorizontalContainer (start_x_ans, y, columns * rect_w, rect_h); in Initialize()
117 container = new HorizontalContainer (start_x_ans, y, columns * rect_w, rect_h); in Initialize()
121 DrawableArea drawable_area = new DrawableArea (rect_w, rect_h); in Initialize()
143 e.Context.DrawTextCentered (rect_w / 2, rect_h / 2, (n).ToString ()); in Initialize()
189 x += rect_w; in DrawAllFigures()
199 space_x = (rect_w - figure_size) / 2; in DrawFigure()
232 gr.Rectangle (x + column * rect_w, y + row * rect_h, rect_w, rect_h); in DrawGrid()
H A DMemoryColouredFigures.cs38 private double rect_w; field in gbrainy.Games.Memory.MemoryColouredFigures
78 rect_w = 0.3 / rows; in Initialize()
184 gr.Rectangle (x + row * rect_w, y + column * rect_h, rect_w, rect_h); in DrawSquare()
185 gr.FillGradient (x + row * rect_w, y + column * rect_h, rect_w, rect_h, c); in DrawSquare()
191 gr.Rectangle (x + row * rect_w, y + column * rect_h, rect_w, rect_h); in DrawSquare()
H A DMemoryFiguresNumbers.cs30 private double rect_w, rect_h; field in gbrainy.Games.Memory.MemoryFiguresNumbers
61 rect_w = 0.3 / rows; in Initialize()
161 gr.Rectangle (x + row * rect_w, y + column * rect_h, rect_w, rect_h); in DrawSquare()
163 gr.DrawTextCentered (x + (rect_w / 2) + column * rect_w, y + (rect_h / 2) + row * rect_h, in DrawSquare()
/dports/japanese/scim-anthy/scim-anthy-1.2.7/src/
H A Dscim_anthy_color_button.cpp213 gint rect_w, rect_h; in scim_anthy_color_button_expose() local
242 rect_w = width - swap_w - 4; in scim_anthy_color_button_expose()
245 rect_w = MAX (rect_w - (rect_h - ((height * 3 / 4))), in scim_anthy_color_button_expose()
249 button->rect_width = rect_w; in scim_anthy_color_button_expose()
259 rect_w, rect_h, in scim_anthy_color_button_expose()
265 (width - rect_w), in scim_anthy_color_button_expose()
267 rect_w, rect_h); in scim_anthy_color_button_expose()
275 rect_w, rect_h, in scim_anthy_color_button_expose()
282 rect_w, rect_h); in scim_anthy_color_button_expose()
294 gint rect_w = button->rect_width; in scim_anthy_color_button_target() local
[all …]
/dports/games/gbrainy/gbrainy-2.4.3/src/Games/Logic/
H A DPuzzleGridNumbers.cs128 double rect_w = DrawAreaWidth / rows; in Draw()
135 gr.Rectangle (DrawAreaX + row * rect_w, DrawAreaY + column * rect_h, rect_w, rect_h); in Draw()
138 gr.DrawTextCentered (DrawAreaX + column * rect_w + rect_w / 2, in Draw()
145 gr.DrawTextCentered (DrawAreaX + 3 * rect_w + rect_w / 2, in Draw()
H A DPuzzleRelatedNumbers.cs200 double rect_w = DrawAreaWidth / columns; in Draw()
212 gr.Rectangle (DrawAreaX + column * rect_w, DrawAreaY + row * rect_h, rect_w, rect_h); in Draw()
228 gr.DrawTextCentered (DrawAreaX + (column * rect_w) + rect_w / 2, in Draw()
H A DPuzzleSquares.cs73 double rect_w = DrawAreaWidth / rows; in Draw()
80 gr.Rectangle (DrawAreaX + row * rect_w, DrawAreaY + column * rect_h, rect_w, rect_h); in Draw()
H A DPuzzleLargerShape.cs281 const double rect_w = 0.05, rect_h = 0.05; in DrawPossibleAnswer()
287 gr.Rectangle (x + column * rect_w, y + row * rect_h, rect_w, rect_h); in DrawPossibleAnswer()
288 …gr.FillGradient (x + column * rect_w, y + row * rect_h, rect_w, rect_h, ColorForPortion (portions … in DrawPossibleAnswer()
290 gr.Rectangle (x + column * rect_w, y + row * rect_h, rect_w, rect_h); in DrawPossibleAnswer()
/dports/games/opensonic/opensnc-src-0.1.4/src/core/
H A Dsprite.c219 info->rect_w = 0; in spriteinfo_new()
284 if(spr->frame_w > spr->rect_w || spr->frame_h > spr->rect_h) { in validate_sprite()
285 …'t be larger than source_rect size (%d,%d)", spr->frame_w, spr->frame_h, spr->rect_w, spr->rect_h); in validate_sprite()
286 spr->frame_w = min(spr->frame_w, spr->rect_w); in validate_sprite()
291 if(spr->rect_w % spr->frame_w > 0 || spr->rect_h % spr->frame_h > 0) { in validate_sprite()
293 …spr->rect_w = (spr->rect_w % spr->frame_w > 0) ? (spr->rect_w - spr->rect_w % spr->frame_w + spr->… in validate_sprite()
295 logfile_message("Adjusting source_rect size to (%d,%d)", spr->rect_w, spr->rect_h); in validate_sprite()
301 n = (spr->rect_w / spr->frame_w) * (spr->rect_h / spr->frame_h); in validate_sprite()
334 spr->frame_count = (spr->rect_w / spr->frame_w) * (spr->rect_h / spr->frame_h); in load_sprite_images()
347 if(cur_x >= spr->rect_x+spr->rect_w) { in load_sprite_images()
[all …]
/dports/graphics/gimp-app/gimp-2.10.30/app/widgets/
H A Dgimpfgbgview.c161 gint rect_w, rect_h; in gimp_fg_bg_view_expose() local
176 rect_w = allocation.width * 3 / 4; in gimp_fg_bg_view_expose()
199 allocation.width - rect_w + 1, in gimp_fg_bg_view_expose()
201 rect_w - 2, in gimp_fg_bg_view_expose()
209 allocation.x + allocation.width - rect_w, in gimp_fg_bg_view_expose()
211 rect_w, rect_h); in gimp_fg_bg_view_expose()
229 cairo_rectangle (cr, 1, 1, rect_w - 2, rect_h - 2); in gimp_fg_bg_view_expose()
236 allocation.x, allocation.y, rect_w, rect_h); in gimp_fg_bg_view_expose()
H A Dgimpfgbgeditor.c278 gint rect_w, rect_h; in gimp_fg_bg_editor_expose() local
334 rect_w = width - MAX (default_w, swap_w) - 4; in gimp_fg_bg_editor_expose()
337 rect_w = MAX (rect_w - (rect_h - ((height * 3 / 4))), in gimp_fg_bg_editor_expose()
340 editor->rect_width = rect_w; in gimp_fg_bg_editor_expose()
352 rect_w, rect_h, in gimp_fg_bg_editor_expose()
360 rect_w, rect_h, in gimp_fg_bg_editor_expose()
377 gint rect_w = editor->rect_width; in gimp_fg_bg_editor_target() local
385 if (x > 0 && x < rect_w && y > 0 && y < rect_h) in gimp_fg_bg_editor_target()
389 else if (x > (width - rect_w) && x < width && in gimp_fg_bg_editor_target()
394 else if (x > 0 && x < (width - rect_w) && in gimp_fg_bg_editor_target()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Dshape.cpp71 int rect_w = MIN(CLIP(_width + x, 0, _width), surface.w - x); in draw() local
74 if (rect_w == 0 || rect_h == 0) { in draw()
81 for (int xi = 0; xi != rect_w; ++xi) { in draw()
94 src_p += 2 * (_width - rect_w); in draw()
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Dshape.cpp71 int rect_w = MIN(CLIP(_width + x, 0, _width), surface.w - x); in draw() local
74 if (rect_w == 0 || rect_h == 0) { in draw()
81 for (int xi = 0; xi != rect_w; ++xi) { in draw()
94 src_p += 2 * (_width - rect_w); in draw()
/dports/net/gstreamer1-plugins-srtp/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-x265/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-openh264/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-rtmp/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-msdk/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-mplex/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-resindvd/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-dts/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-dash/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-aom/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]
/dports/multimedia/gstreamer1-plugins-assrender/gst-plugins-bad-1.16.2/gst/librfb/
H A Drfbdecoder.c39 gint start_y, gint rect_w, gint rect_h);
43 gint start_y, gint rect_w, gint rect_h);
45 gint start_y, gint rect_w, gint rect_h);
857 gint rect_w, gint rect_h) in rfb_decoder_raw_encoding() argument
863 raw_line_size = rect_w * decoder->bytespp; in rfb_decoder_raw_encoding()
887 gint rect_w, gint rect_h) in rfb_decoder_copyrect_encoding() argument
940 gint rect_w, gint rect_h) in rfb_decoder_rre_encoding() argument
976 gint rect_w, gint rect_h) in rfb_decoder_corre_encoding() argument
1012 gint rect_w, gint rect_h) in rfb_decoder_hextile_encoding() argument
1020 x_end = rect_w % 16; in rfb_decoder_hextile_encoding()
[all …]

12345