RendererPictureOps

doodle.syntax.AbstractRendererSyntax.RendererPictureOps
implicit class RendererPictureOps[Alg <: Algebra, A](picture: Picture[Alg, A])

Attributes

Source:
AbstractRendererSyntax.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def draw[Frame, Canvas]()(implicit renderer: DefaultRenderer[Alg, Frame, Canvas], r: IORuntime): Unit

Convenience to immediately render a Picture, using the default Frame options for this Renderer.

Convenience to immediately render a Picture, using the default Frame options for this Renderer.

Attributes

Source:
AbstractRendererSyntax.scala
def drawToIO[Frame, Canvas]()(implicit renderer: DefaultRenderer[Alg, Frame, Canvas]): IO[A]

Create an effect that, when run, will draw Picture on the default Frame for this Renderer.

Create an effect that, when run, will draw Picture on the default Frame for this Renderer.

Attributes

Source:
AbstractRendererSyntax.scala
def drawWithCanvas[Canvas](canvas: Canvas)(implicit renderer: Renderer[Alg, _, Canvas], r: IORuntime): Unit

Convenience to immediately render a Picture, using the given Canvas for this Renderer.

Convenience to immediately render a Picture, using the given Canvas for this Renderer.

Attributes

Source:
AbstractRendererSyntax.scala
def drawWithCanvasToIO[Canvas](canvas: Canvas)(implicit renderer: Renderer[Alg, _, Canvas]): IO[A]

Create an effect that, when run, will draw the Picture on the given Canvas.

Create an effect that, when run, will draw the Picture on the given Canvas.

Attributes

Source:
AbstractRendererSyntax.scala
def drawWithFrame[Frame, Canvas](frame: Frame)(implicit renderer: Renderer[Alg, Frame, Canvas], r: IORuntime): Unit

Convenience to immediately render a Picture, using the given Frame options for this Renderer.

Convenience to immediately render a Picture, using the given Frame options for this Renderer.

Attributes

Source:
AbstractRendererSyntax.scala
def drawWithFrameToIO[Frame, Canvas](frame: Frame)(implicit renderer: Renderer[Alg, Frame, Canvas]): IO[A]

Create an effect that, when run, will draw the Picture using the given Frame options.

Create an effect that, when run, will draw the Picture using the given Frame options.

Attributes

Source:
AbstractRendererSyntax.scala