Next: Glyphs and Glyphsets, Previous: Picture formats, Up: RENDER - A new rendering system for X11 [Contents][Index]
The picture object contains a drawable, a picture-format and some rendering state. More than one picture can refer to the same drawable.
A picture is almost like a gcontext, except that it is tied in use to a single drawable. Another similarity it has with gcontext is that it is a cached object. Updates are not processed until the picture is used. This also makes it possible to query state, as there is no such request in XRENDER to do so.
The picture object is also a lot like a drawable, in that it is used as a target for graphics operations. Or at least that it occurs where you would expect a drawable in XRENDER requests.
A Drawable
A picture-format
An existing picture object to use, one is created if not specified.
(member :off :on)
A picture or :none
int16
int16
int16
int16
A Pixmap or :none
(member :off :on)
(member :clip-by-children :include-inferiors)
(member :sharp :smooth)
(member :precise :imprecise)
xatom or :none
(member :off :on)
This request creates a Picture object. If the drawable is a Window then the Red, Green and Blue masks must match those in the visual for the window else a Match error is generated.
A picture
The picture object to free
Next: Glyphs and Glyphsets, Previous: Picture formats, Up: RENDER - A new rendering system for X11 [Contents][Index]