Home
last modified time | relevance | path

Searched refs:text_bbox (Results 1 – 25 of 40) sorted by relevance

12

/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxge/win32/
H A Dfx_win32_dwrite.cpp111 HRESULT STDMETHODCALLTYPE DrawGlyphRun(const FX_RECT& text_bbox,
410 const FX_RECT& text_bbox, in DrawGlyphRun() argument
433 dib.CompositeBitmap(text_bbox.left, text_bbox.top, text_bbox.Width(), in DrawGlyphRun()
434 text_bbox.Height(), pBitmap_, text_bbox.left, in DrawGlyphRun()
435 text_bbox.top, FXDIB_BLEND_NORMAL, nullptr); in DrawGlyphRun()
442 pBitmap_->CompositeBitmap(text_bbox.left, text_bbox.top, text_bbox.Width(), in DrawGlyphRun()
443 text_bbox.Height(), &dib, text_bbox.left, in DrawGlyphRun()
444 text_bbox.top, FXDIB_BLEND_NORMAL, pClipRgn); in DrawGlyphRun()
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxge/win32/
H A Dfx_win32_dwrite.cpp113 HRESULT STDMETHODCALLTYPE DrawGlyphRun(const FX_RECT& text_bbox,
412 const FX_RECT& text_bbox, in DrawGlyphRun() argument
435 dib.CompositeBitmap(text_bbox.left, text_bbox.top, text_bbox.Width(), in DrawGlyphRun()
436 text_bbox.Height(), pBitmap_, text_bbox.left, in DrawGlyphRun()
437 text_bbox.top, FXDIB_BLEND_NORMAL, nullptr); in DrawGlyphRun()
444 pBitmap_->CompositeBitmap(text_bbox.left, text_bbox.top, text_bbox.Width(), in DrawGlyphRun()
445 text_bbox.Height(), &dib, text_bbox.left, in DrawGlyphRun()
446 text_bbox.top, FXDIB_BLEND_NORMAL, pClipRgn); in DrawGlyphRun()
/dports/math/vtk6/VTK-6.2.0/Interaction/Widgets/
H A DvtkCaptionRepresentation.cxx196 int text_bbox[4]; in AdjustCaptionBoundary() local
198 this->CaptionActor2D->GetCaption(), text_bbox)) in AdjustCaptionBoundary()
208 text_size[0] = (text_bbox[1] - text_bbox[0] + 5); in AdjustCaptionBoundary()
209 text_size[1] = (text_bbox[3] - text_bbox[2] + 5); in AdjustCaptionBoundary()
H A DvtkTextRepresentation.cxx273 int text_bbox[4]; in CheckTextBoundary() local
275 this->GetText(), text_bbox)) in CheckTextBoundary()
285 text_size[0] = (text_bbox[1] - text_bbox[0] + 1); in CheckTextBoundary()
286 text_size[1] = (text_bbox[3] - text_bbox[2] + 1); in CheckTextBoundary()
/dports/math/vtk8/VTK-8.2.0/Interaction/Widgets/
H A DvtkCaptionRepresentation.cxx203 int text_bbox[4]; in AdjustCaptionBoundary() local
205 this->CaptionActor2D->GetCaption(), text_bbox, in AdjustCaptionBoundary()
217 text_size[0] = (text_bbox[1] - text_bbox[0] + 5); in AdjustCaptionBoundary()
218 text_size[1] = (text_bbox[3] - text_bbox[2] + 5); in AdjustCaptionBoundary()
H A DvtkTextRepresentation.cxx281 int text_bbox[4]; in CheckTextBoundary() local
283 this->GetText(), text_bbox, win->GetDPI())) in CheckTextBoundary()
293 text_size[0] = (text_bbox[1] - text_bbox[0] + 1); in CheckTextBoundary()
294 text_size[1] = (text_bbox[3] - text_bbox[2] + 1); in CheckTextBoundary()
/dports/math/vtk9/VTK-9.1.0/Interaction/Widgets/
H A DvtkCaptionRepresentation.cxx196 int text_bbox[4]; in AdjustCaptionBoundary() local
198 this->CaptionActor2D->GetCaption(), text_bbox, win->GetDPI())) in AdjustCaptionBoundary()
209 text_size[0] = (text_bbox[1] - text_bbox[0] + 5); in AdjustCaptionBoundary()
210 text_size[1] = (text_bbox[3] - text_bbox[2] + 5); in AdjustCaptionBoundary()
H A DvtkTextRepresentation.cxx278 int text_bbox[4]; in CheckTextBoundary() local
280 this->TextActor->GetScaledTextProperty(), this->GetText(), text_bbox, win->GetDPI())) in CheckTextBoundary()
288 double text_size[] = { (text_bbox[1] - text_bbox[0] + 1.0), in CheckTextBoundary()
289 (text_bbox[3] - text_bbox[2] + 1.0) }; in CheckTextBoundary()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/vector/
H A Dgdevpdte.c539 *text_bbox = bbox; in process_text_estimate_bbox()
655 text_bbox.p.x = 0; in pdf_process_string()
656 text_bbox.q.x = 1000; in pdf_process_string()
662 text_bbox.p.y = 0; in pdf_process_string()
663 text_bbox.q.y = 1000; in pdf_process_string()
665 gs_point_transform(text_bbox.p.x, text_bbox.p.y, &m, &p0); in pdf_process_string()
666 gs_point_transform(text_bbox.p.x, text_bbox.q.y, &m, &p1); in pdf_process_string()
667 gs_point_transform(text_bbox.q.x, text_bbox.p.y, &m, &p2); in pdf_process_string()
668 gs_point_transform(text_bbox.q.x, text_bbox.q.y, &m, &p3); in pdf_process_string()
817 x0 = float2fixed(text_bbox.p.x); in pdf_process_string()
[all …]
H A Dgdevpdtc.c376 gs_rect *text_bbox) in estimate_fontbbox() argument
395 text_bbox->p.x = min(min(p0.x, p1.x), min(p1.x, p2.x)); in estimate_fontbbox()
396 text_bbox->p.y = min(min(p0.y, p1.y), min(p1.y, p2.y)); in estimate_fontbbox()
397 text_bbox->q.x = max(max(p0.x, p1.x), max(p1.x, p2.x)); in estimate_fontbbox()
863 gs_rect text_bbox; in scan_cmap_text() local
868 text_bbox.q.x = text_bbox.p.y = text_bbox.q.y = 0; in scan_cmap_text()
871 text_bbox.q.x = text_bbox.p.x + wxy.x; in scan_cmap_text()
873 x0 = float2fixed(text_bbox.p.x); in scan_cmap_text()
874 y0 = float2fixed(text_bbox.p.y); in scan_cmap_text()
875 bx2 = float2fixed(text_bbox.q.x) - x0; in scan_cmap_text()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/vector/
H A Dgdevpdte.c539 *text_bbox = bbox; in process_text_estimate_bbox()
655 text_bbox.p.x = 0; in pdf_process_string()
656 text_bbox.q.x = 1000; in pdf_process_string()
662 text_bbox.p.y = 0; in pdf_process_string()
663 text_bbox.q.y = 1000; in pdf_process_string()
665 gs_point_transform(text_bbox.p.x, text_bbox.p.y, &m, &p0); in pdf_process_string()
666 gs_point_transform(text_bbox.p.x, text_bbox.q.y, &m, &p1); in pdf_process_string()
667 gs_point_transform(text_bbox.q.x, text_bbox.p.y, &m, &p2); in pdf_process_string()
668 gs_point_transform(text_bbox.q.x, text_bbox.q.y, &m, &p3); in pdf_process_string()
817 x0 = float2fixed(text_bbox.p.x); in pdf_process_string()
[all …]
H A Dgdevpdtc.c376 gs_rect *text_bbox) in estimate_fontbbox() argument
395 text_bbox->p.x = min(min(p0.x, p1.x), min(p1.x, p2.x)); in estimate_fontbbox()
396 text_bbox->p.y = min(min(p0.y, p1.y), min(p1.y, p2.y)); in estimate_fontbbox()
397 text_bbox->q.x = max(max(p0.x, p1.x), max(p1.x, p2.x)); in estimate_fontbbox()
863 gs_rect text_bbox; in scan_cmap_text() local
868 text_bbox.q.x = text_bbox.p.y = text_bbox.q.y = 0; in scan_cmap_text()
871 text_bbox.q.x = text_bbox.p.x + wxy.x; in scan_cmap_text()
873 x0 = float2fixed(text_bbox.p.x); in scan_cmap_text()
874 y0 = float2fixed(text_bbox.p.y); in scan_cmap_text()
875 bx2 = float2fixed(text_bbox.q.x) - x0; in scan_cmap_text()
[all …]
/dports/graphics/gegl/gegl-0.4.34/examples/
H A Dxml-graph.py65 text_bbox = upper_graph.get_bounding_box() variable
68 x_offset = max((background_bbox.width - text_bbox.width) / 2, 0)
69 y_offset = max((background_bbox.height - text_bbox.height) / 2, 0)
/dports/math/py-matplotlib/matplotlib-3.4.3/examples/widgets/
H A Dmenu.py47 self.text_bbox = self.label.get_window_extent(
95 maxw = max(item.text_bbox.width for item in menuitems)
96 maxh = max(item.text_bbox.height for item in menuitems)
97 depth = max(-item.text_bbox.y0 for item in menuitems)
/dports/math/vtk6/VTK-6.2.0/Rendering/Core/
H A DvtkTextActor.cxx764 int text_bbox[4]; in ComputeRectangle() local
765 if (!this->GetImageBoundingBox(this->ScaledTextProperty, viewport, text_bbox)) in ComputeRectangle()
770 dims[0] = ( text_bbox[1] - text_bbox[0] + 1 ); in ComputeRectangle()
771 dims[1] = ( text_bbox[3] - text_bbox[2] + 1 ); in ComputeRectangle()
772 anchorOffset[0] = text_bbox[0]; in ComputeRectangle()
773 anchorOffset[1] = text_bbox[2]; in ComputeRectangle()
/dports/math/vtk8/VTK-8.2.0/Rendering/Core/
H A DvtkTextMapper.cxx492 int text_bbox[4]; in UpdateQuad() local
498 text_bbox, dpi)) in UpdateQuad()
506 text_bbox[0] = 0; in UpdateQuad()
507 text_bbox[2] = 0; in UpdateQuad()
512 double x = static_cast<double>(text_bbox[0]); in UpdateQuad()
513 double y = static_cast<double>(text_bbox[2]); in UpdateQuad()
H A DvtkTextActor.cxx792 int text_bbox[4]; in ComputeRectangle() local
793 if (!this->GetImageBoundingBox(this->ScaledTextProperty, viewport, text_bbox)) in ComputeRectangle()
798 dims[0] = ( text_bbox[1] - text_bbox[0] + 1 ); in ComputeRectangle()
799 dims[1] = ( text_bbox[3] - text_bbox[2] + 1 ); in ComputeRectangle()
800 anchorOffset[0] = text_bbox[0]; in ComputeRectangle()
801 anchorOffset[1] = text_bbox[2]; in ComputeRectangle()
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/
H A DvtkTextMapper.cxx467 int text_bbox[4]; in UpdateQuad() local
472 this->TextProperty, this->Input ? this->Input : std::string(), text_bbox, dpi)) in UpdateQuad()
480 text_bbox[0] = 0; in UpdateQuad()
481 text_bbox[2] = 0; in UpdateQuad()
486 double x = static_cast<double>(text_bbox[0]); in UpdateQuad()
487 double y = static_cast<double>(text_bbox[2]); in UpdateQuad()
H A DvtkTextActor.cxx772 int text_bbox[4]; in ComputeRectangle() local
773 if (!this->GetImageBoundingBox(this->ScaledTextProperty, viewport, text_bbox)) in ComputeRectangle()
778 dims[0] = (text_bbox[1] - text_bbox[0] + 1); in ComputeRectangle()
779 dims[1] = (text_bbox[3] - text_bbox[2] + 1); in ComputeRectangle()
780 anchorOffset[0] = text_bbox[0]; in ComputeRectangle()
781 anchorOffset[1] = text_bbox[2]; in ComputeRectangle()
/dports/math/vtk6/VTK-6.2.0/Rendering/FreeType/
H A DvtkFreeTypeUtilities.cxx1818 int text_bbox[4]; in PrepareImageData() local
1819 this->GetBoundingBox(tprop, str, text_bbox); in PrepareImageData()
1820 if (!this->IsBoundingBoxValid(text_bbox)) in PrepareImageData()
1830 text_size[0] = (text_bbox[1] - text_bbox[0] + 1);// + abs(text_bbox[0]); in PrepareImageData()
1831 text_size[1] = (text_bbox[3] - text_bbox[2] + 1);// + abs(text_bbox[2]); in PrepareImageData()
1871 *x = (text_bbox[0] < 0 ? -text_bbox[0] : 0); in PrepareImageData()
1872 *y = (text_bbox[2] < 0 ? -text_bbox[2] : 0); in PrepareImageData()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/symbols/
H A Dtext_symbol.cpp186 …QRectF text_bbox(line->line_x, line->line_y - line->ascent, line->width, line->ascent + line->desc… in createBaselineRenderables() local
190 …rectInclude(text_bbox, QRectF(line->line_x, line->line_y - line->ascent, line->width, line->ascent… in createBaselineRenderables()
196 path.addCoordinate(MapCoord(text_to_map.map(text_bbox.topLeft()))); in createBaselineRenderables()
197 path.addCoordinate(MapCoord(text_to_map.map(text_bbox.topRight()))); in createBaselineRenderables()
198 path.addCoordinate(MapCoord(text_to_map.map(text_bbox.bottomRight()))); in createBaselineRenderables()
199 path.addCoordinate(MapCoord(text_to_map.map(text_bbox.bottomLeft()))); in createBaselineRenderables()
/dports/math/vtk6/VTK-6.2.0/Rendering/Matplotlib/
H A DvtkMatplotlibMathTextUtilities.cxx779 double text_bbox[4]; in RenderString() local
788 this->RotateCorners(angleDeg, corners, text_bbox); in RenderString()
789 textDims[0] = std::ceil(text_bbox[1] - text_bbox[0]); in RenderString()
790 textDims[1] = std::ceil(text_bbox[3] - text_bbox[2]); in RenderString()
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/patches/
H A Dbug1402065_remove___in_and___out.patch44 HRESULT STDMETHODCALLTYPE DrawGlyphRun(const FX_RECT& text_bbox,
63 const FX_RECT& text_bbox,
/dports/math/vtk8/VTK-8.2.0/Rendering/Matplotlib/
H A DvtkMatplotlibMathTextUtilities.cxx806 double text_bbox[4]; in RenderString() local
815 this->RotateCorners(angleDeg, corners, text_bbox); in RenderString()
816 textDims[0] = std::ceil(text_bbox[1] - text_bbox[0]); in RenderString()
817 textDims[1] = std::ceil(text_bbox[3] - text_bbox[2]); in RenderString()
/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Dmenu.c3462 struct BBRec text_bbox; in RedrawMenubarWindow() local
3466 SetBBRec(&text_bbox, in RedrawMenubarWindow()
3473 &text_bbox, TRUE); in RedrawMenubarWindow()
3480 struct BBRec *text_bbox;
3571 struct BBRec text_bbox; local
3576 &text_bbox, FALSE);
3591 struct BBRec text_bbox; local
3605 &text_bbox, TRUE);
3615 struct BBRec text_bbox; local
3631 struct BBRec text_bbox; local
[all …]

12