Home
last modified time | relevance | path

Searched refs:winy (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/
H A Duvproject.c113 target[1] = winy / 2.0f + (winy / 2.0f) * pv4[1] / pv4[3]; in BLI_uvproject_from_view()
118 target[1] = winy / 2.0f + (winy / 2.0f) * pv4[1]; in BLI_uvproject_from_view()
122 if (winx > winy) { in BLI_uvproject_from_view()
123 y = (winx - winy) / 2.0f; in BLI_uvproject_from_view()
124 winy = winx; in BLI_uvproject_from_view()
127 x = (winy - winx) / 2.0f; in BLI_uvproject_from_view()
128 winx = winy; in BLI_uvproject_from_view()
132 target[1] = (y + target[1]) / winy; in BLI_uvproject_from_view()
165 if (winx > winy) { in BLI_uvproject_camera_info()
167 uci.yasp = winx / winy; in BLI_uvproject_camera_info()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/
H A Dannotate_draw.c257 const float y = (float)((pt[1] * winy) + offsy); in annotation_calc_2d_stroke_fxy()
280 int winy, in annotation_draw_stroke_point() argument
409 int winy, in annotation_draw_stroke_2d() argument
541 int winy, in annotation_draw_strokes() argument
760 int winy, in annotation_draw_data_all() argument
818 sizey = region->winy; in ED_annotation_draw_2dimage()
832 sizey = region->winy; in ED_annotation_draw_2dimage()
844 sizey = region->winy; in ED_annotation_draw_2dimage()
911 int offsx, offsy, winx, winy; in ED_annotation_draw_view3d() local
930 winy = round_fl_to_int(rectf.ymax - rectf.ymin); in ED_annotation_draw_view3d()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/win32/
H A Dhardware.cpp225 winy = cy - (winh = rect.bottom - rect.top) / 2; in GetCenteredPos()
240 if (winy + winh > scrheight) in KeepWindowOnScreen()
242 winy = scrheight - winh; in KeepWindowOnScreen()
244 if (winy < 0) in KeepWindowOnScreen()
246 winy = 0; in KeepWindowOnScreen()
268 int winx, winy, winw, winh, scrwidth, scrheight; in I_SaveWindowedPos() local
276 if (win_y < 0 && winy == wrect.top) in I_SaveWindowedPos()
289 int winx, winy, winw, winh, scrwidth, scrheight; in I_RestoreWindowedPos() local
296 winx = winy = 0; in I_RestoreWindowedPos()
306 winy = win_y; in I_RestoreWindowedPos()
[all …]
/dports/misc/visp/visp-3.4.0/modules/gui/src/display/windows/
H A DvpDisplayGDI.cpp65 vpDisplayGDI::vpDisplayGDI(int winx, int winy, const std::string &title) : vpDisplayWin32(new vpGDI… in vpDisplayGDI() argument
68 m_windowYPosition = winy; in vpDisplayGDI()
126 vpDisplayGDI::vpDisplayGDI(vpImage<vpRGBa> &I, int winx, int winy, const std::string &title, vpScal… in vpDisplayGDI() argument
130 init(I, winx, winy, title); in vpDisplayGDI()
183 vpDisplayGDI::vpDisplayGDI(vpImage<unsigned char> &I, int winx, int winy, const std::string &title, in vpDisplayGDI() argument
188 init(I, winx, winy, title); in vpDisplayGDI()
H A DvpDisplayD3D.cpp63 vpDisplayD3D::vpDisplayD3D(int winx, int winy, const std::string &title) : vpDisplayWin32(new vpD3D… in vpDisplayD3D() argument
66 m_windowYPosition = winy; in vpDisplayD3D()
126 vpDisplayD3D::vpDisplayD3D(vpImage<vpRGBa> &I, int winx, int winy, const std::string &title, vpScal… in vpDisplayD3D() argument
130 init(I, winx, winy, title); in vpDisplayD3D()
183 vpDisplayD3D::vpDisplayD3D(vpImage<unsigned char> &I, int winx, int winy, const std::string &title, in vpDisplayD3D() argument
188 init(I, winx, winy, title); in vpDisplayD3D()
/dports/x11/workrave/workrave-1.10.44/frontend/gtkmm/src/
H A DPreludeWindow.cc349 int winx, winy; in set_stage() local
413 int winx, winy; in on_avoid_pointer_timer_event() local
415 get_position(winx, winy); in on_avoid_pointer_timer_event()
425 if (px >= winx && px < winx+width && py >= winy && py < winy+height) in on_avoid_pointer_timer_event()
461 int winx, winy, width, height; in avoid_pointer() local
466 winy = a.get_y(); in avoid_pointer()
483 if (winy > screen_height / 2) in avoid_pointer()
485 winy = top_y; in avoid_pointer()
489 winy = bottom_y; in avoid_pointer()
495 if (winy == bottom_y) in avoid_pointer()
[all …]
/dports/audio/mikmod/mikmod-3.2.8/src/
H A Ddosvideo.inc44 memset (screen.changed, 1, winx*winy);
45 memset (screen.attrs, screen.act_attr, winx*winy);
46 memset (screen.text, ' ', winx*winy);
59 if (y<0 || y>=winy) return;
106 for (y=0; y<winy; y++) {
132 screen.changed = (char *) malloc(winx*winy);
133 screen.attrs = (char *) malloc(winx*winy);
134 screen.text = (char *) malloc(winx*winy);
150 winy = screen_info.screenheight;
152 gettext(1, 1, winx , winy , screen_contents);
[all …]
H A Dwinvideo.inc66 oldy = winy;
115 winy = screen.maxy-screen.miny+1;
120 for (y=0; y<oldy && y<winy; y++) {
127 for (y=oldy; y<winy; y++) {
140 memset (screen.changed, 1, winx*winy);
141 for (i=0; i<winx*winy; i++) {
157 if (y<0 || y>=winy) return;
233 for (y=0; y<winy; y++) {
286 gotoxy (winx-1,winy-1);
305 gotoxy (0, winy-2);
[all …]
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/
H A Drawimagesource.hh61 void CA_correct_RT(int winx, int winy, int winw, int winh,
64 void CA_correct_RT_old(int winx, int winy, int winw, int winh,
67 …void amaze_demosaic_RT(int winx, int winy, int winw, int winh, int tilex, int tiley, int tilew, in…
68 void igv_demosaic_RT(int winx, int winy, int winw, int winh,
70 void lmmse_demosaic_RT(int winx, int winy, int winw, int winh,
73 void rcd_demosaic_RT(int winx, int winy, int winw, int winh,
75 void xtrans_demosaic_RT(int winx, int winy, int winw, int winh,
/dports/misc/visp/visp-3.4.0/modules/gui/include/visp3/gui/
H A DvpDisplayX.h190 vpDisplayX(int winx, int winy, const std::string &title = "");
192 vpDisplayX(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title = "",
195 vpDisplayX(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "",
206 void init(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title = "");
207 void init(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "");
208 …void init(unsigned int width, unsigned int height, int winx = -1, int winy = -1, const std::string…
261 void setWindowPosition(int winx, int winy);
H A DvpDisplayOpenCV.h220 vpDisplayOpenCV(int winx, int winy, const std::string &title = "");
222 …vpDisplayOpenCV(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title …
225 vpDisplayOpenCV(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "",
235 void init(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title = "");
236 void init(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "");
237 …void init(unsigned int width, unsigned int height, int winx = -1, int winy = -1, const std::string…
242 void setWindowPosition(int winx, int winy);
H A DvpDisplayWin32.h123 vpDisplayWin32(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "");
125 …vpDisplayWin32(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title =…
147 void init(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title = "");
148 void init(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "");
149 …void init(unsigned int width, unsigned int height, int winx = -1, int winy = -1, const std::string…
159 void setWindowPosition(int winx, int winy);
H A DvpDisplayD3D.h110 vpDisplayD3D(int winx, int winy, const std::string &title = "");
112 …vpDisplayD3D(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title = "…
115 vpDisplayD3D(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "",
H A DvpDisplayGDI.h132 vpDisplayGDI(int winx, int winy, const std::string &title = "");
134 …vpDisplayGDI(vpImage<unsigned char> &I, int winx = -1, int winy = -1, const std::string &title = "…
137 vpDisplayGDI(vpImage<vpRGBa> &I, int winx = -1, int winy = -1, const std::string &title = "",
/dports/x11-toolkits/pangolin/Pangolin-0.6/include/pangolin/gl/
H A Dglpangoglu.h44 float* winx, float* winy, float* winz
51 float winx, float winy, float winz,
65 double* winx, double* winy, double* winz
72 double winx, double winy, double winz,
/dports/games/xjig/xjig-2.4/
H A Dobjects.C443 winy = YPix(winpos.Y())-offy; in PositionChanged()
675 y -= winy; in IsInside()
748 || (y>winy+sheight) || (winy>y+h) ) return 0; in Intersects()
753 if ((x>=winx)&&(x<winx+swidth)&&(y>=winy)&&(y<winy+sheight)) { in IsInside()
931 y1 = winy; in StoreExtent()
938 if (winy<*yy1) *yy1 = winy; in JoinExtent()
940 if (winy+sheight>*yy2) *yy2 = winy+sheight; in JoinExtent()
946 *yy1 = winy; in GetExtent()
948 *yy2 = winy+sheight; in GetExtent()
955 if (winy<y1) y1=winy; in JoinExtent()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/jogamp/opengl/
H A DProjectFloat.java345 public boolean gluUnProject(final float winx, final float winy, final float winz, in gluUnProject() argument
350 return FloatUtil.mapWinToObjCoords(winx, winy, winz, in gluUnProject()
374 public boolean gluUnProject(final float winx, final float winy, final float winz, in gluUnProject() argument
388 mat4Tmp2[1] = winy; in gluUnProject()
432 public boolean gluUnProject(final float winx, final float winy, final float winz, in gluUnProject() argument
449 mat4Tmp2[1] = winy; in gluUnProject()
502 …public boolean gluUnProject4(final float winx, final float winy, final float winz, final float cli… in gluUnProject4() argument
508 return FloatUtil.mapWinToObjCoords(winx, winy, winz, clipw, in gluUnProject4()
534 …public boolean gluUnProject4(final float winx, final float winy, final float winz, final float cli… in gluUnProject4() argument
546 mat4Tmp2[1] = winy; in gluUnProject4()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/
H A Dview3d_project.c65 r_co[1] = (float)(region->winy / 2.0f) + (region->winy / 2.0f) * vec4[1] / vec4[3]; in ED_view3d_project_float_v2_m4()
90 r_co[1] = (float)(region->winy / 2.0f) + (region->winy / 2.0f) * vec4[1] / vec4[3]; in ED_view3d_project_float_v3_m4()
148 const float fy = ((float)region->winy / 2.0f) * (1.0f + (vec4[1] * scalar)); in ed_view3d_project__internal()
570 float dy = (2.0f * mval[1] / (float)region->winy) - 1.0f; in ED_view3d_win_to_3d()
577 const float aspx = region->winx / (float)region->winy; in ED_view3d_win_to_3d()
578 const float aspy = region->winy / (float)region->winx; in ED_view3d_win_to_3d()
652 dy = 2.0f * mval[1] * zfac / region->winy; in ED_view3d_win_to_delta()
677 out[1] = 2.0f * mval[1] / region->winy - 1.0f; in ED_view3d_win_to_origin()
709 out[1] = 2.0f * (mval[1] / region->winy) - 1.0f; in ED_view3d_win_to_vector()
781 const int viewport[4] = {0, 0, region->winx, region->winy}; in ED_view3d_project()
[all …]
/dports/x11-wm/jwm/jwm-2.3.7/src/
H A Dcursor.c61 int winx, winy; in StartupCursors() local
70 &mousex, &mousey, &winx, &winy, &mask); in StartupCursors()
220 int winx, winy; in MoveMouse() local
224 &mousex, &mousey, &winx, &winy, &mask); in MoveMouse()
247 int winx, winy; in GetMouseMask() local
250 &mousex, &mousey, &winx, &winy, &mask); in GetMouseMask()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface_region_hud.c195 CLAMP_MAX(winy_new, region->winy); in hud_region_layout()
199 region->winy = winy_new; in hud_region_layout()
202 region->winrct.ymax = (region->winrct.ymin + region->winy) - 1; in hud_region_layout()
204 UI_view2d_region_reinit(v2d, V2D_COMMONVIEW_LIST, region->winx, region->winy); in hud_region_layout()
227 .ymax = region->winy, in hud_region_draw()
375 .ymax = region->winy, in ED_area_type_hud_ensure()
390 region->winy = region->v2d.winy; in ED_area_type_hud_ensure()
393 .ymax = region->winy, in ED_area_type_hud_ensure()
/dports/math/qtiplot-doc/qtiplot-0.9.8.9/3rdparty/qwtplot3d/include/
H A Dqwt3d_openglhelper.h97 inline bool ViewPort2World(double& objx, double& objy, double& objz, double winx, double winy, doub… in ViewPort2World() argument
104 int res = gluUnProject(winx, winy, winz, modelMatrix, projMatrix, viewport, &objx, &objy, &objz); in ViewPort2World()
113 inline bool World2ViewPort(double& winx, double& winy, double& winz, double objx, double objy, doub… in World2ViewPort() argument
120 int res = gluProject(objx, objy, objz, modelMatrix, projMatrix, viewport, &winx, &winy, &winz); in World2ViewPort()
/dports/math/qwtplot3d/qwtplot3d-438c855d/include/
H A Dqwt3d_openglhelper.h95 inline bool ViewPort2World(double &objx, double &objy, double &objz, double winx, double winy, in ViewPort2World() argument
104 gluUnProject(winx, winy, winz, modelMatrix, projMatrix, viewport, &objx, &objy, &objz); in ViewPort2World()
113 inline bool World2ViewPort(double &winx, double &winy, double &winz, double objx, double objy, in World2ViewPort() argument
121 int res = gluProject(objx, objy, objz, modelMatrix, projMatrix, viewport, &winx, &winy, &winz); in World2ViewPort()
/dports/x11-toolkits/pangolin/Pangolin-0.6/src/gl/
H A Dglpangoglu.cpp109 float* winx, float* winy, float* winz) in glProject() argument
136 *winy=t1[1]; in glProject()
144 float winx, float winy, float winz, in glUnProject() argument
159 float in[4] = {winx, winy, winz, 1.0f}; in glUnProject()
194 double* winx, double* winy, double* winz) in glProject() argument
221 *winy=t1[1]; in glProject()
229 double winx, double winy, double winz, in glUnProject() argument
244 double in[4] = {winx, winy, winz, 1.0f}; in glUnProject()
/dports/x11/workrave/workrave-1.10.44/frontend/applets/win32/src/
H A DTimeBar.cpp147 int winx = rc.left, winy = rc.top, winw = rc.right-rc.left, winh = rc.bottom-rc.top; in on_paint() local
152 TRACE_MSG("1" << winx << " " << winy << " " << winw << " " << winh); in on_paint()
193 r.top = winy+ border_size ; in on_paint()
201 r.top = winy+ border_size ; in on_paint()
212 r.top = winy+ border_size ; in on_paint()
218 r.top = winy + border_size ; in on_paint()
228 r.top = winy + border_size; in on_paint()
236 r.top = winy + border_size; in on_paint()
242 r.top = winy; in on_paint()
/dports/science/teem/teem-1.11.0-src/src/bin/
H A Dpuller.c1267 int winy = 10; in main() local
1311 winy += incy; in main()
1320 winy += incy; in main()
1331 winy += incy; in main()
1345 winy += incy; in main()
1353 winy += incy; in main()
1366 winy += incy; in main()
1375 winy += incy; in main()
1386 winy += incy; in main()
1399 winy += incy; in main()
[all …]

12345678910>>...24