Portability | GHC |
---|---|
Stability | unstable |
Maintainer | stephen.tetley@gmail.com |
Render
- type RenderScalingCtx = ScalingContext Int Int Double
- makeRenderScaling :: (Int -> Double) -> (Int -> Double) -> ScalingContext Int Int Double
- type DrawWordF = RGBi -> Double -> Double -> Int -> DLocGraphic
- greekF :: DrawWordF
- strokelineF :: DrawWordF
- borderedF :: DrawWordF
- render :: RenderScalingCtx -> DrawWordF -> GreekText -> Drawing Double ()
Documentation
makeRenderScaling :: (Int -> Double) -> (Int -> Double) -> ScalingContext Int Int DoubleSource
type DrawWordF = RGBi -> Double -> Double -> Int -> DLocGraphicSource
colour * scaled_width * scaled_height -> char_count -> DLocGraphic
strokelineF :: DrawWordFSource
A stroked line.