Annotation of researchv10dc/man/adm/man9/newlayer.9, revision 1.1.1.1

1.1       root        1: .TH NEWLAYER 9.2
                      2: .CT 2 comm_term
                      3: .SH NAME
                      4: newlayer, dellayer, downback, lbitblt, lpoint, lrectf, lsegment, ltexture, upfront \- layer control and graphics
                      5: .SH SYNOPSIS
                      6: .B #include <jerq.h>
                      7: .PP
                      8: .B Layer *newlayer(r);
                      9: .B Rectangle r;
                     10: .PP
                     11: .B void dellayer(l)
                     12: .B Layer *l;
                     13: .PP
                     14: .B void lbitblt(sl, r, dl, p, f)
                     15: .B "Layer *sl, *dl; Rectangle r; Point p; Code f;
                     16: .PP
                     17: .B void lpoint(l, p, f)
                     18: .B "Layer *l; Point p; Code f;
                     19: .PP
                     20: .B void lrectf(l, r, f)
                     21: .B "Layer *l; Rectangle r; Code f;
                     22: .PP
                     23: .B void segment(l, p, q, f)
                     24: .B "Layer *l; Point p, q; Code f;
                     25: .PP
                     26: .B void ltexture(l, r, t, f)
                     27: .B "Layer *l; Rectangle r; Texture *t; Code f;
                     28: .PP
                     29: .B void upfront(l)
                     30: .B "Layer *l;
                     31: .PP
                     32: .B void downback(l)
                     33: .B "Layer *l;
                     34: .SH DESCRIPTION
                     35: .I Newlayer
                     36: creates a layer in Rectangle
                     37: .I r
                     38: in the physical display bitmap, and returns its address,
                     39: or 0 on failure.
                     40: .IR Newproc (9.2)
                     41: explains how to attach a process to a layer.
                     42: .PP
                     43: .I Dellayer
                     44: de-allocates a layer; the associated process must also
                     45: be freed (see
                     46: .IR newproc (9.2)).
                     47: .PP
                     48: .I Upfront
                     49: and
                     50: .I downback
                     51: are the subroutines corresponding to the
                     52: .IR mux (9.1)
                     53: menu items
                     54: .B Top
                     55: and
                     56: .BR Bottom .
                     57: .PP
                     58: The routines
                     59: .IR lbitblt ,
                     60: .IR lpoint ,
                     61: .I lsegment
                     62: and
                     63: .IR ltexture
                     64: are equivalent to their
                     65: .IR bitblt (9.3)
                     66: counterparts
                     67: except that they never inhibit the mouse cursor,
                     68: so they are mainly useful only for implementation
                     69: of efficient composite graphics operations such
                     70: as circle-drawing.
                     71: Because of the duality of Bitmaps and Layers,
                     72: arguments of either type may be passed freely
                     73: to any of the graphics primitives.
                     74: .SH SEE ALSO
                     75: .IR bitblt (9.3), 
                     76: .IR newproc (9.2)
                     77: .br
                     78: Rob Pike,
                     79: .I
                     80: Graphics in Overlapping Bitmap Layers,
                     81: ACM Trans. on Graphics, April 1983.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.