Struct nuki::CommandBuffer [−][src]
#[repr(C)]pub struct CommandBuffer { /* fields omitted */ }
Implementations
pub fn stroke_line(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
line_thickness: f32,
color: Color
)
pub fn stroke_curve(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
x3: f32,
y3: f32,
line_thickness: f32,
color: Color
)
pub fn stroke_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
line_thickness: f32,
color: Color
)
pub fn stroke_triangle(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
line_thichness: f32,
color: Color
)
pub fn fill_rect_multi_color(
&mut self,
arg2: Rect,
left: Color,
top: Color,
right: Color,
bottom: Color
)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CommandBuffer
impl !Send for CommandBuffer
impl !Sync for CommandBuffer
impl Unpin for CommandBuffer
impl UnwindSafe for CommandBuffer
Blanket Implementations
Mutably borrows from an owned value. Read more