Enum femtovg::renderer::CommandType[][src]

pub enum CommandType {
    SetRenderTarget(RenderTarget),
    ClearRect {
        x: u32,
        y: u32,
        width: u32,
        height: u32,
        color: Color,
    },
    ConvexFill {
        params: Params,
    },
    ConcaveFill {
        stencil_params: Params,
        fill_params: Params,
    },
    Stroke {
        params: Params,
    },
    StencilStroke {
        params1: Params,
        params2: Params,
    },
    Triangles {
        params: Params,
    },
    RenderFilteredImage {
        target_image: ImageId,
        filter: ImageFilter,
    },
}

Variants

SetRenderTarget(RenderTarget)
ClearRect
Show fields

Fields of ClearRect

x: u32y: u32width: u32height: u32color: Color
ConvexFill
Show fields

Fields of ConvexFill

params: Params
ConcaveFill
Show fields

Fields of ConcaveFill

stencil_params: Paramsfill_params: Params
Stroke
Show fields

Fields of Stroke

params: Params
StencilStroke
Show fields

Fields of StencilStroke

params1: Paramsparams2: Params
Triangles
Show fields

Fields of Triangles

params: Params
RenderFilteredImage
Show fields

Fields of RenderFilteredImage

target_image: ImageIdfilter: ImageFilter

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.