Home
last modified time | relevance | path

Searched refs:clipr (Results 1 – 25 of 145) sorted by relevance

123456

/dports/net/drawterm/drawterm/libmemdraw/
H A Dline.c64 easy = ptinrect(p0, clipr) && ptinrect(p1, clipr); in horline1()
71 if(easy || (clipr.min.x<=x && clipr.min.y<=y && y<clipr.max.y)) in horline1()
105 easy = ptinrect(p0, clipr) && ptinrect(p1, clipr); in verline1()
112 if(easy || (clipr.min.y<=y && clipr.min.x<=x && x<clipr.max.x)) in verline1()
145 if(clipr.min.y<=y && y<clipr.max.y){ in horliner()
179 if(clipr.min.x<=x && x<clipr.max.x){ in verliner()
208 if(clipr.min.y<=y && y<clipr.max.y){ in horline()
238 if(clipr.min.x<=x && x<clipr.max.x){ in verline()
335 if(rectclip(&clipr, dst->clipr) == 0) in _memimageline()
373 dst->clipr = clipr; in _memimageline()
[all …]
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libmemdraw/
H A Dline.c63 easy = ptinrect(p0, clipr) && ptinrect(p1, clipr); in horline1()
70 if(easy || (clipr.min.x<=x && clipr.min.y<=y && y<clipr.max.y)) in horline1()
104 easy = ptinrect(p0, clipr) && ptinrect(p1, clipr); in verline1()
111 if(easy || (clipr.min.y<=y && clipr.min.x<=x && x<clipr.max.x)) in verline1()
144 if(clipr.min.y<=y && y<clipr.max.y){ in horliner()
178 if(clipr.min.x<=x && x<clipr.max.x){ in verliner()
207 if(clipr.min.y<=y && y<clipr.max.y){ in horline()
237 if(clipr.min.x<=x && x<clipr.max.x){ in verline()
334 if(rectclip(&clipr, dst->clipr) == 0) in _memimageline()
372 dst->clipr = clipr; in _memimageline()
[all …]
/dports/net/drawterm/drawterm/libmemlayer/
H A Dline.c42 _memimageline(dst, p0, p1, end0, end1, radius, src, sp, clipr, op); in _memline()
47 if(rectclip(&clipr, rectsubpt(src->clipr, d)) == 0) in _memline()
49 if((src->flags&Frepl)==0 && rectclip(&clipr, rectsubpt(src->r, d))==0) in _memline()
59 clipr.min.x += dl->delta.x; in _memline()
60 clipr.min.y += dl->delta.y; in _memline()
61 clipr.max.x += dl->delta.x; in _memline()
62 clipr.max.y += dl->delta.y; in _memline()
79 if(rectclip(&r, clipr) == 0) in _memline()
105 if(!rectclip(&clipr, screenr)) in llineop()
110 clipr = rectsubpt(clipr, ll->delta); in llineop()
[all …]
H A Dlayerop.c14 Rectangle clipr, in _layerop() argument
23 fn(i->layer->screen->image, r, clipr, etc, 0); in _layerop()
50 (*fn)(i->layer->save, r, clipr, etc, 1); in _layerop()
61 Rectangle clipr, /* clipped also to clipping rectangles of hierarchy */ in _memlayerop() argument
71 fn(l->screen->image, screenr, clipr, etc, 0); in _memlayerop()
75 scr = l->screen->image->clipr; in _memlayerop()
81 _layerop(fn, i, screenr, clipr, etc, l->screen->frontmost); in _memlayerop()
90 fn(l->save, r, clipr, etc, 1); in _memlayerop()
95 fn(l->save, Rect(r.min.x, r.min.y, r.max.x, scr.min.y), clipr, etc, 1); in _memlayerop()
100 fn(l->save, Rect(r.min.x, scr.max.y, r.max.x, r.max.y), clipr, etc, 1); in _memlayerop()
[all …]
H A Ddraw.c19 ldrawop(Memimage *dst, Rectangle screenr, Rectangle clipr, void *etc, int insave) in ldrawop() argument
35 clipr = rectsubpt(clipr, d->dstlayer->delta); in ldrawop()
42 if(!rectinrect(r, clipr)){ in ldrawop()
43 oclipr = dst->clipr; in ldrawop()
44 dst->clipr = clipr; in ldrawop()
46 dst->clipr = oclipr; in ldrawop()
78 if(drawdebug) iprint("drawclip dstcr %R srccr %R maskcr %R\n", dst->clipr, src->clipr, mask->clipr); in memdraw()
H A Dlhide.c19 lhideop(Memimage *src, Rectangle screenr, Rectangle clipr, void *etc, int insave) in lhideop() argument
24 USED(clipr.min.x); in lhideop()
45 lexposeop(Memimage *dst, Rectangle screenr, Rectangle clipr, void *etc, int insave) in lexposeop() argument
50 USED(clipr.min.x); in lexposeop()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libmemlayer/
H A Dline.c42 _memimageline(dst, p0, p1, end0, end1, radius, src, sp, clipr, op); in _memline()
47 if(rectclip(&clipr, rectsubpt(src->clipr, d)) == 0) in _memline()
49 if((src->flags&Frepl)==0 && rectclip(&clipr, rectsubpt(src->r, d))==0) in _memline()
59 clipr.min.x += dl->delta.x; in _memline()
60 clipr.min.y += dl->delta.y; in _memline()
61 clipr.max.x += dl->delta.x; in _memline()
62 clipr.max.y += dl->delta.y; in _memline()
79 if(rectclip(&r, clipr) == 0) in _memline()
105 if(!rectclip(&clipr, screenr)) in llineop()
110 clipr = rectsubpt(clipr, ll->delta); in llineop()
[all …]
H A Dlayerop.c14 Rectangle clipr, in _layerop() argument
23 fn(i->layer->screen->image, r, clipr, etc, 0); in _layerop()
50 (*fn)(i->layer->save, r, clipr, etc, 1); in _layerop()
61 Rectangle clipr, /* clipped also to clipping rectangles of hierarchy */ in _memlayerop() argument
71 fn(l->screen->image, screenr, clipr, etc, 0); in _memlayerop()
75 scr = l->screen->image->clipr; in _memlayerop()
81 _layerop(fn, i, screenr, clipr, etc, l->screen->frontmost); in _memlayerop()
90 fn(l->save, r, clipr, etc, 1); in _memlayerop()
95 fn(l->save, Rect(r.min.x, r.min.y, r.max.x, scr.min.y), clipr, etc, 1); in _memlayerop()
100 fn(l->save, Rect(r.min.x, scr.max.y, r.max.x, r.max.y), clipr, etc, 1); in _memlayerop()
[all …]
H A Ddraw.c19 ldrawop(Memimage *dst, Rectangle screenr, Rectangle clipr, void *etc, int insave) in ldrawop() argument
35 clipr = rectsubpt(clipr, d->dstlayer->delta); in ldrawop()
42 if(!rectinrect(r, clipr)){ in ldrawop()
43 oclipr = dst->clipr; in ldrawop()
44 dst->clipr = clipr; in ldrawop()
46 dst->clipr = oclipr; in ldrawop()
78 if(drawdebug) iprint("drawclip dstcr %R srccr %R maskcr %R\n", dst->clipr, src->clipr, mask->clipr); in memdraw()
H A Dlhide.c19 lhideop(Memimage *src, Rectangle screenr, Rectangle clipr, void *etc, int insave) in lhideop() argument
24 USED(clipr.min.x); in lhideop()
45 lexposeop(Memimage *dst, Rectangle screenr, Rectangle clipr, void *etc, int insave) in lexposeop() argument
50 USED(clipr.min.x); in lexposeop()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libdraw/
H A Dreplclipr.c6 replclipr(Image *i, int repl, Rectangle clipr) in replclipr() argument
15 BPLONG(b+6, clipr.min.x); in replclipr()
16 BPLONG(b+10, clipr.min.y); in replclipr()
17 BPLONG(b+14, clipr.max.x); in replclipr()
18 BPLONG(b+18, clipr.max.y); in replclipr()
20 i->clipr = clipr; in replclipr()
H A Dalloc.c17 Rectangle clipr; in _allocimage() local
62 clipr = r; in _allocimage()
63 BPLONG(a+31, clipr.min.x); in _allocimage()
64 BPLONG(a+35, clipr.min.y); in _allocimage()
65 BPLONG(a+39, clipr.max.x); in _allocimage()
66 BPLONG(a+43, clipr.max.y); in _allocimage()
90 i->clipr = clipr; in _allocimage()
163 i->clipr.min.x = atoi(buf+8*12); in namedimage()
164 i->clipr.min.y = atoi(buf+9*12); in namedimage()
165 i->clipr.max.x = atoi(buf+10*12); in namedimage()
[all …]
H A Dstring.c13 return _string(dst, pt, src, sp, f, s, nil, 1<<24, dst->clipr, nil, ZP, SoverD); in string()
19 return _string(dst, pt, src, sp, f, s, nil, 1<<24, dst->clipr, nil, ZP, op); in stringop()
25 return _string(dst, pt, src, sp, f, s, nil, len, dst->clipr, nil, ZP, SoverD); in stringn()
31 return _string(dst, pt, src, sp, f, s, nil, len, dst->clipr, nil, ZP, op); in stringnop()
43 return _string(dst, pt, src, sp, f, nil, r, 1<<24, dst->clipr, nil, ZP, op); in runestringop()
49 return _string(dst, pt, src, sp, f, nil, r, len, dst->clipr, nil, ZP, SoverD); in runestringn()
55 return _string(dst, pt, src, sp, f, nil, r, len, dst->clipr, nil, ZP, op); in runestringnop()
109 BPLONG(b+21, clipr.min.x); in _string()
110 BPLONG(b+25, clipr.min.y); in _string()
111 BPLONG(b+29, clipr.max.x); in _string()
[all …]
H A Dstringbg.c8 return _string(dst, pt, src, sp, f, s, nil, 1<<24, dst->clipr, bg, bgp, SoverD); in stringbg()
14 return _string(dst, pt, src, sp, f, s, nil, 1<<24, dst->clipr, bg, bgp, op); in stringbgop()
20 return _string(dst, pt, src, sp, f, s, nil, len, dst->clipr, bg, bgp, SoverD); in stringnbg()
26 return _string(dst, pt, src, sp, f, s, nil, len, dst->clipr, bg, bgp, op); in stringnbgop()
32 return _string(dst, pt, src, sp, f, nil, r, 1<<24, dst->clipr, bg, bgp, SoverD); in runestringbg()
38 return _string(dst, pt, src, sp, f, nil, r, 1<<24, dst->clipr, bg, bgp, op); in runestringbgop()
44 return _string(dst, pt, src, sp, f, nil, r, len, dst->clipr, bg, bgp, SoverD); in runestringnbg()
50 return _string(dst, pt, src, sp, f, nil, r, len, dst->clipr, bg, bgp, op); in runestringnbgop()
/dports/net/drawterm/drawterm/libdraw/
H A Dalloc.c17 Rectangle clipr; in _allocimage() local
62 clipr = r; in _allocimage()
63 BPLONG(a+31, clipr.min.x); in _allocimage()
64 BPLONG(a+35, clipr.min.y); in _allocimage()
65 BPLONG(a+39, clipr.max.x); in _allocimage()
66 BPLONG(a+43, clipr.max.y); in _allocimage()
90 i->clipr = clipr; in _allocimage()
163 i->clipr.min.x = atoi(buf+8*12); in namedimage()
164 i->clipr.min.y = atoi(buf+9*12); in namedimage()
165 i->clipr.max.x = atoi(buf+10*12); in namedimage()
[all …]
/dports/devel/R-cran-clipr/clipr/
H A DNEWS.md1 ## clipr 0.7.1
5 ## clipr 0.7.0
13 ## clipr 0.6.0
23 ## clipr 0.5.0
32 ## clipr 0.4.1
37 ## clipr 0.4.0
42 ## clipr 0.3.3
48 ## clipr 0.3.2
59 ## clipr 0.3.1
67 ## clipr 0.3.0
[all …]
H A DMD55 9c75ab4e1359ffadc1c01d04b23b70e4 *R/clipr-package.R
15 46750e778a5cdb4d65c347f8e43df623 *inst/doc/developing-with-clipr.R
16 a2ee2d9d5e2d92ab65107157675b472a *inst/doc/developing-with-clipr.Rmd
17 a306d91cacc4e4963f44a2a55d0672b9 *inst/doc/developing-with-clipr.html
20 a34df8a952f7cd6f09dd6b8102e132dc *man/clipr.Rd
31 a2ee2d9d5e2d92ab65107157675b472a *vignettes/developing-with-clipr.Rmd
H A DDESCRIPTION2 Package: clipr
23 URL: https://github.com/mdlincoln/clipr
24 BugReports: https://github.com/mdlincoln/clipr/issues
/dports/devel/R-cran-clipr/clipr/vignettes/
H A Ddeveloping-with-clipr.Rmd2 title: "Developing with clipr"
7 %\VignetteIndexEntry{Developing with clipr}
19 ## Calling clipr safely
22 This will be particularly useful for Linux-based systems, where clipr's functionality depends on th…
27 If you use clipr in your own package, **you must not try to call it in non-interactive sessions**, …
39 A few best practices will also help you responsibly test your clipr-using package on headless syste…
42 2. Tests calling clipr should be conditionally skipped, based on the output of `clipr_available()`.…
43 … build on Linux, consult the [`.travis.yml`](https://github.com/mdlincoln/clipr/blob/master/.travi…
45 ## Using clipr with Shiny
47 clipr won't do what you expect when you call it with Shiny.
[all …]
/dports/devel/R-cran-clipr/clipr/inst/doc/
H A Ddeveloping-with-clipr.Rmd2 title: "Developing with clipr"
7 %\VignetteIndexEntry{Developing with clipr}
19 ## Calling clipr safely
22 This will be particularly useful for Linux-based systems, where clipr's functionality depends on th…
27 If you use clipr in your own package, **you must not try to call it in non-interactive sessions**, …
39 A few best practices will also help you responsibly test your clipr-using package on headless syste…
42 2. Tests calling clipr should be conditionally skipped, based on the output of `clipr_available()`.…
43 … build on Linux, consult the [`.travis.yml`](https://github.com/mdlincoln/clipr/blob/master/.travi…
45 ## Using clipr with Shiny
47 clipr won't do what you expect when you call it with Shiny.
[all …]
/dports/devel/R-cran-clipr/clipr/man/
H A Dclipr.Rd2 % Please edit documentation in R/clipr-package.R
4 \name{clipr}
5 \alias{clipr}
6 \title{clipr: Read and Write from the System Clipboard}
18 depend on clipr functionality.
/dports/audio/schismtracker/schismtracker-20211116/schism/
H A Dpage_message.c234 int n, cp, clipl, clipr; in message_draw() local
241 clipr = widgets_message[0].clip_end; in message_draw()
242 if (clipl > clipr) { in message_draw()
244 clipl = clipr; in message_draw()
245 clipr = cp; in message_draw()
248 clipl = clipr = -1; in message_draw()
265 cutc = clipr - clipl; in message_draw()
564 int clipl, clipr, cp; in message_handle_key_editmode() local
781 if (clipl > clipr) { in message_handle_key_editmode()
783 clipl = clipr; in message_handle_key_editmode()
[all …]
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/fossil/
H A Dview.c15 Image *clipr; member
879 drawtext(char *s, Image *m, Image *clipr, Point o) in drawtext() argument
896 t, nil, e-t, clipr->clipr, nil, ZP, SoverD); in drawtext()
903 drawnub(Image *m, Image *clipr, Point o, Tnode *t) in drawnub() argument
905 clipr = nil; in drawnub()
929 drawnode(Tnode *t, Image *m, Image *clipr, Point o) in drawnode() argument
952 dy = drawtext(s, m, clipr, oo); in drawnode()
961 oo.y += drawnode(t->kid[i], m, clipr, oo); in drawnode()
964 drawnub(m, clipr, o, t); in drawnode()
975 replclipr(t->clipr, 1, r); in drawtree()
[all …]
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/devdraw/
H A Ddevdraw.c657 Rectangle clipr, r; in draw_datawrite() local
720 l->clipr = clipr; in draw_datawrite()
748 i->clipr = clipr; in draw_datawrite()
952 i->clipr.min.x, i->clipr.min.y, in draw_datawrite()
953 i->clipr.max.x, i->clipr.max.y); in draw_datawrite()
1222 r = dst->clipr; in draw_datawrite()
1299 clipr = dst->clipr; in draw_datawrite()
1300 dst->clipr = r; in draw_datawrite()
1316 dst->clipr = clipr; in draw_datawrite()
1329 dst->clipr = clipr; in draw_datawrite()
[all …]
/dports/games/openbor3482/openbor-2c1ecd7/engine/source/gamelib/
H A Dbitmap.c164 void clipbitmap(s_bitmap *bitmap, int *clipl, int *clipr, int *clipt, int *clipb){ in clipbitmap() argument
194 if(clipr) *clipr = 0; in clipbitmap()
268 if(clipr) *clipr = rclipmove; in clipbitmap()

123456