[−][src]Struct nvg_gl::Renderer
Methods
impl Renderer
[src]
Trait Implementations
impl Drop for Renderer
[src]
impl Renderer for Renderer
[src]
fn edge_antialias(&self) -> bool
[src]
fn create_texture(
&mut self,
texture_type: TextureType,
width: usize,
height: usize,
flags: ImageFlags,
data: Option<&[u8]>
) -> Result<ImageId>
[src]
&mut self,
texture_type: TextureType,
width: usize,
height: usize,
flags: ImageFlags,
data: Option<&[u8]>
) -> Result<ImageId>
fn delete_texture(&mut self, img: ImageId) -> Result<()>
[src]
fn update_texture(
&mut self,
img: ImageId,
x: usize,
y: usize,
width: usize,
height: usize,
data: &[u8]
) -> Result<()>
[src]
&mut self,
img: ImageId,
x: usize,
y: usize,
width: usize,
height: usize,
data: &[u8]
) -> Result<()>
fn texture_size(&self, img: ImageId) -> Result<(usize, usize)>
[src]
fn viewport(&mut self, extent: Extent, _device_pixel_ratio: f32) -> Result<()>
[src]
fn cancel(&mut self) -> Result<()>
[src]
fn flush(&mut self) -> Result<()>
[src]
fn fill(
&mut self,
paint: &Paint,
composite_operation: CompositeOperationState,
scissor: &Scissor,
fringe: f32,
bounds: Bounds,
paths: &[Path]
) -> Result<()>
[src]
&mut self,
paint: &Paint,
composite_operation: CompositeOperationState,
scissor: &Scissor,
fringe: f32,
bounds: Bounds,
paths: &[Path]
) -> Result<()>
fn stroke(
&mut self,
paint: &Paint,
composite_operation: CompositeOperationState,
scissor: &Scissor,
fringe: f32,
stroke_width: f32,
paths: &[Path]
) -> Result<()>
[src]
&mut self,
paint: &Paint,
composite_operation: CompositeOperationState,
scissor: &Scissor,
fringe: f32,
stroke_width: f32,
paths: &[Path]
) -> Result<()>
fn triangles(
&mut self,
paint: &Paint,
composite_operation: CompositeOperationState,
scissor: &Scissor,
vertexes: &[Vertex]
) -> Result<()>
[src]
&mut self,
paint: &Paint,
composite_operation: CompositeOperationState,
scissor: &Scissor,
vertexes: &[Vertex]
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for Renderer
impl Send for Renderer
impl Sync for Renderer
impl Unpin for Renderer
impl UnwindSafe for Renderer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,