Struct nuklear_rust::NkCommandBuffer
[−]
[src]
#[repr(C)]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
)
&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
)
&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
)
&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
)
&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
)
&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
)
&mut self,
points: &mut [f32],
line_thickness: f32,
color: NkColor
)
fn stroke_polygon(
&mut self,
points: &mut [f32],
line_thickness: f32,
color: NkColor
)
&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
)
&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
)
&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
)
&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
)
&mut self,
arg2: NkRect,
text: &str,
arg3: &NkUserFont,
arg4: NkColor,
arg5: NkColor
)
Trait Implementations
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 AsRef<nk_command_buffer> for NkCommandBuffer[src]
fn as_ref(&self) -> &nk_command_buffer
Performs the conversion.
impl AsMut<nk_command_buffer> for NkCommandBuffer[src]
fn as_mut(&mut self) -> &mut nk_command_buffer
Performs the conversion.