<sxg> <!-- width and height declarations --> <pixmap id="bullet"> <size>scaled</size> <width>16</width> <height>16</height> <gc id="bullet_gc1" /> <gc id="bullet_gc2" /> </pixmap> <!-- ... --> </sxg>
A pixmap
's
id
,
size
,
width
, and
height
mean the same as a
picture
's.
pixmap
creates a pixmap for use as an alpha-channel only picture
in rendering commands.
A pixmap that's used as a
clip
mask, or a
fill stipple
must specify a
mask
element, which
creates a one-bit deep pixmap:
<sxg> <!-- width and height declarations --> <pixmap id="bullet"> <size>scaled</size> <width>16</width> <height>16</height> <mask /> <gc id="bullet_gc1" /> <gc id="bullet_gc2" /> </pixmap> <!-- ... --> </sxg>
Each pixmap
's
gc
element creates a graphic
context for drawing into the pixmap.
All gc
's
id
s are unique.
Different
pixmap
s cannot use the same
gc
id
.