risk-weaver-0.1.0.2: A DSL for Risk-oriented Object Detection Requirements
Safe HaskellSafe-Inferred
LanguageGHC2021

RiskWeaver.Draw

Documentation

data PixelFormat Source #

Constructors

Y8 
YF 
YA8 
RGB8 
RGBF 
RGBA8 
YCbCr8 
CMYK8 
CMYK16 
RGBA16 
RGB16 
Y16 
YA16 
Y32 

Instances

Instances details
Show PixelFormat Source # 
Instance details

Defined in RiskWeaver.Draw

Eq PixelFormat Source # 
Instance details

Defined in RiskWeaver.Draw

drawLine :: Int -> Int -> Int -> Int -> (Int, Int, Int) -> Image PixelRGB8 -> IO () Source #

drawRect :: Int -> Int -> Int -> Int -> (Int, Int, Int) -> Image PixelRGB8 -> IO () Source #

drawString :: String -> Int -> Int -> (Int, Int, Int) -> (Int, Int, Int) -> Image PixelRGB8 -> IO () Source #

drawChar :: Int -> Int -> Int -> (Int, Int, Int) -> (Int, Int, Int) -> Image PixelRGB8 -> IO () Source #