haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.System.Graphics.Drawing

Description

Drawing methods for frame buffers

Use and re-export parts of JuicyPixels and Rasterific.

Synopsis

Documentation

data BlendOp Source #

Blanding method

Constructors

BlendCopy 
BlendAlpha 

blendImage :: GenericFrame -> Image PixelRGBA8 -> BlendOp -> (Int, Int) -> (Int, Int, Int, Int) -> IO () Source #

Display an image

fillFrame :: GenericFrame -> Word32 -> IO () Source #

Fill with a color

data PixelRGBA8 :: * #

Classical pixel type storing 8bit red, green, blue and alpha (RGBA) information. Values are stored in the following order:

  • Red
  • Green
  • Blue
  • Alpha

Instances

Eq PixelRGBA8 
Ord PixelRGBA8 
Show PixelRGBA8 
TiffSaveable PixelRGBA8 
TgaSaveable PixelRGBA8 
Pixel PixelRGBA8 
LumaPlaneExtractable PixelRGBA8 
PackeablePixel PixelRGBA8 
InterpolablePixel PixelRGBA8 

Associated Types

type Holder PixelRGBA8 :: * -> *

ColorPlane PixelRGBA8 PlaneRed 
ColorPlane PixelRGBA8 PlaneGreen 
ColorPlane PixelRGBA8 PlaneBlue 
ColorPlane PixelRGBA8 PlaneAlpha 
TransparentPixel PixelRGBA8 PixelRGB8 
ColorConvertible Pixel8 PixelRGBA8 
ColorConvertible PixelYA8 PixelRGBA8 
ColorConvertible PixelRGB8 PixelRGBA8 
ColorConvertible PixelRGBA8 PixelRGBA16 
type PixelBaseComponent PixelRGBA8 
type PackedRepresentation PixelRGBA8 
type Holder PixelRGBA8 
type Holder PixelRGBA8 = V4