implicit-0.3.0.1: A math-inspired programmatic 2D & 3D CAD system.

Safe HaskellNone
LanguageHaskell2010

Graphics.Implicit.Export

Synopsis

Documentation

writeObject Source #

Arguments

:: DiscreteAproxable obj aprox 
=>

Resolution

-> (aprox -> Text)

File Format Writer (Function that formats)

-> FilePath

File Name

-> obj

Object to render

-> IO ()

Writing Action!

Write an object to a file with LazyText IO, using the given format writer function.

formatObject Source #

Arguments

:: DiscreteAproxable obj aprox 
=>

Resolution

-> (aprox -> Text)

File Format Writer (Function that formats)

-> obj

Object to render

-> Text

Resulting lazy ByteString

Serialize an object using the given format writer. No file target is implied.