Handbook
Glossary
XImage
Vocabulary
x11
.
xlib
Definition
USING:
alien.c-types
classes.struct
;
IN:
x11.xlib
STRUCT:
XImage
{
width
int
initial:
0
}
{
height
int
initial:
0
}
{
xoffset
int
initial:
0
}
{
format
int
initial:
0
}
{
data uchar*
}
{
byte_order
int
initial:
0
}
{
bitmap_unit
int
initial:
0
}
{
bitmap_bit_order
int
initial:
0
}
{
bitmap_pad
int
initial:
0
}
{
depth
int
initial:
0
}
{
bytes_per_line
int
initial:
0
}
{
bits_per_pixel
int
initial:
0
}
{
red_mask
ulong
initial:
0
}
{
green_mask
ulong
initial:
0
}
{
blue_mask
ulong
initial:
0
}
{
obdata
XPointer
}
{
f
XImage-funcs
initial:
S{
XImage-funcs
{
create_image
f
}
{
destroy_image
f
}
{
get_pixel
f
}
{
put_pixel
f
}
{
sub_image
f
}
{
add_pixel
f
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
x11.xlib
;
M:
XImage
clone
clone-underlying
\
XImage
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
x11.xlib
;
M:
XImage
struct-slot-values
{
[
width>>
]
[
height>>
]
[
xoffset>>
]
[
format>>
]
[
data>>
]
[
byte_order>>
]
[
bitmap_unit>>
]
[
bitmap_bit_order>>
]
[
bitmap_pad>>
]
[
depth>>
]
[
bytes_per_line>>
]
[
bits_per_pixel>>
]
[
red_mask>>
]
[
green_mask>>
]
[
blue_mask>>
]
[
obdata>>
]
[
f>>
]
}
cleave>array
;
inline