Home
last modified time | relevance | path

Searched refs:cwidth (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/dports/graphics/reallyslick/rss-glx_0.9.1/src/
H A Dfeedback.cpp39 unsigned int cwidth = 8, cheight = 8; variable
116 for (unsigned int dw = 0; dw < cwidth; ++dw) { in hack_draw()
123 const unsigned nw = (dw + 1) & (cwidth - 1); in hack_draw()
179 glVertex2f (a[0] / cwidth, a[1] / cheight); in hack_draw()
183 glVertex2f (a[0] / cwidth, a[1] / cheight); in hack_draw()
184 glVertex2f (b[0] / cwidth, b[1] / cheight); in hack_draw()
186 glVertex2f (b[0] / cwidth, b[1] / cheight); in hack_draw()
217 const int nii = (nh & (cheight - 1)) * cwidth + (nw & (cwidth - 1)); in hack_draw()
320 displacements = new rsVec[cwidth * cheight]; in hack_init()
321 velocities = new rsVec[cwidth * cheight]; in hack_init()
[all …]
/dports/graphics/O2-tools/O2-tools-2.01/makepr/
H A Dmakepr.cpp162 int cwidth; member in IMPR
358 IMPR::cwidth = cwidth; in lineproc_init()
397 cwidth,cwidth,1,size, \ in lineproc_close()
402 cwidth,cwidth,1,height, \ in lineproc_close()
414 cwidth = IMPR::cwidth; in lineproc()
454 cw = cwidth; in mkcolumn()
468 cw = cwidth; in mkcolumn()
484 cw = cwidth; in mkcolumn()
497 cw = cwidth; in mkcolumn()
546 for ( ix=0 ; ix<len-cwidth ; ix+=cwidth ){ in smear()
[all …]
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/layoutmgr/inline/
H A DImageLayout.java98 int cwidth = -1; in doLayout() local
105 cwidth = ipd; in doLayout()
111 cwidth = ipd; in doLayout()
117 cwidth = ipd; in doLayout()
160 cwidth = adjustedDim.width; in doLayout()
165 ipd = constrainExtent(cwidth, in doLayout()
178 if (cwidth > ipd || cheight > bpd) { in doLayout()
242 final int cwidth, final int cheight, in adjustContentSize() argument
250 } else if (cwidth == -1) { in adjustContentSize()
295 xoffset = (ipd - cwidth) / 2; in computeXOffset()
[all …]
/dports/net/clusterit/clusterit-2.5/rvt/
H A Dscreen.c335 n = cw < cwidth ? cw : cwidth; in scr_reset()
389 cwidth = cw; in scr_reset()
563 *width_p = cwidth;
656 n = n + screen->col > cwidth ? cwidth - screen->col : n;
858 r[cwidth] = 0;
861 r[cwidth] = 1;
2053 if (col > cwidth)
2054 col = cwidth;
2076 col = cwidth;
2283 len = cwidth;
[all …]
/dports/net/concourse-fly/concourse-6.7.1/vendor/github.com/vbauerster/mpb/v4/
H A Dbar_filler.go72 cwidth := int(internal.Percentage(stat.Total, stat.Current, int64(width)))
74 for i := 0; i < cwidth; i++ {
81 rwidth = cwidth
90 if cwidth > 0 && cwidth < width {
91 bb[cwidth-1] = s.format[rTip]
94 for i := cwidth; i < width; i++ {
99 if cwidth > 0 && cwidth < width {
100 bb[cwidth-1] = s.format[rRevTip]
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/vbauerster/mpb/v4/
H A Dbar_filler.go72 cwidth := int(internal.Percentage(stat.Total, stat.Current, int64(width)))
74 for i := 0; i < cwidth; i++ {
81 rwidth = cwidth
90 if cwidth > 0 && cwidth < width {
91 bb[cwidth-1] = s.format[rTip]
94 for i := cwidth; i < width; i++ {
99 if cwidth > 0 && cwidth < width {
100 bb[cwidth-1] = s.format[rRevTip]
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/vbauerster/mpb/v6/
H A Dbar_filler_bar.go127 cwidth := int(internal.PercentageRound(stat.Total, stat.Current, width))
131 count: width - cwidth,
135 bb := make([][]byte, cwidth)
137 if cwidth > 0 && cwidth != width {
139 cwidth -= s.rwidth[rTip]
145 if refill > cwidth {
146 refill = cwidth
148 cwidth -= refill
151 for cwidth > 0 {
153 cwidth -= s.rwidth[rFill]
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dmap.h312 cx += world->cwidth; in World_wrap_xclick()
313 while (cx >= world->cwidth) in World_wrap_xclick()
314 cx -= world->cwidth; in World_wrap_xclick()
363 ? ((dcx) < - (world->cwidth >> 1) \
364 ? (dcx) + world->cwidth \
365 : ((dcx) > (world->cwidth >> 1) \
366 ? (dcx) - world->cwidth \
380 ((x_) > 0 ? (x_) % world->cwidth : \
381 ((x_) % world->cwidth + world->cwidth))
390 (X) + world->cwidth : \
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/converter/pbm/
H A Dpktopbm.c270 integer cheight, cwidth ; in main() local
298 dprintf ("cwidth %d\n", cwidth); in main()
300 if (cwidth < 0 || cheight < 0 || in main()
301 cwidth > 65535 || cheight > 65535) { in main()
326 dprintf ("cwidth %d\n", cwidth); in main()
354 dprintf ("cwidth %d\n", cwidth); in main()
366 if (!bmx) bmx= cwidth; in main()
384 for (j = 0 ; j < cwidth ; j ++) { in main()
392 integer hbit = cwidth ; in main()
419 hbit = cwidth ; in main()
[all …]
/dports/graphics/darktable38/darktable-3.8.0/src/dtgtk/
H A Dbutton.c74 int cwidth = width - margin.left - margin.right; in _button_draw() local
81 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw()
86 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw()
88 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _button_draw()
97 cwidth -= border.left + border.right + padding.left + padding.right; in _button_draw()
110 startx += round(cmargin.left * cwidth / 100.0f); in _button_draw()
112 cwidth = round((float)cwidth * (1.0 - (cmargin.left + cmargin.right) / 100.0f)); in _button_draw()
116 if(cwidth > 0 && cheight > 0) in _button_draw()
117 DTGTK_BUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _button_draw()
H A Dtogglebutton.c98 int cwidth = width - margin.left - margin.right; in _togglebutton_draw() local
109 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw()
115 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw()
117 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw()
127 cwidth -= border.left + border.right + padding.left + padding.right; in _togglebutton_draw()
140 startx += round(cmargin.left * cwidth / 100.0f); in _togglebutton_draw()
142 cwidth = round((float)cwidth * (1.0 - (cmargin.left + cmargin.right) / 100.0f)); in _togglebutton_draw()
147 if(cwidth > 0 && cheight > 0) in _togglebutton_draw()
148 DTGTK_TOGGLEBUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _togglebutton_draw()
/dports/graphics/darktable/darktable-3.6.1/src/dtgtk/
H A Dbutton.c74 int cwidth = width - margin.left - margin.right; in _button_draw() local
81 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw()
86 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _button_draw()
88 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _button_draw()
97 cwidth -= border.left + border.right + padding.left + padding.right; in _button_draw()
110 startx += round(cmargin.left * cwidth / 100.0f); in _button_draw()
112 cwidth = round((float)cwidth * (1.0 - (cmargin.left + cmargin.right) / 100.0f)); in _button_draw()
116 if(cwidth > 0 && cheight > 0) in _button_draw()
117 DTGTK_BUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _button_draw()
H A Dtogglebutton.c98 int cwidth = width - margin.left - margin.right; in _togglebutton_draw() local
109 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw()
115 gtk_render_background(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw()
117 gtk_render_frame(context, cr, startx, starty, cwidth, cheight); in _togglebutton_draw()
127 cwidth -= border.left + border.right + padding.left + padding.right; in _togglebutton_draw()
140 startx += round(cmargin.left * cwidth / 100.0f); in _togglebutton_draw()
142 cwidth = round((float)cwidth * (1.0 - (cmargin.left + cmargin.right) / 100.0f)); in _togglebutton_draw()
147 if(cwidth > 0 && cheight > 0) in _togglebutton_draw()
148 DTGTK_TOGGLEBUTTON(widget)->icon(cr, startx, starty, cwidth, cheight, flags, icon_data); in _togglebutton_draw()
/dports/databases/grass7/grass-7.8.6/ps/ps.map/
H A Dps_fclrtbl.c125 cwidth = 0.1; in PS_fcolortable()
129 ncols = (int)width / cwidth; in PS_fcolortable()
133 ncols = (int)height / cwidth; in PS_fcolortable()
150 fprintf(PS.fp, "%.8f W\n", cwidth); in PS_fcolortable()
170 x -= cwidth; in PS_fcolortable()
175 y -= cwidth; in PS_fcolortable()
186 l + width + (cwidth + lwidth) / 2, y1, in PS_fcolortable()
187 l + width - (ncols - 1) * cwidth - (cwidth + lwidth) / 2, y2); in PS_fcolortable()
191 t - (ncols - 1) * cwidth - (cwidth + lwidth) / 2, x2, in PS_fcolortable()
192 t + (cwidth + lwidth) / 2); in PS_fcolortable()
[all …]
/dports/x11/kf5-plasma-framework/plasma-framework-5.89.0/examples/applets/testtheme/contents/ui/
H A DUnitsPage.qml20 property int cwidth: themePage.width / 1.2
41 width: cwidth/2
55 width: cwidth
67 width: cwidth
79 width: cwidth
90 width: cwidth
103 width: cwidth
/dports/print/tex-dvipsk/texlive-20150521-source/texk/dvipsk/
H A Dunpack.c97 halfword cwidth, halfword cheight, halfword cmd) in unpack() argument
112 wordwidth = (cwidth + 15)/16; in unpack()
118 for ( j = 1; j <= cwidth; j ++ ) in unpack()
132 hbit = cwidth; in unpack()
162 hbit = cwidth; in unpack()
175 if ( ( rowsleft != 0 ) || ( (unsigned)hbit != cwidth ) ) in unpack()
179 flip((char *)oraster, ((cwidth + 15) >> 4) * (long)cheight); in unpack()
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libcmd/
H A Duniq.c90 int reclen,oreclen= -1,count=0,cwidth=0,sep,next; in uniq() local
92 cwidth = CWIDTH+1; in uniq()
168 if(cwidth) in uniq()
227 if(outsize < n+cwidth+sep) in uniq()
231 if(!(sbufp = outp=fmtbuf(outsize=n+cwidth+sep))) in uniq()
235 outsize = n+cwidth+sep; in uniq()
236 memcpy(outp+cwidth+sep,bufp,n); in uniq()
238 outp[cwidth] = '\n'; in uniq()
240 orecp = outp+cwidth+sep + (cp-bufp); in uniq()
/dports/shells/ksh93/ast-93u/src/lib/libcmd/
H A Duniq.c90 int reclen,oreclen= -1,count=0,cwidth=0,sep,next; in uniq() local
92 cwidth = CWIDTH+1; in uniq()
168 if(cwidth) in uniq()
227 if(outsize < n+cwidth+sep) in uniq()
231 if(!(sbufp = outp=fmtbuf(outsize=n+cwidth+sep))) in uniq()
235 outsize = n+cwidth+sep; in uniq()
236 memcpy(outp+cwidth+sep,bufp,n); in uniq()
238 outp[cwidth] = '\n'; in uniq()
240 orecp = outp+cwidth+sep + (cp-bufp); in uniq()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp2/sdr_lib/
H A Dduc_chain.v126 localparam cwidth = WIDTH; // was 18 constant
129 wire [cwidth-1:0] da_c, db_c;
131 cordic_z24 #(.bitwidth(cwidth))
133 .xi({i_interp,{(cwidth-18){1'b0}}}),.yi({q_interp,{(cwidth-18){1'b0}}}),
139 .A(da_c[cwidth-1:cwidth-18]), // 18-bit multiplier input
148 .A(db_c[cwidth-1:cwidth-18]), // 18-bit multiplier input
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libcmd/
H A Duniq.c90 int reclen,oreclen= -1,count=0,cwidth=0,sep,next; in uniq() local
95 cwidth = CWIDTH+1; in uniq()
171 if(cwidth) in uniq()
230 if(outsize < n+cwidth+sep) in uniq()
234 if(!(sbufp = outp=fmtbuf(outsize=n+cwidth+sep))) in uniq()
238 outsize = n+cwidth+sep; in uniq()
239 memcpy(outp+cwidth+sep,bufp,n); in uniq()
241 outp[cwidth] = '\n'; in uniq()
243 orecp = outp+cwidth+sep + (cp-bufp); in uniq()
/dports/graphics/p5-Layout-Manager/Layout-Manager-0.35/lib/Layout/Manager/
H A DCompass.pm20 my $cwidth = $bbox->width;
89 $self->_geassign($cwidth, $edges{east}->{width} + $edges{west}->{width}
102 $comp->width($cwidth);
115 $self->_geassign($cwidth, $comp->width);
125 $comp->width($cwidth) if $cwidth;
136 $self->_geassign($cwidth, $comp->width);
153 my $xaccum = $bboxox + $cwidth;
167 $self->_geassign($cwidth, $comp->width);
189 $self->_geassign($cwidth, $comp->width);
H A DFlow.pm39 my $cwidth = $bbox->width;
62 $comp->width($cwidth) if $cwidth;
117 ($cwidth > 0) &&
121 ($lines[$line]->{width} + $comp_width > $cwidth) &&
128 $co->x($cwidth - $comp_width - $ox);
/dports/games/armagetronad/armagetronad-0.2.8.3.5/src/render/
H A DrFont.cpp77 offset(Offset),cwidth(CWidth),cheight(CHeight), in rFont()
85 offset(0),cwidth(1/16.0),cheight(1/8.0), in rFont()
162 REAL tleft=x*cwidth+pix; in Render()
163 REAL tright=(x+1)*cwidth-pix; in Render()
214 left(Left),top(Top),cwidth(Cwidth),cheight(Cheight), in rTextField()
218 if (cwidth*sr_screenWidth<sr_smallFontThresholdWidth*2) in rTextField()
235 width = int((1-Left)/cwidth); in rTextField()
302 REAL l=left+realx*cwidth; in FlushLine()
304 REAL r=l + cwidth * len; in FlushLine()
335 REAL l=left+realx*cwidth; in FlushLine()
[all …]
/dports/graphics/colmap/colmap-3.6/lib/VLFeat/
H A Dlbp.c275 vl_size cwidth = width / cellSize; in vl_lbp_process() local
277 vl_size cstride = cwidth * cheight ; in vl_lbp_process()
282 #define to(u,v,w) (*(features + cstride * (w) + cwidth * (v) + (u))) in vl_lbp_process()
302 if (cx1 >= (signed)cwidth) continue ; in vl_lbp_process()
321 if ((cx2 < (signed)cwidth) & (cy1 >=0)) { in vl_lbp_process()
327 if ((cx2 < (signed)cwidth) & (cy2 < (signed)cheight)) { in vl_lbp_process()
335 for (cx = 0 ; cx < (signed)cwidth ; ++ cx) { in vl_lbp_process()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_info/
H A Dtextview.c47 int cwidth; member
80 const int cwidth = tds->cwidth; in textview_draw_sel() local
94 immRecti(pos, xy[0] + (cwidth * sta), xy[1] + lheight, xy[0] + (cwidth * end), xy[1]); in textview_draw_sel()
173 (int)floor((float)tds->mval[0] / tds->cwidth)); in textview_draw_string()
261 BLF_draw_mono(tds->font_id, s, len, tds->cwidth); in textview_draw_string()
278 BLF_draw_mono(tds->font_id, s, len, tds->cwidth); in textview_draw_string()
348 tds.cwidth = (int)BLF_fixed_width(font_id); in textview_draw()
349 BLI_assert(tds.cwidth > 0); in textview_draw()
354 tds.columns = (tvc->draw_rect.xmax - tvc->draw_rect.xmin) / tds.cwidth; in textview_draw()
409 tvc->draw_cursor(tvc, tds.cwidth, tds.columns); in textview_draw()

12345678910>>...34