Struct xcb::ffi::xproto::xcb_poly_segment_request_t [−][src]
draw lines
Draws multiple, unconnected lines. For each segment, a line is drawn between
(x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of
xcb_segment_t
structures and does not perform joining at coincident
endpoints. For any given line, a pixel is not drawn more than once. If lines
intersect, the intersecting pixels are drawn multiple times.
TODO: include the xcb_segment_t data structure
TODO: an example
Fields
major_opcode: u8
pad0: u8
length: u16
drawable: xcb_drawable_t
A drawable (Window or Pixmap) to draw on.
gc: xcb_gcontext_t
The graphics context to use.
TODO: document which attributes of a gc are used
Auto Trait Implementations
impl RefUnwindSafe for xcb_poly_segment_request_t
impl Send for xcb_poly_segment_request_t
impl Sync for xcb_poly_segment_request_t
impl Unpin for xcb_poly_segment_request_t
impl UnwindSafe for xcb_poly_segment_request_t
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,