Home
last modified time | relevance | path

Searched refs:tbounds (Results 1 – 25 of 57) sorted by relevance

123

/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/
H A Dtransform_gizmo_3d.c444 INIT_MINMAX(tbounds->min, tbounds->max); in reset_tw_center()
445 zero_v3(tbounds->center); in reset_tw_center()
456 minmax_v3v3_v3(tbounds->min, tbounds->max, co); in calc_tw_center()
457 add_v3_v3(tbounds->center, co); in calc_tw_center()
461 tbounds->axis_min[i] = min_ff(d, tbounds->axis_min[i]); in calc_tw_center()
462 tbounds->axis_max[i] = max_ff(d, tbounds->axis_max[i]); in calc_tw_center()
476 calc_tw_center(tbounds, co); in calc_tw_center_with_matrix()
682 reset_tw_center(tbounds); in ED_transform_calc_gizmo_stats()
690 mul_m3_m3m3(tbounds->axis, tbounds->axis, diff_mat); in ED_transform_calc_gizmo_stats()
691 normalize_m3(tbounds->axis); in ED_transform_calc_gizmo_stats()
[all …]
H A Dtransform_gizmo_extrude_3d.c262 struct TransformBounds tbounds; in gizmo_mesh_extrude_refresh() local
281 &tbounds)) { in gizmo_mesh_extrude_refresh()
287 copy_m3_m3(ggd->data.normal_mat3, tbounds.axis); in gizmo_mesh_extrude_refresh()
325 gizmo_mesh_extrude_orientation_matrix_set(ggd, tbounds.axis); in gizmo_mesh_extrude_refresh()
329 WM_gizmo_set_matrix_location(ggd->invoke_xyz_no[i], tbounds.center); in gizmo_mesh_extrude_refresh()
331 WM_gizmo_set_matrix_location(ggd->invoke_view, tbounds.center); in gizmo_mesh_extrude_refresh()
344 WM_gizmo_set_matrix_location(gz_adjust, tbounds.center); in gizmo_mesh_extrude_refresh()
/dports/science/py-veusz/veusz-veusz-3.3.1/veusz/widgets/
H A Dtextlabel.py166 tbounds = r.getBounds()
168 tbounds = [
169 tbounds[0]-margin, tbounds[1]-margin,
170 tbounds[2]+margin, tbounds[3]+margin ]
172 qt.QPointF(tbounds[0], tbounds[1]),
173 qt.QPointF(tbounds[2], tbounds[3]))
184 cgi = controlgraph.ControlMovableBox(self, tbounds, phelper,
/dports/graphics/aseprite/aseprite-1.2.9/src/app/ui/
H A Dfile_list_view.cpp23 gfx::Rect tbounds = fileList->thumbnailBounds(); in onScrollRegion() local
24 if (!tbounds.isEmpty()) { in onScrollRegion()
25 tbounds in onScrollRegion()
29 ev.region().createSubtraction(ev.region(), gfx::Region(tbounds)); in onScrollRegion()
H A Dfile_list.cpp463 gfx::Rect tbounds = thumbnailBounds(); in onPaint() local
464 g->blit(m_thumbnail, 0, 0, tbounds.x, tbounds.y, tbounds.w, tbounds.h); in onPaint()
465 g->drawRect(gfx::rgba(0, 0, 0), tbounds.enlarge(1)); in onPaint()
/dports/math/vtk9/VTK-9.1.0/Rendering/VR/
H A DvtkVRPanelRepresentation.cxx464 int tbounds[4]; in PlaceWidgetExtended() local
465 this->TextActor->GetBoundingBox(tbounds); in PlaceWidgetExtended()
466 int maxdim = tbounds[1] - tbounds[0]; in PlaceWidgetExtended()
467 if (tbounds[3] - tbounds[2] > maxdim) in PlaceWidgetExtended()
469 maxdim = tbounds[3] - tbounds[2]; in PlaceWidgetExtended()
518 this->TextActor->SetPosition(0.5 * (bds[0] + bds[1]) - 0.2 * (tbounds[1] - tbounds[0]) / maxdim, in PlaceWidgetExtended()
526 this->TextActor->SetPosition(-0.2 * (tbounds[1] - tbounds[0]) * scale / maxdim, in PlaceWidgetExtended()
527 -0.2 * (tbounds[3] - tbounds[2]) * scale / maxdim, -0.5 * scale); in PlaceWidgetExtended()
/dports/math/vtk8/VTK-8.2.0/Rendering/OpenVR/
H A DvtkOpenVRPanelRepresentation.cxx507 int tbounds[4]; in PlaceWidgetExtended() local
508 this->TextActor->GetBoundingBox(tbounds); in PlaceWidgetExtended()
509 int maxdim = tbounds[1] - tbounds[0]; in PlaceWidgetExtended()
510 if (tbounds[3] - tbounds[2] > maxdim) in PlaceWidgetExtended()
512 maxdim = tbounds[3] - tbounds[2]; in PlaceWidgetExtended()
566 0.5*(bds[0] + bds[1]) - 0.2*(tbounds[1] - tbounds[0])/maxdim, in PlaceWidgetExtended()
576 -0.2*(tbounds[1] - tbounds[0])*scale/maxdim, in PlaceWidgetExtended()
577 -0.2*(tbounds[3] - tbounds[2])*scale/maxdim, in PlaceWidgetExtended()
/dports/graphics/embree/embree-3.13.2/kernels/bvh/
H A Dbvh_node_aabb_mb4d.h62 __forceinline void setBounds(size_t i, const LBBox3fa& bounds, const BBox1f& tbounds) in setBounds()
64 AABBNodeMB_t<NodeRef,N>::setBounds(i, bounds.global(tbounds)); in setBounds()
65 lower_t[i] = tbounds.lower; in setBounds()
66 upper_t[i] = tbounds.upper == 1.0f ? 1.0f+float(ulp) : tbounds.upper; in setBounds()
H A Dbvh_node_aabb_mb.h48 __forceinline SetTimeRange(BBox1f tbounds) : tbounds(tbounds) {} in SetTimeRange()
58 node->setBounds(i, children[i].lbounds, tbounds); in operator()
64 BBox1f tbounds; member
105 __forceinline void setBounds(size_t i, const LBBox3fa& bounds, const BBox1f& tbounds) { in setBounds()
106 setBounds(i, bounds.global(tbounds)); in setBounds()
H A Dbvh_builder_subdiv.cpp200 …const range<int> tbounds = getTimeSegmentRange(time_range, prim_time_range, (float)prim_num_time_s… in operator ()() local
201 …return PrimRefMB (empty, lbounds, tbounds.size(), prim_time_range, prim_num_time_segments, patchIn… in operator ()()
/dports/graphics/mupdf/mupdf-1.18.0-source/scripts/
H A Dmutool_draw.py167 self.tbounds = None
502 tbounds = mupdf.Rect(mediabox, ctm)
510 …dev = mupdf.Device( state.out, tbounds.x1-tbounds.x0, tbounds.y1-tbounds.y0, mupdf.FZ_SVG_TEXT_AS_…
523 tbounds = mupdf.Rect(mediabox, ctm)
524 ibounds = tbounds.round_rect()
542 scalex = w / (tbounds.x1 - tbounds.x0)
543 scaley = h / (tbounds.y1 - tbounds.y0)
563 ibounds = tbounds.round_rect()
578 tbounds.y1 = tbounds.y0 + state.band_height + 2
585 state.workers[band].tbounds = tbounds
[all …]
/dports/x11/libX11/libX11-1.7.2/src/xkb/
H A DXKBGeom.c173 static XkbBoundsRec tbounds; in XkbComputeSectionBounds() local
182 tbounds.x1 = doodad->text.left; in XkbComputeSectionBounds()
183 tbounds.y1 = doodad->text.top; in XkbComputeSectionBounds()
184 tbounds.x2 = tbounds.x1 + doodad->text.width; in XkbComputeSectionBounds()
185 tbounds.y2 = tbounds.y1 + doodad->text.height; in XkbComputeSectionBounds()
186 rbounds = &tbounds; in XkbComputeSectionBounds()
197 tbounds.x1 = tbounds.x2 = doodad->any.left; in XkbComputeSectionBounds()
198 tbounds.y1 = tbounds.y2 = doodad->any.top; in XkbComputeSectionBounds()
199 rbounds = &tbounds; in XkbComputeSectionBounds()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/
H A Dview3d_gizmo_tool_generic.c142 struct TransformBounds tbounds; in WIDGETGROUP_tool_generic_refresh() local
148 &tbounds) == 0; in WIDGETGROUP_tool_generic_refresh()
154 copy_m4_m3(gz->matrix_basis, tbounds.axis); in WIDGETGROUP_tool_generic_refresh()
155 copy_v3_v3(gz->matrix_basis[3], tbounds.center); in WIDGETGROUP_tool_generic_refresh()
/dports/graphics/mupdf/mupdf-1.18.0-source/source/tools/
H A Dmudraw.c276 fz_rect tbounds; member
848 fz_rect tbounds; in dodrawpage() local
868 …dev = fz_new_svg_device(ctx, outs, tbounds.x1-tbounds.x0, tbounds.y1-tbounds.y0, FZ_SVG_TEXT_AS_PA… in dodrawpage()
892 fz_rect tbounds; in dodrawpage() local
906 ibounds = fz_round_rect(tbounds); in dodrawpage()
928 float scalex = w / (tbounds.x1 - tbounds.x0); in dodrawpage()
929 float scaley = h / (tbounds.y1 - tbounds.y0); in dodrawpage()
957 ibounds = fz_round_rect(tbounds); in dodrawpage()
975 tbounds.y1 = tbounds.y0 + band_height + 2; in dodrawpage()
986 workers[band].tbounds = tbounds; in dodrawpage()
[all …]
H A Dmuraster.c361 fz_rect tbounds; member
418 fz_rect tbounds; member
554 fz_run_display_list(ctx, list, dev, ctm, tbounds, cookie); in drawband()
578 fz_rect tbounds = render->tbounds; in dodrawpage() local
597 tbounds.y1 = tbounds.y0 + band_height + 2; in dodrawpage()
609 w->tbounds = tbounds; in dodrawpage()
652 status = drawband(ctx, render->page, render->list, ctm, tbounds, cookie, band_start, pix, &bit); in dodrawpage()
674 w->tbounds = tbounds; in dodrawpage()
933 render->tbounds = fz_transform_rect(render->bounds, render->ctm);; in get_page_render_details()
934 render->ibounds = fz_round_rect(render->tbounds); in get_page_render_details()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/
H A Dusrintrf.c720 tbounds = bounds; in ui_drawbox()
721 tbounds.max_y = tbounds.min_y; in ui_drawbox()
726 tbounds = bounds; in ui_drawbox()
727 tbounds.min_y = tbounds.max_y; in ui_drawbox()
732 tbounds = bounds; in ui_drawbox()
733 tbounds.max_x = tbounds.min_x; in ui_drawbox()
739 tbounds.min_x = tbounds.max_x; in ui_drawbox()
745 tbounds.min_x++; in ui_drawbox()
746 tbounds.min_y++; in ui_drawbox()
747 tbounds.max_x--; in ui_drawbox()
[all …]
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/
H A Dusrintrf.c720 tbounds = bounds; in ui_drawbox()
721 tbounds.max_y = tbounds.min_y; in ui_drawbox()
726 tbounds = bounds; in ui_drawbox()
727 tbounds.min_y = tbounds.max_y; in ui_drawbox()
732 tbounds = bounds; in ui_drawbox()
733 tbounds.max_x = tbounds.min_x; in ui_drawbox()
739 tbounds.min_x = tbounds.max_x; in ui_drawbox()
745 tbounds.min_x++; in ui_drawbox()
746 tbounds.min_y++; in ui_drawbox()
747 tbounds.max_x--; in ui_drawbox()
[all …]
/dports/graphics/embree/embree-3.13.2/kernels/builders/
H A Dbvh_builder_msmblur.h116 const range<int> tbounds = mesh->timeSegmentRange(time_range); in operator() local
117 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator()
127 const range<int> tbounds = mesh->timeSegmentRange(time_range); in operator() local
128 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator()
154 const range<int> tbounds = mesh->timeSegmentRange(time_range); in operator() local
155 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator()
164 const range<int> tbounds = mesh->timeSegmentRange(time_range); in operator() local
165 …return PrimRefMB (lbounds, tbounds.size(), mesh->time_range, mesh->numTimeSegments(), geomID, prim… in operator()
H A Dheuristic_binning_array_unaligned.h215 const range<int> tbounds = mesh->timeSegmentRange(set.time_range); in computeAlignedSpaceMB() local
216 if (tbounds.size() == 0) continue; in computeAlignedSpaceMB()
218 const size_t t = (tbounds.begin()+tbounds.end())/2; in computeAlignedSpaceMB()
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/
H A DvtkPolygon.cxx530 double s, t, p[3], p1[3], p2[3], sbounds[2], tbounds[2]; in ParameterizePolygon() local
562 tbounds[0] = 0.0; tbounds[1] = 0.0; in ParameterizePolygon()
579 tbounds[0] = (t<tbounds[0]?t:tbounds[0]); in ParameterizePolygon()
580 tbounds[1] = (t>tbounds[1]?t:tbounds[1]); in ParameterizePolygon()
587 p1[i] = p0[i] + sbounds[1]*p10[i] + tbounds[0]*p20[i]; in ParameterizePolygon()
588 p2[i] = p0[i] + sbounds[0]*p10[i] + tbounds[1]*p20[i]; in ParameterizePolygon()
589 p0[i] = p0[i] + sbounds[0]*p10[i] + tbounds[0]*p20[i]; in ParameterizePolygon()
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/
H A DvtkPolygon.cxx575 double s, t, p[3], p1[3], p2[3], sbounds[2], tbounds[2]; in ParameterizePolygon() local
612 tbounds[0] = 0.0; tbounds[1] = 0.0; in ParameterizePolygon()
625 tbounds[0] = (t<tbounds[0]?t:tbounds[0]); in ParameterizePolygon()
626 tbounds[1] = (t>tbounds[1]?t:tbounds[1]); in ParameterizePolygon()
633 p1[i] = p0[i] + sbounds[1]*p10[i] + tbounds[0]*p20[i]; in ParameterizePolygon()
634 p2[i] = p0[i] + sbounds[0]*p10[i] + tbounds[1]*p20[i]; in ParameterizePolygon()
635 p0[i] = p0[i] + sbounds[0]*p10[i] + tbounds[0]*p20[i]; in ParameterizePolygon()
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/
H A DvtkPolygon.cxx584 double s, t, p[3], p1[3], p2[3], sbounds[2], tbounds[2]; in ParameterizePolygon() local
621 tbounds[0] = 0.0; in ParameterizePolygon()
622 tbounds[1] = 0.0; in ParameterizePolygon()
635 tbounds[0] = (t < tbounds[0] ? t : tbounds[0]); in ParameterizePolygon()
636 tbounds[1] = (t > tbounds[1] ? t : tbounds[1]); in ParameterizePolygon()
643 p1[i] = p0[i] + sbounds[1] * p10[i] + tbounds[0] * p20[i]; in ParameterizePolygon()
644 p2[i] = p0[i] + sbounds[0] * p10[i] + tbounds[1] * p20[i]; in ParameterizePolygon()
645 p0[i] = p0[i] + sbounds[0] * p10[i] + tbounds[0] * p20[i]; in ParameterizePolygon()
/dports/graphics/embree/embree-3.13.2/kernels/common/
H A Dscene_curves.cpp439 const range<int> tbounds = this->timeSegmentRange(time_range); in computeAlignedSpaceMB() local
440 if (tbounds.size() == 0) return frame(axisz); in computeAlignedSpaceMB()
442 const size_t t = (tbounds.begin()+tbounds.end())/2; in computeAlignedSpaceMB()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/
H A DED_transform.h214 struct TransformBounds *tbounds);
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/widgets/
H A DSpotGraph.py320 tbounds = (x_loc - hpadding, y_loc - vpadding, width + hpadding * 2 + 1,
322 return self.join(bounds, tbounds)

123