Struct rute::auto::paint_engine_ffi::RUPaintEngineFuncs
source · #[repr(C)]pub struct RUPaintEngineFuncs {Show 25 fields
pub is_active: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_active: extern "C" fn(self_c: *const RUBase, new_state: bool),
pub begin: extern "C" fn(self_c: *const RUBase, pdev: *const RUBase) -> bool,
pub end: extern "C" fn(self_c: *const RUBase) -> bool,
pub update_state: extern "C" fn(self_c: *const RUBase, state: *const RUBase),
pub draw_rects: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32),
pub draw_rects_2: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32),
pub draw_lines: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32),
pub draw_lines_2: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32),
pub draw_ellipse: extern "C" fn(self_c: *const RUBase, r: *const RUBase),
pub draw_ellipse_2: extern "C" fn(self_c: *const RUBase, r: *const RUBase),
pub draw_points: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32),
pub draw_points_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32),
pub draw_polygon: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32),
pub draw_polygon_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32),
pub draw_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase),
pub draw_tiled_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pixmap: *const RUBase, s: *const RUBase),
pub draw_image: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase, flags: i32),
pub set_paint_device: extern "C" fn(self_c: *const RUBase, device: *const RUBase),
pub paint_device: extern "C" fn(self_c: *const RUBase) -> RUPaintDevice,
pub set_system_clip: extern "C" fn(self_c: *const RUBase, base_clip: *const RUBase),
pub system_clip: extern "C" fn(self_c: *const RUBase) -> RURegion,
pub set_system_rect: extern "C" fn(self_c: *const RUBase, rect: *const RUBase),
pub system_rect: extern "C" fn(self_c: *const RUBase) -> RURect,
pub coordinate_offset: extern "C" fn(self_c: *const RUBase) -> RUPoint,
}
Fields
is_active: extern "C" fn(self_c: *const RUBase) -> bool
set_active: extern "C" fn(self_c: *const RUBase, new_state: bool)
begin: extern "C" fn(self_c: *const RUBase, pdev: *const RUBase) -> bool
end: extern "C" fn(self_c: *const RUBase) -> bool
update_state: extern "C" fn(self_c: *const RUBase, state: *const RUBase)
draw_rects: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32)
draw_rects_2: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32)
draw_lines: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32)
draw_lines_2: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32)
draw_ellipse: extern "C" fn(self_c: *const RUBase, r: *const RUBase)
draw_ellipse_2: extern "C" fn(self_c: *const RUBase, r: *const RUBase)
draw_points: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32)
draw_points_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32)
draw_polygon: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32)
draw_polygon_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32)
draw_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase)
draw_tiled_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pixmap: *const RUBase, s: *const RUBase)
draw_image: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase, flags: i32)
set_paint_device: extern "C" fn(self_c: *const RUBase, device: *const RUBase)
paint_device: extern "C" fn(self_c: *const RUBase) -> RUPaintDevice
set_system_clip: extern "C" fn(self_c: *const RUBase, base_clip: *const RUBase)
system_clip: extern "C" fn(self_c: *const RUBase) -> RURegion
set_system_rect: extern "C" fn(self_c: *const RUBase, rect: *const RUBase)
system_rect: extern "C" fn(self_c: *const RUBase) -> RURect
coordinate_offset: extern "C" fn(self_c: *const RUBase) -> RUPoint
Trait Implementations
sourceimpl Clone for RUPaintEngineFuncs
impl Clone for RUPaintEngineFuncs
sourcefn clone(&self) -> RUPaintEngineFuncs
fn clone(&self) -> RUPaintEngineFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUPaintEngineFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPaintEngineFuncs
impl Send for RUPaintEngineFuncs
impl Sync for RUPaintEngineFuncs
impl Unpin for RUPaintEngineFuncs
impl UnwindSafe for RUPaintEngineFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more