Struct iui::draw::Path [−][src]
pub struct Path { /* fields omitted */ }Methods
impl Path[src]
impl Pathpub fn new(_ctx: &UI, fill_mode: FillMode) -> Path[src]
pub fn new(_ctx: &UI, fill_mode: FillMode) -> Pathpub fn new_figure(&self, _ctx: &UI, x: f64, y: f64)[src]
pub fn new_figure(&self, _ctx: &UI, x: f64, y: f64)pub fn new_figure_with_arc(
&self,
_ctx: &UI,
x_center: f64,
y_center: f64,
radius: f64,
start_angle: f64,
sweep: f64,
negative: bool
)[src]
pub fn new_figure_with_arc(
&self,
_ctx: &UI,
x_center: f64,
y_center: f64,
radius: f64,
start_angle: f64,
sweep: f64,
negative: bool
)pub fn line_to(&self, _ctx: &UI, x: f64, y: f64)[src]
pub fn line_to(&self, _ctx: &UI, x: f64, y: f64)pub fn arc_to(
&self,
_ctx: &UI,
x_center: f64,
y_center: f64,
radius: f64,
start_angle: f64,
sweep: f64,
negative: bool
)[src]
pub fn arc_to(
&self,
_ctx: &UI,
x_center: f64,
y_center: f64,
radius: f64,
start_angle: f64,
sweep: f64,
negative: bool
)pub fn bezier_to(
&self,
_ctx: &UI,
c1x: f64,
c1y: f64,
c2x: f64,
c2y: f64,
end_x: f64,
end_y: f64
)[src]
pub fn bezier_to(
&self,
_ctx: &UI,
c1x: f64,
c1y: f64,
c2x: f64,
c2y: f64,
end_x: f64,
end_y: f64
)pub fn close_figure(&self, _ctx: &UI)[src]
pub fn close_figure(&self, _ctx: &UI)pub fn add_rectangle(&self, _ctx: &UI, x: f64, y: f64, width: f64, height: f64)[src]
pub fn add_rectangle(&self, _ctx: &UI, x: f64, y: f64, width: f64, height: f64)pub fn end(&self, _ctx: &UI)[src]
pub fn end(&self, _ctx: &UI)pub fn ptr(&self) -> *mut uiDrawPath[src]
pub fn ptr(&self) -> *mut uiDrawPathReturn the underlying pointer for this Path.