Struct xcb::ffi::xproto::xcb_poly_line_request_t [−][src]
draw lines
Draws points_len
-1 lines between each pair of points (point[i], point[i+1])
in the points
array. The lines are drawn in the order listed in the array.
They join correctly at all intermediate points, and if the first and last
points coincide, the first and last lines also join correctly. For any given
line, a pixel is not drawn more than once. If thin (zero line-width) lines
intersect, the intersecting pixels are drawn multiple times. If wide lines
intersect, the intersecting pixels are drawn only once, as though the entire
request were a single, filled shape.
Fields
major_opcode: u8
coordinate_mode: u8
length: u16
drawable: xcb_drawable_t
The drawable to draw the line(s) on.
gc: xcb_gcontext_t
The graphics context to use.
Auto Trait Implementations
impl RefUnwindSafe for xcb_poly_line_request_t
impl Send for xcb_poly_line_request_t
impl Sync for xcb_poly_line_request_t
impl Unpin for xcb_poly_line_request_t
impl UnwindSafe for xcb_poly_line_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>,