x11rb::protocol::render

Trait ConnectionExt

Source
pub trait ConnectionExt: RequestConnection {
Show 31 methods // Provided methods fn render_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... } fn render_query_pict_formats( &self, ) -> Result<Cookie<'_, Self, QueryPictFormatsReply>, ConnectionError> { ... } fn render_query_pict_index_values( &self, format: Pictformat, ) -> Result<Cookie<'_, Self, QueryPictIndexValuesReply>, ConnectionError> { ... } fn render_create_picture<'c, 'input>( &'c self, pid: Picture, drawable: Drawable, format: Pictformat, value_list: &'input CreatePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_change_picture<'c, 'input>( &'c self, picture: Picture, value_list: &'input ChangePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_set_picture_clip_rectangles<'c, 'input>( &'c self, picture: Picture, clip_x_origin: i16, clip_y_origin: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_free_picture( &self, picture: Picture, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_composite<A>( &self, op: PictOp, src: Picture, mask: A, dst: Picture, src_x: i16, src_y: i16, mask_x: i16, mask_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError> where A: Into<Picture> { ... } fn render_trapezoids<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, traps: &'input [Trapezoid], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_triangles<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, triangles: &'input [Triangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_tri_strip<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_tri_fan<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_create_glyph_set( &self, gsid: Glyphset, format: Pictformat, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_reference_glyph_set( &self, gsid: Glyphset, existing: Glyphset, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_free_glyph_set( &self, glyphset: Glyphset, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_add_glyphs<'c, 'input>( &'c self, glyphset: Glyphset, glyphids: &'input [u32], glyphs: &'input [Glyphinfo], data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_free_glyphs<'c, 'input>( &'c self, glyphset: Glyphset, glyphs: &'input [Glyph], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_composite_glyphs8<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, glyphset: Glyphset, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_composite_glyphs16<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, glyphset: Glyphset, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_composite_glyphs32<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, glyphset: Glyphset, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_fill_rectangles<'c, 'input>( &'c self, op: PictOp, dst: Picture, color: Color, rects: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_create_cursor( &self, cid: Cursor, source: Picture, x: u16, y: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_set_picture_transform( &self, picture: Picture, transform: Transform, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_query_filters( &self, drawable: Drawable, ) -> Result<Cookie<'_, Self, QueryFiltersReply>, ConnectionError> { ... } fn render_set_picture_filter<'c, 'input>( &'c self, picture: Picture, filter: &'input [u8], values: &'input [Fixed], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_create_anim_cursor<'c, 'input>( &'c self, cid: Cursor, cursors: &'input [Animcursorelt], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_add_traps<'c, 'input>( &'c self, picture: Picture, x_off: i16, y_off: i16, traps: &'input [Trap], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_create_solid_fill( &self, picture: Picture, color: Color, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn render_create_linear_gradient<'c, 'input>( &'c self, picture: Picture, p1: Pointfix, p2: Pointfix, stops: &'input [Fixed], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_create_radial_gradient<'c, 'input>( &'c self, picture: Picture, inner: Pointfix, outer: Pointfix, inner_radius: Fixed, outer_radius: Fixed, stops: &'input [Fixed], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn render_create_conical_gradient<'c, 'input>( &'c self, picture: Picture, center: Pointfix, angle: Fixed, stops: &'input [Fixed], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

Source

fn render_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

Source

fn render_query_pict_formats( &self, ) -> Result<Cookie<'_, Self, QueryPictFormatsReply>, ConnectionError>

Source

fn render_query_pict_index_values( &self, format: Pictformat, ) -> Result<Cookie<'_, Self, QueryPictIndexValuesReply>, ConnectionError>

Source

fn render_create_picture<'c, 'input>( &'c self, pid: Picture, drawable: Drawable, format: Pictformat, value_list: &'input CreatePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_change_picture<'c, 'input>( &'c self, picture: Picture, value_list: &'input ChangePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_set_picture_clip_rectangles<'c, 'input>( &'c self, picture: Picture, clip_x_origin: i16, clip_y_origin: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_free_picture( &self, picture: Picture, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_composite<A>( &self, op: PictOp, src: Picture, mask: A, dst: Picture, src_x: i16, src_y: i16, mask_x: i16, mask_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<Picture>,

Source

fn render_trapezoids<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, traps: &'input [Trapezoid], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_triangles<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, triangles: &'input [Triangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_tri_strip<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_tri_fan<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_create_glyph_set( &self, gsid: Glyphset, format: Pictformat, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_reference_glyph_set( &self, gsid: Glyphset, existing: Glyphset, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_free_glyph_set( &self, glyphset: Glyphset, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_add_glyphs<'c, 'input>( &'c self, glyphset: Glyphset, glyphids: &'input [u32], glyphs: &'input [Glyphinfo], data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_free_glyphs<'c, 'input>( &'c self, glyphset: Glyphset, glyphs: &'input [Glyph], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_composite_glyphs8<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, glyphset: Glyphset, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_composite_glyphs16<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, glyphset: Glyphset, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_composite_glyphs32<'c, 'input>( &'c self, op: PictOp, src: Picture, dst: Picture, mask_format: Pictformat, glyphset: Glyphset, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_fill_rectangles<'c, 'input>( &'c self, op: PictOp, dst: Picture, color: Color, rects: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_create_cursor( &self, cid: Cursor, source: Picture, x: u16, y: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_set_picture_transform( &self, picture: Picture, transform: Transform, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_query_filters( &self, drawable: Drawable, ) -> Result<Cookie<'_, Self, QueryFiltersReply>, ConnectionError>

Source

fn render_set_picture_filter<'c, 'input>( &'c self, picture: Picture, filter: &'input [u8], values: &'input [Fixed], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_create_anim_cursor<'c, 'input>( &'c self, cid: Cursor, cursors: &'input [Animcursorelt], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_add_traps<'c, 'input>( &'c self, picture: Picture, x_off: i16, y_off: i16, traps: &'input [Trap], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_create_solid_fill( &self, picture: Picture, color: Color, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn render_create_linear_gradient<'c, 'input>( &'c self, picture: Picture, p1: Pointfix, p2: Pointfix, stops: &'input [Fixed], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_create_radial_gradient<'c, 'input>( &'c self, picture: Picture, inner: Pointfix, outer: Pointfix, inner_radius: Fixed, outer_radius: Fixed, stops: &'input [Fixed], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn render_create_conical_gradient<'c, 'input>( &'c self, picture: Picture, center: Pointfix, angle: Fixed, stops: &'input [Fixed], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§