Discussion:
[9fans] /dev/draw/new and /dev/draw/n/ctl
(too old to reply)
Jeremy Jackins
2013-06-12 03:56:15 UTC
Permalink
from draw(3):

"Each client of the device connects by opening /dev/draw/new and
reading 12 strings, each 11 characters wide followed by a blank: the
connection number (n), the image id (q.v.) of the display image
(always zero), the channel format of the image, the min.x, min.y,
max.x, and max.y of the display image, and the min.x, min.y, max.x,
and max.y of the clipping rectangle."

After acknowledging that there are 12 strings, it only describes 11.
What is the number that comes between the channel format and min.x?
Federico G. Benavento
2013-06-12 04:13:42 UTC
Permalink
it's "repl", meaning that if it's non zero the image gets replicated when
used as source.
a better explanation can be found in draw(2).
Post by Jeremy Jackins
"Each client of the device connects by opening /dev/draw/new and
reading 12 strings, each 11 characters wide followed by a blank: the
connection number (n), the image id (q.v.) of the display image
(always zero), the channel format of the image, the min.x, min.y,
max.x, and max.y of the display image, and the min.x, min.y, max.x,
and max.y of the clipping rectangle."
After acknowledging that there are 12 strings, it only describes 11.
What is the number that comes between the channel format and min.x?
--
Federico G. Benavento
Loading...