LoadBitmapSyntax

doodle.syntax.LoadBitmapSyntax

Attributes

Source
LoadBitmapSyntax.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object all
object loadBitmap

Members list

Extensions

Extensions

extension [B](ioBitmap: IO[B])
def mapBitmap[B2](f: B => B2): IO[B2]

Transform the bitmap inside the IO

Transform the bitmap inside the IO

Attributes

Source
LoadBitmapSyntax.scala
def toPicture[Alg <: Algebra](using tp: ToPicture[B, Alg]): IO[Picture[Alg, Unit]]

Convert to Picture inside the IO

Convert to Picture inside the IO

Attributes

Source
LoadBitmapSyntax.scala
extension [S](specifier: S)
def loadBitmap[B](using loader: LoadBitmap[S, B]): IO[B]

Load a bitmap from this specifier

Load a bitmap from this specifier

Attributes

Source
LoadBitmapSyntax.scala
def loadToPicture[B, Alg <: Algebra](using loader: LoadBitmap[S, B], tp: ToPicture[B, Alg]): IO[Picture[Alg, Unit]]

Load a bitmap and immediately convert to Picture. This is a convenience method that combines loading and conversion.

Load a bitmap and immediately convert to Picture. This is a convenience method that combines loading and conversion.

Attributes

Source
LoadBitmapSyntax.scala