/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/demos/ |
H A D | xsetechfig.sce | 17 dx=frect(3)-frect(1) ;ex=0.07*dx 18 dy=frect(4)-frect(2) ;ey=0.07*dy 21 xsetech(wrect=wrect,frect=frect,arect=arect) 40 [frect(2)-f*H ;frect(2)-f*H]) ; 43 xsegs([frect(1)-f*L;frect(1)-f*L],.. 45 xstring(frect(1)-f*L+ex/2,(frect(2)-f*H+H+frect(4)+f*H+wrect(2)*Ht)/2,"yup") 51 xsegs((frect(1)-f*L-ex)*ones(2,2),[frect(4)+f*H ,frect(4)+f*H-H/2-ey ; 52 frect(4)+f*H-H/2+ey,frect(4)+f*H-H]) 55 xsegs([frect(1)-f*L,frect(1)-f*L+L/2+ex 56 frect(1)-f*L+L/2-ex,frect(1)-f*L+L],(frect(4)+f*H+ey)*ones(2,2)) [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/macros/ |
H A D | xsetech.sci | 15 function []=xsetech(wrect, frect, logflag, arect) 31 if ~exists("frect", "local") 32 frect = []; 34 // Check frect 35 if (type(frect) <> 1 | isreal(frect) == %f | size(frect) <> [1 4]) then 36 error(77, sprintf(_("%s: Wrong value given for %s."), "xsetech", "frect")); 38 frect = [frect(1), frect(2); frect(3), frect(4)] 78 if ~isempty(frect) then 79 a.data_bounds = frect;
|
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/ajstarks/svgo/turbulence/ |
H A D | turbulence.go | 35 func (p perlin) frect(x, y, w, h int) { func 65 t1.frect(25, 25, 100, 75) 66 t2.frect(175, 25, 100, 75) 67 t3.frect(325, 25, 100, 75) 68 t4.frect(25, 180, 100, 75) 69 t5.frect(175, 180, 100, 75) 70 t6.frect(325, 180, 100, 75)
|
/dports/devel/godot2/godot-2.1.6-stable/editor/ |
H A D | editor_fonts.cpp | 50 Rect2 frect; in make_font() local 51 frect.pos.x = c[1]; in make_font() 52 frect.pos.y = c[2]; in make_font() 53 frect.size.x = c[3]; in make_font() 54 frect.size.y = c[4]; in make_font() 58 font->add_char(chr, 0, frect, align, advance); in make_font()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/ |
H A D | editor_fonts.cpp | 50 Rect2 frect; in make_font() local 51 frect.pos.x = c[1]; in make_font() 52 frect.pos.y = c[2]; in make_font() 53 frect.size.x = c[3]; in make_font() 54 frect.size.y = c[4]; in make_font() 58 font->add_char(chr, 0, frect, align, advance); in make_font()
|
/dports/x11-wm/wmii-devel/wmii+ixp-3.9.2/cmd/wmii/ |
H A D | mouse.c | 362 Rectangle frect, origin; in mouse_resize() local 391 frect = f->r; in mouse_resize() 395 rx = (float)pt.x / Dx(frect); in mouse_resize() 403 hr = subpt(frect.max, frect.min); in mouse_resize() 415 + Dx(frect) in mouse_resize() 419 + Dy(frect) in mouse_resize() 446 frect = frame_hints(f, frect, grav); in mouse_resize() 447 frect = constrain(frect, -1); in mouse_resize() 449 client_resize(c, frect); in mouse_resize() 453 Pt(Dx(frect) * rx, in mouse_resize() [all …]
|
H A D | layout.c | 545 Rectangle frect, origin; in tfloat() local 569 frect = f->r; in tfloat() 584 frect = origin; in tfloat() 587 snap_rect(rects, nrect, &frect, &align, def.snap); in tfloat() 589 frect = frame_hints(f, frect, Center); in tfloat() 590 frect = constrain(frect, -1); in tfloat() 591 client_resize(c, frect); in tfloat()
|
/dports/graphics/gegl/gegl-0.4.34/operations/common/ |
H A D | long-shadow.c | 439 SWAP (gint, frect->x, frect->y); 440 SWAP (gint, frect->width, frect->height); 444 frect->x = -frect->x - frect->width; 447 frect->y = -frect->y - frect->height; 451 frect->width += frect->x; 452 frect->height += frect->y; 454 frect->x = (frect->x + 0) >> ctx->level; 455 frect->y = (frect->y + 0) >> ctx->level; 456 frect->width = (frect->width + 1) >> ctx->level; 459 frect->width -= frect->x; [all …]
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/demo/ |
H A D | run.py | 90 frect = frame.GetRect() 107 frect.OffsetXY(0, frect.height) 108 frect.height = 400 109 shell.SetRect(frect)
|
/dports/x11-wm/wmii/wmii-3.6/cmd/wmii/ |
H A D | mouse.c | 672 Rectangle frect, origin; in do_mouse_resize() local 691 frect = f->r; in do_mouse_resize() 699 rx = (float)pt.x / Dx(frect); in do_mouse_resize() 700 ry = (float)pt.y /Dy(frect); in do_mouse_resize() 707 hr = subpt(frect.max, frect.min); in do_mouse_resize() 761 frect = origin; in do_mouse_resize() 765 frect = frame_hints(f, frect, grav); in do_mouse_resize() 766 frect = constrain(frect); in do_mouse_resize() 769 resize_client(c, &frect); in do_mouse_resize() 772 resize_client(c, &frect); in do_mouse_resize() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/src/ |
H A D | renderer.h | 108 float frect[4]; in setPredefined() local 109 frect[0] = m_rect.m_x; in setPredefined() 110 frect[1] = m_rect.m_y; in setPredefined() 111 frect[2] = m_rect.m_width; in setPredefined() 112 frect[3] = m_rect.m_height; in setPredefined() 116 , &frect[0] in setPredefined() 124 float frect[4]; in setPredefined() local 125 frect[0] = 1.0f/float(m_rect.m_width); in setPredefined() 126 frect[1] = 1.0f/float(m_rect.m_height); in setPredefined() 130 , &frect[0] in setPredefined()
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/src/ |
H A D | renderer.h | 108 float frect[4]; in setPredefined() local 109 frect[0] = m_rect.m_x; in setPredefined() 110 frect[1] = m_rect.m_y; in setPredefined() 111 frect[2] = m_rect.m_width; in setPredefined() 112 frect[3] = m_rect.m_height; in setPredefined() 116 , &frect[0] in setPredefined() 124 float frect[4]; in setPredefined() local 125 frect[0] = 1.0f/float(m_rect.m_width); in setPredefined() 126 frect[1] = 1.0f/float(m_rect.m_height); in setPredefined() 130 , &frect[0] in setPredefined()
|
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/converter/ |
H A D | level_tools_details.cxx | 92 std::vector<frect> bounds(m_details->raw.size(), frect().invalidate()); 93 std::vector<frect>::iterator it1 = bounds.begin(); 109 for (std::vector<frect>::iterator it = bounds.begin(), end = bounds.end(); it != end; ++it) {
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/tests/nonreg_tests/ |
H A D | bug_11388.dia.ref | 16 // Calling xsetech(frect=[0,0,100,100]) failed. 17 assert_checktrue(execstr("xsetech(frect=[0,0,100,100])", "errcatch") == 0);
|
H A D | bug_11388.tst | 16 // Calling xsetech(frect=[0,0,100,100]) failed. 18 assert_checktrue(execstr("xsetech(frect=[0,0,100,100])", "errcatch") == 0);
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/render/ |
H A D | SDL_render.c | 1504 SDL_FRect *frect; in RenderDrawLinesWithRects() local 1522 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1524 frect->y = minY * renderer->scale.y; in RenderDrawLinesWithRects() 1525 frect->w = renderer->scale.x; in RenderDrawLinesWithRects() 1531 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1532 frect->x = minX * renderer->scale.x; in RenderDrawLinesWithRects() 1535 frect->h = renderer->scale.y; in RenderDrawLinesWithRects() 1718 SDL_FRect frect; in SDL_RenderCopy() local 1756 frect.x = real_dstrect.x * renderer->scale.x; in SDL_RenderCopy() 1757 frect.y = real_dstrect.y * renderer->scale.y; in SDL_RenderCopy() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/render/ |
H A D | SDL_render.c | 1504 SDL_FRect *frect; in RenderDrawLinesWithRects() local 1522 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1524 frect->y = minY * renderer->scale.y; in RenderDrawLinesWithRects() 1525 frect->w = renderer->scale.x; in RenderDrawLinesWithRects() 1531 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1532 frect->x = minX * renderer->scale.x; in RenderDrawLinesWithRects() 1535 frect->h = renderer->scale.y; in RenderDrawLinesWithRects() 1718 SDL_FRect frect; in SDL_RenderCopy() local 1756 frect.x = real_dstrect.x * renderer->scale.x; in SDL_RenderCopy() 1757 frect.y = real_dstrect.y * renderer->scale.y; in SDL_RenderCopy() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/render/ |
H A D | SDL_render.c | 1504 SDL_FRect *frect; in RenderDrawLinesWithRects() local 1522 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1524 frect->y = minY * renderer->scale.y; in RenderDrawLinesWithRects() 1525 frect->w = renderer->scale.x; in RenderDrawLinesWithRects() 1531 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1532 frect->x = minX * renderer->scale.x; in RenderDrawLinesWithRects() 1535 frect->h = renderer->scale.y; in RenderDrawLinesWithRects() 1718 SDL_FRect frect; in SDL_RenderCopy() local 1756 frect.x = real_dstrect.x * renderer->scale.x; in SDL_RenderCopy() 1757 frect.y = real_dstrect.y * renderer->scale.y; in SDL_RenderCopy() [all …]
|
/dports/games/rlvm/rlvm-release-0.14-77-gfabf134a/src/long_operations/ |
H A D | zoom_long_operation.cc | 44 const Rect& frect, in ZoomLongOperation() argument 50 frect_(frect), in ZoomLongOperation()
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/render/ |
H A D | SDL_render.c | 1652 SDL_FRect *frect; in RenderDrawLinesWithRects() local 1670 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1672 frect->y = minY * renderer->scale.y; in RenderDrawLinesWithRects() 1673 frect->w = renderer->scale.x; in RenderDrawLinesWithRects() 1679 frect = &frects[nrects++]; in RenderDrawLinesWithRects() 1680 frect->x = minX * renderer->scale.x; in RenderDrawLinesWithRects() 1683 frect->h = renderer->scale.y; in RenderDrawLinesWithRects() 1866 SDL_FRect frect; in SDL_RenderCopy() local 1904 frect.x = real_dstrect.x * renderer->scale.x; in SDL_RenderCopy() 1905 frect.y = real_dstrect.y * renderer->scale.y; in SDL_RenderCopy() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/scene/resources/default_theme/ |
H A D | default_theme.cpp | 120 Rect2 frect; in make_font() local 121 frect.pos.x = c[1]; in make_font() 122 frect.pos.y = c[2]; in make_font() 123 frect.size.x = c[3]; in make_font() 124 frect.size.y = c[4]; in make_font() 128 font->add_char(chr, 0, frect, align, advance); in make_font() 152 Rect2 frect; in make_font2() local 153 frect.pos.x = c[1]; in make_font2() 154 frect.pos.y = c[2]; in make_font2() 155 frect.size.x = c[3]; in make_font2() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/resources/default_theme/ |
H A D | default_theme.cpp | 120 Rect2 frect; in make_font() local 121 frect.pos.x = c[1]; in make_font() 122 frect.pos.y = c[2]; in make_font() 123 frect.size.x = c[3]; in make_font() 124 frect.size.y = c[4]; in make_font() 128 font->add_char(chr, 0, frect, align, advance); in make_font() 152 Rect2 frect; in make_font2() local 153 frect.pos.x = c[1]; in make_font2() 154 frect.pos.y = c[2]; in make_font2() 155 frect.size.x = c[3]; in make_font2() [all …]
|
/dports/devel/sdl20/SDL2-2.0.18/src/render/ |
H A D | SDL_render.c | 2789 SDL_FRect *frect; in RenderDrawLinesWithRects() local 2846 SDL_FRect *frect; in RenderDrawLinesWithRectsF() local 2992 SDL_FRect frect; in SDL_RenderDrawRect() local 2996 frect.x = (float) rect->x; in SDL_RenderDrawRect() 2997 frect.y = (float) rect->y; in SDL_RenderDrawRect() 3000 prect = &frect; in SDL_RenderDrawRect() 3009 SDL_FRect frect; in SDL_RenderDrawRectF() local 3017 rect = &frect; in SDL_RenderDrawRectF() 3096 SDL_FRect frect; in SDL_RenderFillRect() local 3115 SDL_FRect frect; in SDL_RenderFillRectF() local [all …]
|
/dports/x11/controllermap/SDL2-2.0.18/src/render/ |
H A D | SDL_render.c | 2789 SDL_FRect *frect; in RenderDrawLinesWithRects() local 2846 SDL_FRect *frect; in RenderDrawLinesWithRectsF() local 2992 SDL_FRect frect; in SDL_RenderDrawRect() local 2996 frect.x = (float) rect->x; in SDL_RenderDrawRect() 2997 frect.y = (float) rect->y; in SDL_RenderDrawRect() 3000 prect = &frect; in SDL_RenderDrawRect() 3009 SDL_FRect frect; in SDL_RenderDrawRectF() local 3017 rect = &frect; in SDL_RenderDrawRectF() 3096 SDL_FRect frect; in SDL_RenderFillRect() local 3115 SDL_FRect frect; in SDL_RenderFillRectF() local [all …]
|
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/fsui/qt/ |
H A D | windowbase.py | 141 frect = self.frameGeometry() 142 frect.moveCenter(QDesktopWidget().availableGeometry().center()) 143 self.move(frect.topLeft())
|