pub fn rect(&self, x: f32, y: f32, w: f32, h: f32) {
        unsafe {
            sys::nvgRect(self.ctx, x, y, w, h);
        }
    }
/// Creates new rectangle shaped sub-path.
Creates new rectangle shaped sub-path.
Creates new rectangle shaped sub - path .
pub fn rect(&self, x: f32, y: f32, w: f32, h: f32) {
        unsafe {
            sys::nvgRect(self.ctx, x, y, w, h);
        }
    }
pub fn rect ( & self , x : f32 , y : f32 , w : f32 , h : f32 ) { unsafe { sys :: nvgRect ( self . ctx , x , y , w , h ) ; } }
Creates new rectangle shaped sub-path.
Creates new rectangle shaped sub - path .
&self
x
f32
y
f32
w
f32
h
f32