Struct nuklear_rust::NkCommandBuffer
[−]
[src]
pub struct NkCommandBuffer { /* fields omitted */ }
Methods
impl NkCommandBuffer
[src]
fn stroke_line(&mut self, x0: f32, y0: f32, x1: f32, y1: f32, line_thickness: f32, color: NkColor)
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: NkColor)
fn stroke_rect(&mut self, bounds: NkRect, rounding: f32, line_thickness: f32, color: NkColor)
fn stroke_circle(&mut self, arg2: NkRect, line_thickness: f32, color: NkColor)
fn stroke_arc(&mut self, cx: f32, cy: f32, radius: f32, a_min: f32, a_max: f32, line_thickness: f32, color: NkColor)
fn stroke_triangle(&mut self, x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32, line_thichness: f32, color: NkColor)
fn stroke_polyline(&mut self, points: &mut [f32], line_thickness: f32, color: NkColor)
fn stroke_polygon(&mut self, points: &mut [f32], line_thickness: f32, color: NkColor)
fn fill_rect(&mut self, arg2: NkRect, rounding: f32, color: NkColor)
fn fill_rect_multi_color(&mut self, arg2: NkRect, left: NkColor, top: NkColor, right: NkColor, bottom: NkColor)
fn fill_circle(&mut self, arg2: NkRect, color: NkColor)
fn fill_arc(&mut self, cx: f32, cy: f32, radius: f32, a_min: f32, a_max: f32, color: NkColor)
fn fill_triangle(&mut self, x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32, color: NkColor)
fn fill_polygon(&mut self, points: &mut [f32], color: NkColor)
fn push_scissor(&mut self, arg2: NkRect)
fn draw_image(&mut self, arg2: NkRect, arg3: &NkImage, arg4: NkColor)
fn draw_text(&mut self, arg2: NkRect, text: &str, arg3: &NkUserFont, arg4: NkColor, arg5: NkColor)
Trait Implementations
impl Debug for NkCommandBuffer
[src]
impl Clone for NkCommandBuffer
[src]
fn clone(&self) -> NkCommandBuffer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for NkCommandBuffer
[src]
impl PartialEq for NkCommandBuffer
[src]
fn eq(&self, __arg_0: &NkCommandBuffer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NkCommandBuffer) -> bool
This method tests for !=
.