/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/ |
H A D | view2d.c | 140 UI_view2d_mask_from_win(v2d, &v2d->mask); in view2d_masks() 214 v2d->vert.ymin = v2d->hor.ymax; in view2d_masks() 218 v2d->vert.ymax = v2d->hor.ymin; in view2d_masks() 273 v2d->cur = v2d->tot; in UI_view2d_region_reinit() 283 v2d->minzoom = v2d->maxzoom = 1.0f; in UI_view2d_region_reinit() 299 v2d->minzoom = v2d->maxzoom = 1.0f; in UI_view2d_region_reinit() 314 v2d->minzoom = v2d->maxzoom = 1.0f; in UI_view2d_region_reinit() 321 v2d->cur = v2d->tot; in UI_view2d_region_reinit() 818 v2d->cur.xmin -= v2d->cur.xmax; in ui_view2d_curRect_validate_resize() 825 v2d->cur.xmax -= v2d->cur.xmin; in ui_view2d_curRect_validate_resize() [all …]
|
H A D | view2d_draw.c | 253 UI_view2d_view_ortho(v2d); in view2d_draw_lines_internal() 254 draw_parallel_lines(lines, &v2d->cur, &v2d->mask, color, direction); in view2d_draw_lines_internal() 258 static void view2d_draw_lines(const View2D *v2d, in view2d_draw_lines() argument 296 if (UI_view2d_scale_get_x(v2d) <= 0.0f) { in draw_horizontal_scale_indicators() 355 if (UI_view2d_scale_get_y(v2d) <= 0.0f) { in draw_vertical_scale_indicators() 450 return view2d_major_step_x__time(v2d, scene); in UI_view2d_grid_resolution_x__frames_or_seconds() 452 return view2d_major_step_x__continuous(v2d); in UI_view2d_grid_resolution_x__frames_or_seconds() 457 return view2d_major_step_y__continuous(v2d); in UI_view2d_grid_resolution_y__values() 495 UI_view2d_draw_lines_x__discrete_values(v2d); in UI_view2d_draw_lines_x__discrete_frames_or_seconds() 507 UI_view2d_draw_lines_x__values(v2d); in UI_view2d_draw_lines_x__frames_or_seconds() [all …]
|
H A D | view2d_ops.c | 119 v2d = ®ion->v2d; in view_pan_poll() 144 vpd->v2d = &vpd->region->v2d; in view_pan_init() 156 View2D *v2d = vpd->v2d; in view_pan_apply_ex() local 226 v2d = vpd->v2d; in view_pan_invoke() 802 v2d = ®ion->v2d; in view_zoom_poll() 837 View2D *v2d = ®ion->v2d; in view_zoomstep_apply_ex() local 1109 View2D *v2d = vzd->v2d; in view_zoomdrag_apply() local 1233 v2d = vzd->v2d; in view_zoomdrag_invoke() 1314 View2D *v2d = vzd->v2d; in view_zoomdrag_modal() local 1993 vsm->v2d = v2d; in scroller_activate_init() [all …]
|
/dports/games/torcs/torcs-1.3.7/src/drivers/olethros/ |
H A D | linalg.h | 28 class v2d { 31 v2d() {} in v2d() function 49 v2d rotate(const v2d &c, float arc) const; 58 inline v2d& v2d::operator=(const v2d &src) 65 inline v2d v2d::operator+(const v2d &src) const 72 inline v2d v2d::operator-(void) const 79 inline v2d v2d::operator-(const v2d &src) const 93 inline v2d v2d::operator*(const float s) const 107 inline float v2d::cosalpha(const v2d &p2, const v2d &c) const in cosalpha() 116 inline v2d v2d::rotate(const v2d &c, float arc) const in rotate() [all …]
|
/dports/games/torcs/torcs-1.3.7/src/drivers/sparkle/ |
H A D | linalg.h | 24 class v2d { 45 v2d rotate(const v2d &c, float arc) const; 54 inline v2d& v2d::operator=(const v2d &src) 61 inline v2d v2d::operator+(const v2d &src) const 68 inline v2d v2d::operator-(void) const 75 inline v2d v2d::operator-(const v2d &src) const 82 inline float v2d::operator*(const v2d &src) const 89 inline v2d v2d::operator*(const float s) const 103 inline float v2d::cosalpha(const v2d &p2, const v2d &c) const in cosalpha() 112 inline v2d v2d::rotate(const v2d &c, float arc) const in rotate() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/ |
H A D | UI_view2d.h | 90 #define IN_2D_VERT_SCROLL(v2d, co) (BLI_rcti_isect_pt_v(&v2d->vert, co)) argument 91 #define IN_2D_HORIZ_SCROLL(v2d, co) (BLI_rcti_isect_pt_v(&v2d->hor, co)) argument 93 #define IN_2D_VERT_SCROLL_RECT(v2d, rct) (BLI_rcti_isect(&v2d->vert, rct, NULL)) argument 94 #define IN_2D_HORIZ_SCROLL_RECT(v2d, rct) (BLI_rcti_isect(&v2d->hor, rct, NULL)) argument 119 void UI_view2d_curRect_validate(struct View2D *v2d); 120 void UI_view2d_curRect_reset(struct View2D *v2d); 137 void UI_view2d_view_ortho(const struct View2D *v2d); 185 void UI_view2d_scrollers_calc(struct View2D *v2d, 235 float UI_view2d_scale_get_x(const struct View2D *v2d); 236 float UI_view2d_scale_get_y(const struct View2D *v2d); [all …]
|
/dports/editors/picpas/PicPas-7940bc3/Source/ |
H A D | FramePICDiagram.pas | 504 pin.v2d := self.v2d; 884 v2d.SetPen(psSolid, 1, clRed); v2d.SetBrush(clRed); 886 v2d.SetPen(psSolid, 1, $808080); v2d.SetBrush($808080); 891 v2d.SetPen(psSolid, 1, clRed); v2d.SetBrush(clRed); 893 v2d.SetPen(psSolid, 1, $808080); v2d.SetBrush($808080); 898 v2d.SetPen(psSolid, 1, clRed); v2d.SetBrush(clRed); 900 v2d.SetPen(psSolid, 1, $808080); v2d.SetBrush($808080); 905 v2d.SetPen(psSolid, 1, clRed); v2d.SetBrush(clRed); 912 v2d.SetPen(psSolid, 1, clRed); v2d.SetBrush(clRed); 919 v2d.SetPen(psSolid, 1, clRed); v2d.SetBrush(clRed); [all …]
|
/dports/editors/picpas/PicPas-7940bc3/_libraries/ogEditGraf-2.5/ |
H A D | ogControls.pas | 102 v2d.DibVnormal(x+2, y+2,10,5); 125 v2d.DibBorBoton(x, y,15,15); 127 v2d.DibBorBoton(x, y,15,15); 128 v2d.DibCheck(x+2, y+2,10,8); 141 v2d.poligono(x+ 6, y+3, 188 v2d.DibBorBoton(x,y,15,15); 190 v2d.DibBorBoton(x,y,15,15); 191 v2d.DibCheck(x+2,y+2,10,8); 204 v2d.poligono(x+6, y+3, 298 v2d.SetBrush(clMenu); [all …]
|
/dports/editors/picpas/PicPas-7940bc3/ogeeditgraf/ |
H A D | ogControls.pas | 102 v2d.DibVnormal(x+2, y+2,10,5); 103 v2d.DibVnormal(x+2, y+12,10,-5); 119 v2d.Polygon(x+3 , y + 5, 128 v2d.DrawCheck(x+2, y+2,10,8); 141 v2d.Polygon(x+ 6, y+3, 191 v2d.DrawCheck(x+2,y+2,10,8); 204 v2d.Polygon(x+6, y+3, 298 v2d.SetBrush(clMenu); 317 v2d.SetBrush(clScrollBar); 318 v2d.Line(x,yIni,x+width,yIni); [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/screen/ |
H A D | area_query.c | 40 if (region->v2d.mask.xmin == region->v2d.mask.xmax) { in ED_region_overlap_isect_x() 43 return BLI_rctf_isect_x(®ion->v2d.tot, in ED_region_overlap_isect_x() 51 if (region->v2d.mask.ymin == region->v2d.mask.ymax) { in ED_region_overlap_isect_y() 54 return BLI_rctf_isect_y(®ion->v2d.tot, in ED_region_overlap_isect_y() 113 if (region->v2d.mask.xmin == region->v2d.mask.xmax) { in ED_region_overlap_isect_x_with_margin() 117 return ((region->v2d.tot.xmin <= UI_view2d_region_to_view_x(®ion->v2d, region_x + margin)) && in ED_region_overlap_isect_x_with_margin() 118 (region->v2d.tot.xmax >= UI_view2d_region_to_view_x(®ion->v2d, region_x - margin))); in ED_region_overlap_isect_x_with_margin() 127 if (region->v2d.mask.ymin == region->v2d.mask.ymax) { in ED_region_overlap_isect_y_with_margin() 131 return ((region->v2d.tot.ymin <= UI_view2d_region_to_view_y(®ion->v2d, region_y + margin)) && in ED_region_overlap_isect_y_with_margin() 132 (region->v2d.tot.ymax >= UI_view2d_region_to_view_y(®ion->v2d, region_y - margin))); in ED_region_overlap_isect_y_with_margin() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_clip/ |
H A D | clip_dopesheet_draw.c | 86 View2D *v2d = ®ion->v2d; in clip_draw_dopesheet_background() local 113 View2D *v2d = ®ion->v2d; in clip_draw_dopesheet_main() local 154 if (IN_RANGE(yminc, v2d->cur.ymin, v2d->cur.ymax) || in clip_draw_dopesheet_main() 155 IN_RANGE(ymaxc, v2d->cur.ymin, v2d->cur.ymax)) { in clip_draw_dopesheet_main() 299 View2D *v2d = ®ion->v2d; in clip_draw_dopesheet_channels() local 339 if (IN_RANGE(yminc, v2d->cur.ymin, v2d->cur.ymax) || in clip_draw_dopesheet_channels() 340 IN_RANGE(ymaxc, v2d->cur.ymin, v2d->cur.ymax)) { in clip_draw_dopesheet_channels() 368 if (IN_RANGE(yminc, v2d->cur.ymin, v2d->cur.ymax) || in clip_draw_dopesheet_channels() 369 IN_RANGE(ymaxc, v2d->cur.ymin, v2d->cur.ymax)) { in clip_draw_dopesheet_channels() 398 if (IN_RANGE(yminc, v2d->cur.ymin, v2d->cur.ymax) || in clip_draw_dopesheet_channels() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_action/ |
H A D | action_draw.c | 73 View2D *v2d = ®ion->v2d; in draw_channel_names() local 81 v2d->tot.ymin = -height; in draw_channel_names() 95 if (IN_RANGE(ymin, v2d->cur.ymin, v2d->cur.ymax) || in draw_channel_names() 96 IN_RANGE(ymax, v2d->cur.ymin, v2d->cur.ymax)) { in draw_channel_names() 111 if (IN_RANGE(ymin, v2d->cur.ymin, v2d->cur.ymax) || in draw_channel_names() 112 IN_RANGE(ymax, v2d->cur.ymin, v2d->cur.ymax)) { in draw_channel_names() 140 View2D *v2d = ®ion->v2d; in draw_channel_strips() local 181 if (IN_RANGE(ymin, v2d->cur.ymin, v2d->cur.ymax) || in draw_channel_strips() 182 IN_RANGE(ymax, v2d->cur.ymin, v2d->cur.ymax)) { in draw_channel_strips() 310 if (IN_RANGE(ymin, v2d->cur.ymin, v2d->cur.ymax) || in draw_channel_strips() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/g++.dg/ |
H A D | pr50763-3.C | 5 class v2d { 15 v3d(const v2d & cr2Dv) {} in v3d() 20 v2d _Min; 21 v2d _Max; 23 int cop2d(const v2d & rPnt) const; 24 v2d clp2d(const v2d & rPnt) const; 27 inline int e2d::cop2d(const v2d & rPnt) const { in cop2d() 35 inline v2d e2d::clp2d(const v2d & rPnt) const { in clp2d() 36 v2d sRet = rPnt; in clp2d() 48 long evalPoint(const v2d & crUV, v3d & rPnt) const; [all …]
|