Struct epaint::tessellator::Tessellator[][src]

pub struct Tessellator { /* fields omitted */ }
Expand description

Converts Shapes into Mesh.

Implementations

Tessellate a single Shape into a Mesh.

  • shape: the shape to tessellate
  • options: tessellation quality
  • tex_size: size of the font texture (required to normalize glyph uv rectangles)
  • out: where the triangles are put
  • scratchpad_path: if you plan to run tessellate_shape many times, pass it a reference to the same Path to avoid excessive allocations.

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.