graphics_expose
EventThe fields that can be unified in graphics_expose
events
are:
type(
T)
unifies T with graphics_expose
.
serial(
S)
unifies S with the serial number of the last request
processed by the server.
send_event(
B)
unifies B, a boolean value, with one of
true
false
display(
D)
unifies D with the ProXL Display the event was
read from.
drawable(
D)
unifies D with either the ProXL Window or ProXL Pixmap
that was the destination of the graphics request.
x(
X)
unifies X with the x coordinate of the upper-left corner
of the region, relative to the drawable origin.
y(
Y)
unifies Y with the y coordinate of the upper-left corner
of the region, relative to the drawable origin.
position(
X,
Y)
unifies X and Y with the x and y
coordinates, respectively, of the upper-left corner of the region,
relative to the drawable origin.
width(
W)
unifies W with the width in pixels of the
region.
height(
H)
unifies H with the height in pixels of the
region.
size(
W,
H)
unifies W and H with the width and height
in pixels, respectively, of the exposed region.
count(
C)
unifies C with an integer giving the approximate
number of remaining contiguous graphics_expose
events that
were generated as a result of a single request.
major_code(
M)
unifies M with the name of the graphics request
that produced the event
. One of
copy_area
copy_plane
minor_code(
M)
unifies M with an integer giving the request
minor code.