Struct rg3d_ui::draw::DrawingContext[][src]

pub struct DrawingContext { /* fields omitted */ }

Implementations

impl DrawingContext[src]

pub fn new() -> DrawingContext[src]

pub fn clear(&mut self)[src]

pub fn get_vertices(&self) -> &[Vertex][src]

pub fn get_triangles(&self) -> &[TriangleDefinition][src]

pub fn get_commands(&self) -> &Vec<Command>[src]

pub fn push_opacity(&mut self, opacity: f32)[src]

pub fn pop_opacity(&mut self)[src]

pub fn triangle_points(
    &self,
    triangle: &TriangleDefinition
) -> Option<(&Vertex, &Vertex, &Vertex)>
[src]

pub fn is_command_contains_point(
    &self,
    command: &Command,
    pos: Vector2<f32>
) -> bool
[src]

pub fn commit(
    &mut self,
    clip_bounds: Rect<f32>,
    brush: Brush,
    texture: CommandTexture,
    clipping_geometry: Option<ClippingGeometry>
)
[src]

pub fn draw_text(
    &mut self,
    clip_bounds: Rect<f32>,
    position: Vector2<f32>,
    formatted_text: &FormattedText
)
[src]

Trait Implementations

impl Default for DrawingContext[src]

impl Draw for DrawingContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,