Blame


1 be3e97dc 2006-06-25 devnull .TH DRAWFCALL 3
2 57a2289b 2006-06-25 devnull .SH NAME
3 57a2289b 2006-06-25 devnull convM2W, convW2M, drawfcallfmt, readwsysmsg, sizeW2M \- window system protocol
4 57a2289b 2006-06-25 devnull .SH SYNOPSIS
5 57a2289b 2006-06-25 devnull .nf
6 57a2289b 2006-06-25 devnull .PP
7 57a2289b 2006-06-25 devnull .ft L
8 57a2289b 2006-06-25 devnull #include <u.h>
9 57a2289b 2006-06-25 devnull #include <libc.h>
10 57a2289b 2006-06-25 devnull #include <draw.h>
11 57a2289b 2006-06-25 devnull #include <mouse.h>
12 57a2289b 2006-06-25 devnull #include <cursor.h>
13 57a2289b 2006-06-25 devnull #include <drawfcall.h>
14 57a2289b 2006-06-25 devnull .ft P
15 57a2289b 2006-06-25 devnull .ta \w'\fLuint 'u
16 57a2289b 2006-06-25 devnull .PP
17 57a2289b 2006-06-25 devnull .B
18 57a2289b 2006-06-25 devnull uint convM2W(uchar *ap, uint nap, Wsysmsg *w)
19 57a2289b 2006-06-25 devnull .PP
20 57a2289b 2006-06-25 devnull .B
21 57a2289b 2006-06-25 devnull uint convW2M(Wsysmsg *w, uchar *ap, uint nap)
22 57a2289b 2006-06-25 devnull .PP
23 57a2289b 2006-06-25 devnull .B
24 57a2289b 2006-06-25 devnull int drawfcallfmt(Fmt*)
25 57a2289b 2006-06-25 devnull .PP
26 57a2289b 2006-06-25 devnull .B
27 57a2289b 2006-06-25 devnull int readwsysmsg(int fd, uchar *buf, uint nbuf)
28 57a2289b 2006-06-25 devnull .PP
29 57a2289b 2006-06-25 devnull .B
30 57a2289b 2006-06-25 devnull uint sizeW2M(Wsysmsg *w)
31 57a2289b 2006-06-25 devnull .SH DESCRIPTION
32 57a2289b 2006-06-25 devnull These routines are analogues of the routines described in
33 d32deab1 2020-08-16 rsc .MR fcall (3) .
34 57a2289b 2006-06-25 devnull They manipulate graphics device protocol messages
35 57a2289b 2006-06-25 devnull rather than 9P protocol messages.
36 57a2289b 2006-06-25 devnull The graphics device protocol is used for internal
37 57a2289b 2006-06-25 devnull communication between the
38 d32deab1 2020-08-16 rsc .MR devdraw (1)
39 57a2289b 2006-06-25 devnull graphics server
40 57a2289b 2006-06-25 devnull and the
41 d32deab1 2020-08-16 rsc .MR draw (3)
42 57a2289b 2006-06-25 devnull library.
43 57a2289b 2006-06-25 devnull A
44 57a2289b 2006-06-25 devnull .B Wsysmsg
45 57a2289b 2006-06-25 devnull is the C structure corresponding to a protocol message.
46 57a2289b 2006-06-25 devnull .PP
47 57a2289b 2006-06-25 devnull The protocol is intentionally undocumented and may change.
48 57a2289b 2006-06-25 devnull .SH SOURCE
49 57a2289b 2006-06-25 devnull .B \*9/src/libdraw/drawfcall.c
50 57a2289b 2006-06-25 devnull .SH SEE ALSO
51 d32deab1 2020-08-16 rsc .MR devdraw (1) ,
52 d32deab1 2020-08-16 rsc .MR draw (3) ,
53 d32deab1 2020-08-16 rsc .MR graphics (3)