Struct paws::NoRenderer
source · [−]pub struct NoRenderer;
Expand description
A dummy renderer. This can be used for executing graphics commands without a graphical backend available.
Trait Implementations
type Font = NoRendererFont
type Font = NoRendererFont
The font type used for rendering text. May be ()
if text rendering isn’t supported.
Pops the topmost transform matrix and clip region off the stack and overwrites the current transform matrix with it. Read more
Updates the clip region to the intersection of the current clip region and the provided rectangle.
Initially, the clip region spans the whole window. This only allows for shrinking the clip region in size.
The only way to increase its size is to use push()
and pop()
. Read more
Draws a fill for the provided rectangle, with the given color and corner radius.
Draws an outline for the provided rectangle, with the given color, corner radius, and thickness.
Draws a line from point A to point B, with the given color, cap type, and thickness.