Home
last modified time | relevance | path

Searched refs:new_box (Results 1 – 25 of 180) sorted by relevance

12345678

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxge/
H A Dcfx_cliprgn.cpp70 FX_RECT new_box = m_Box; in IntersectMaskF() local
71 new_box.Intersect(mask_box); in IntersectMaskF()
72 if (new_box.IsEmpty()) { in IntersectMaskF()
75 m_Box = new_box; in IntersectMaskF()
79 new_dib->Create(new_box.Width(), new_box.Height(), FXDIB_8bppMask); in IntersectMaskF()
80 for (int row = new_box.top; row < new_box.bottom; row++) { in IntersectMaskF()
85 new_dib->GetBuffer() + (row - new_box.top) * new_dib->GetPitch(); in IntersectMaskF()
86 for (int col = new_box.left; col < new_box.right; col++) { in IntersectMaskF()
87 new_scan[col - new_box.left] = in IntersectMaskF()
91 m_Box = new_box; in IntersectMaskF()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxge/
H A Dcfx_cliprgn.cpp70 FX_RECT new_box = m_Box; in IntersectMaskF() local
71 new_box.Intersect(mask_box); in IntersectMaskF()
72 if (new_box.IsEmpty()) { in IntersectMaskF()
75 m_Box = new_box; in IntersectMaskF()
79 new_dib->Create(new_box.Width(), new_box.Height(), FXDIB_Format::k8bppMask); in IntersectMaskF()
80 for (int row = new_box.top; row < new_box.bottom; row++) { in IntersectMaskF()
85 new_dib->GetBuffer() + (row - new_box.top) * new_dib->GetPitch(); in IntersectMaskF()
86 for (int col = new_box.left; col < new_box.right; col++) { in IntersectMaskF()
87 new_scan[col - new_box.left] = in IntersectMaskF()
91 m_Box = new_box; in IntersectMaskF()
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxge/ge/
H A Dcfx_cliprgn.cpp74 FX_RECT new_box = m_Box; in IntersectMaskF() local
75 new_box.Intersect(mask_box); in IntersectMaskF()
76 if (new_box.IsEmpty()) { in IntersectMaskF()
79 m_Box = new_box; in IntersectMaskF()
84 new_dib->Create(new_box.Width(), new_box.Height(), FXDIB_8bppMask); in IntersectMaskF()
86 for (int row = new_box.top; row < new_box.bottom; row++) { in IntersectMaskF()
92 new_dib->GetBuffer() + (row - new_box.top) * new_dib->GetPitch(); in IntersectMaskF()
93 for (int col = new_box.left; col < new_box.right; col++) { in IntersectMaskF()
94 new_scan[col - new_box.left] = in IntersectMaskF()
98 m_Box = new_box; in IntersectMaskF()
/dports/print/py-weasyprint/WeasyPrint-51/weasyprint/layout/
H A Dblocks.py110 new_box = result[0]
112 new_box.margin_bottom + new_box.padding_bottom +
131 if new_box and new_box.is_table_wrapper:
136 new_box.translate(
137 position_x - new_box.position_x, position_y - new_box.position_y)
652 new_box.height = position_y - new_box.content_box_y()
660 relative_positioning(child, (new_box.width, new_box.height))
668 new_box.height = max(
669 min(new_box.height, new_box.max_height),
674 new_box.height = (
[all …]
H A Dabsolute.py25 def set_laid_out_box(self, new_box): argument
26 object.__setattr__(self, '_box', new_box)
218 translate_x -= new_box.width
220 translate_y -= new_box.height
224 return new_box
248 new_box, _, _, _, _ = flex_layout(
257 translate_x -= new_box.width
259 translate_y -= new_box.height
263 return new_box
298 new_box = absolute_flex(
[all …]
H A Dinlines.py243 assert new_box is not None
246 box.width = new_box.width
614 new_box = atomic_box(
617 new_box.position_x = position_x
924 new_box = box.copy_with_children(
933 new_box.width = (
936 new_box.position_x)
938 new_box.width = 0
947 for child in new_box.children:
957 new_box.margin_top = (half_leading - new_box.border_top_width -
[all …]
/dports/games/d2x/d2x-0.2.5/main/
H A Dcredits.c373 box *new_box;
378 new_box = &dirty_box[j];
384 if(new_box->width != 0)
386 gr_bm_bitblt( new_box->width + 1, new_box->height +4,
387 new_box->left, new_box->top, new_box->left, new_box->top,
400 new_box = &dirty_box[j];
405 ,new_box->height+2
406 ,new_box->left
407 ,new_box->top
408 ,new_box->left
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/
H A Dvpgl_lens_warp_mapper.h36 vgl_box_2d<BoxT> new_box; variable
39 new_box.add(vgl_point_2d<BoxT>( BoxT(p1.x()), BoxT(p1.y()) ));
41 new_box.add(vgl_point_2d<BoxT>( BoxT(p2.x()), BoxT(p2.y()) ));
45 new_box.add(vgl_point_2d<BoxT>( BoxT(p1.x()), BoxT(p1.y()) ));
49 return new_box;
61 vgl_box_2d<BoxT> new_box; variable
74 return new_box;
86 vgl_box_2d<BoxT> new_box; variable
99 return new_box;
113 vgl_box_2d<BoxT> new_box; variable
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/imap/
H A Dcmd-rename.c10 struct mailbox *old_box, *new_box; in cmd_rename() local
39 new_box = mailbox_alloc(new_ns->list, newname, 0); in cmd_rename()
41 mailbox_set_reason(new_box, "RENAME to"); in cmd_rename()
43 event_add_str(cmd->event, "new_mailbox", mailbox_get_vname(new_box)); in cmd_rename()
44 if (mailbox_rename(old_box, new_box) < 0) in cmd_rename()
49 mailbox_free(&new_box); in cmd_rename()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgxcpath.c566 gs_fixed_rect old_box, new_box; in gx_cpath_intersect_with_params() local
593 new_box.q = new_box.p; in gx_cpath_intersect_with_params()
611 new_box.p.x = int2fixed(fixed2int_pixround(new_box.p.x - adjust_xl)); in gx_cpath_intersect_with_params()
612 new_box.p.y = int2fixed(fixed2int_pixround(new_box.p.y - adjust_yl)); in gx_cpath_intersect_with_params()
613 new_box.q.x = int2fixed(fixed2int_pixround(new_box.q.x + adjust_xu)); in gx_cpath_intersect_with_params()
614 new_box.q.y = int2fixed(fixed2int_pixround(new_box.q.y + adjust_yu)); in gx_cpath_intersect_with_params()
626 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect_with_params()
627 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect_with_params()
637 ppath->bbox = new_box; in gx_cpath_intersect_with_params()
651 new_box.p.x, new_box.p.y, in gx_cpath_intersect_with_params()
[all …]
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgxcpath.c566 gs_fixed_rect old_box, new_box; in gx_cpath_intersect_with_params() local
593 new_box.q = new_box.p; in gx_cpath_intersect_with_params()
611 new_box.p.x = int2fixed(fixed2int_pixround(new_box.p.x - adjust_xl)); in gx_cpath_intersect_with_params()
612 new_box.p.y = int2fixed(fixed2int_pixround(new_box.p.y - adjust_yl)); in gx_cpath_intersect_with_params()
613 new_box.q.x = int2fixed(fixed2int_pixround(new_box.q.x + adjust_xu)); in gx_cpath_intersect_with_params()
614 new_box.q.y = int2fixed(fixed2int_pixround(new_box.q.y + adjust_yu)); in gx_cpath_intersect_with_params()
626 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect_with_params()
627 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect_with_params()
637 ppath->bbox = new_box; in gx_cpath_intersect_with_params()
651 new_box.p.x, new_box.p.y, in gx_cpath_intersect_with_params()
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgxcpath.c597 gs_fixed_rect old_box, new_box; in gx_cpath_intersect_with_params() local
624 new_box.q = new_box.p; in gx_cpath_intersect_with_params()
642 new_box.p.x = int2fixed(fixed2int_pixround(new_box.p.x - adjust_xl)); in gx_cpath_intersect_with_params()
643 new_box.p.y = int2fixed(fixed2int_pixround(new_box.p.y - adjust_yl)); in gx_cpath_intersect_with_params()
644 new_box.q.x = int2fixed(fixed2int_pixround(new_box.q.x + adjust_xu)); in gx_cpath_intersect_with_params()
645 new_box.q.y = int2fixed(fixed2int_pixround(new_box.q.y + adjust_yu)); in gx_cpath_intersect_with_params()
657 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect_with_params()
658 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect_with_params()
668 ppath->bbox = new_box; in gx_cpath_intersect_with_params()
682 new_box.p.x, new_box.p.y, in gx_cpath_intersect_with_params()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgxcpath.c597 gs_fixed_rect old_box, new_box; in gx_cpath_intersect_with_params() local
624 new_box.q = new_box.p; in gx_cpath_intersect_with_params()
642 new_box.p.x = int2fixed(fixed2int_pixround(new_box.p.x - adjust_xl)); in gx_cpath_intersect_with_params()
643 new_box.p.y = int2fixed(fixed2int_pixround(new_box.p.y - adjust_yl)); in gx_cpath_intersect_with_params()
644 new_box.q.x = int2fixed(fixed2int_pixround(new_box.q.x + adjust_xu)); in gx_cpath_intersect_with_params()
645 new_box.q.y = int2fixed(fixed2int_pixround(new_box.q.y + adjust_yu)); in gx_cpath_intersect_with_params()
657 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect_with_params()
658 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect_with_params()
668 ppath->bbox = new_box; in gx_cpath_intersect_with_params()
682 new_box.p.x, new_box.p.y, in gx_cpath_intersect_with_params()
[all …]
/dports/science/hypre/hypre-2.23.0/src/struct_ls/
H A Dcoarsen.c118 hypre_Box *new_box; in hypre_StructCoarsen() local
265 new_box = hypre_BoxCreate(ndim); in hypre_StructCoarsen()
281 hypre_BoxSetExtents(new_box, ilower, iupper); in hypre_StructCoarsen()
282 hypre_StructCoarsenBox(new_box, index, stride); in hypre_StructCoarsen()
294 if (hypre_BoxVolume(new_box)) in hypre_StructCoarsen()
297 hypre_BoxManAddEntry( cboxman, hypre_BoxIMin(new_box) , in hypre_StructCoarsen()
298 hypre_BoxIMax(new_box), proc, num, in hypre_StructCoarsen()
307 hypre_BoxManAddEntry( cboxman, hypre_BoxIMin(new_box) , in hypre_StructCoarsen()
308 hypre_BoxIMax(new_box), proc, id, in hypre_StructCoarsen()
334 hypre_BoxDestroy(new_box); in hypre_StructCoarsen()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgxcpath.c494 gs_fixed_rect old_box, new_box; in gx_cpath_intersect() local
521 new_box.q = new_box.p; in gx_cpath_intersect()
525 if (old_box.p.x > new_box.p.x) in gx_cpath_intersect()
527 if (old_box.p.y > new_box.p.y) in gx_cpath_intersect()
529 if (old_box.q.x < new_box.q.x) in gx_cpath_intersect()
531 if (old_box.q.y < new_box.q.y) in gx_cpath_intersect()
534 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect()
535 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect()
543 ppath->bbox = new_box; in gx_cpath_intersect()
556 new_box.p.x, new_box.p.y, in gx_cpath_intersect()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgxcpath.c494 gs_fixed_rect old_box, new_box; in gx_cpath_intersect() local
521 new_box.q = new_box.p; in gx_cpath_intersect()
525 if (old_box.p.x > new_box.p.x) in gx_cpath_intersect()
527 if (old_box.p.y > new_box.p.y) in gx_cpath_intersect()
529 if (old_box.q.x < new_box.q.x) in gx_cpath_intersect()
531 if (old_box.q.y < new_box.q.y) in gx_cpath_intersect()
534 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect()
535 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect()
543 ppath->bbox = new_box; in gx_cpath_intersect()
556 new_box.p.x, new_box.p.y, in gx_cpath_intersect()
[all …]
/dports/www/netsurf/netsurf-3.10/content/handlers/html/
H A Dbox_manipulate.c181 void box_insert_sibling(struct box *box, struct box *new_box) in box_insert_sibling() argument
183 new_box->parent = box->parent; in box_insert_sibling()
184 new_box->prev = box; in box_insert_sibling()
185 new_box->next = box->next; in box_insert_sibling()
186 box->next = new_box; in box_insert_sibling()
187 if (new_box->next) in box_insert_sibling()
188 new_box->next->prev = new_box; in box_insert_sibling()
189 else if (new_box->parent) in box_insert_sibling()
190 new_box->parent->last = new_box; in box_insert_sibling()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgxcpath.c629 gs_fixed_rect old_box, new_box; in gx_cpath_intersect_with_params() local
659 new_box.q = new_box.p; in gx_cpath_intersect_with_params()
674 new_box.p.x = int2fixed(fixed2int_pixround(new_box.p.x - adjust_xl)); in gx_cpath_intersect_with_params()
675 new_box.p.y = int2fixed(fixed2int_pixround(new_box.p.y - adjust_yl)); in gx_cpath_intersect_with_params()
676 new_box.q.x = int2fixed(fixed2int_pixround(new_box.q.x + adjust_xu)); in gx_cpath_intersect_with_params()
677 new_box.q.y = int2fixed(fixed2int_pixround(new_box.q.y + adjust_yu)); in gx_cpath_intersect_with_params()
689 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect_with_params()
690 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect_with_params()
700 ppath->bbox = new_box; in gx_cpath_intersect_with_params()
714 new_box.p.x, new_box.p.y, in gx_cpath_intersect_with_params()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgxcpath.c629 gs_fixed_rect old_box, new_box; in gx_cpath_intersect_with_params() local
659 new_box.q = new_box.p; in gx_cpath_intersect_with_params()
674 new_box.p.x = int2fixed(fixed2int_pixround(new_box.p.x - adjust_xl)); in gx_cpath_intersect_with_params()
675 new_box.p.y = int2fixed(fixed2int_pixround(new_box.p.y - adjust_yl)); in gx_cpath_intersect_with_params()
676 new_box.q.x = int2fixed(fixed2int_pixround(new_box.q.x + adjust_xu)); in gx_cpath_intersect_with_params()
677 new_box.q.y = int2fixed(fixed2int_pixround(new_box.q.y + adjust_yu)); in gx_cpath_intersect_with_params()
689 if (new_box.q.x < new_box.p.x || new_box.q.y < new_box.p.y) in gx_cpath_intersect_with_params()
690 new_box.p = new_box.q, changed = 1; in gx_cpath_intersect_with_params()
700 ppath->bbox = new_box; in gx_cpath_intersect_with_params()
714 new_box.p.x, new_box.p.y, in gx_cpath_intersect_with_params()
[all …]
/dports/devel/R-cran-rlang/rlang/man/
H A Dbox.Rd5 \alias{new_box}
10 new_box(.x, class = NULL, ...)
17 \item{class}{For \code{new_box()}, an additional class for the
28 \code{new_box()} is similar to \code{\link[base:AsIs]{base::I()}} but it protects a value by
36 boxed <- new_box(letters, "mybox")
49 boxed_boxed <- new_box(boxed, "mybox")
/dports/graphics/asciio/App-Asciio-1.51.3/documentation/scripting/
H A Dobjects.pl20 my $new_box = new App::Asciio::stripes::editable_box2
27 $asciio->add_element_at($new_box, 0, 0) ;
45 $new_box->set_text('title', "line 1\nline 2") ;
51 for ($new_box, $new_process, $new_stripe)
H A Dconnected_boxes.pl23 my $box1 = new_box(TEXT_ONLY =>'box1') ;
26 my $box2 = new_box(TEXT_ONLY =>'box2') ;
29 my $box3 = new_box(TEXT_ONLY =>'box3') ;
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/src/widgets/
H A Dmap_view.cpp2335 QRect new_box = update_box( in update_boxes() local
2384 new_box = apply_constraints(index, resize_mode, horizontal_preferred, new_box); in update_box()
2386 return new_box; in update_box()
2480 QRect new_box = old_box; in get_box_from_expansion_and_translation() local
2487 new_box.setWidth(width); in get_box_from_expansion_and_translation()
2498 new_box.setWidth(width); in get_box_from_expansion_and_translation()
2535 return new_box; in get_box_from_expansion_and_translation()
2558 QRect new_box = box; in apply_constraints() local
2659 if (new_box.width() != new_box.height()) { in apply_constraints()
2660 int max = qMax(new_box.width(), new_box.height()); in apply_constraints()
[all …]
/dports/audio/xmixer/xmixer/Xw/
H A DBox.c265 XwBoxWidget new_box = (XwBoxWidget) tnew;
268 __FILE__, new_box->core.name, new_box->composite.num_children);
270 new_box->box.pref_width = new_box->box.margin;
271 new_box->box.pref_height= new_box->box.margin;
272 if (new_box->core.width == 0)
273 new_box->core.width = new_box->box.pref_width;
274 if (new_box->core.height == 0)
275 new_box->core.height = new_box->box.pref_height;
320 XwBoxWidget new_box= (XwBoxWidget) reply;
321 printf ("%s: SetValues (%s ..) rv=%d\n", __FILE__, new_box->core.name, (int)redraw);
/dports/devel/R-cran-rlang/rlang/R/
H A Ds3.R100 new_box <- function(.x, class = NULL, ...) { function
146 new_box(x, class)
158 new_box(.x, .class)
180 new_box(

12345678