Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Rects | |
|
renderRects :: (MonadIO m, MonadIO n) => n (RectStyle Texture -> Rects -> M44 Float -> m ()) Source #
RectStyle | |
|
Instances
Eq img => Eq (RectStyle img) Source # | |
Read img => Read (RectStyle img) Source # | |
Defined in Graphics.Rendering.Rect.CSS | |
Show img => Show (RectStyle img) Source # | |
PropertyParser (RectStyle Text) Source # | |
Defined in Graphics.Rendering.Rect.CSS inherit :: RectStyle Text -> RectStyle Text # priority :: RectStyle Text -> [Text] # shorthand :: RectStyle Text -> Text -> [Token] -> [(Text, [Token])] # longhand :: RectStyle Text -> RectStyle Text -> Text -> [Token] -> Maybe (RectStyle Text) # getVars :: RectStyle Text -> Props # setVars :: Props -> RectStyle Text -> RectStyle Text # pseudoEl :: RectStyle Text -> Text -> (RectStyle Text -> Maybe (RectStyle Text) -> RectStyle Text) -> RectStyle Text # |
colour :: RectStyle img -> AlphaColour Float Source #
data Backgrounds img Source #
Instances
None | |
Img img | |
Linear Float [(C, Length)] | |
Radial RadialShape Extent (Length, Length) [(C, Length)] | |
Conical Float (Length, Length) [(C, Length)] |
data RadialShape Source #
Instances
Eq RadialShape Source # | |
Defined in Graphics.Rendering.Rect.CSS.Backgrounds (==) :: RadialShape -> RadialShape -> Bool (/=) :: RadialShape -> RadialShape -> Bool | |
Read RadialShape Source # | |
Defined in Graphics.Rendering.Rect.CSS.Backgrounds readsPrec :: Int -> ReadS RadialShape readList :: ReadS [RadialShape] readPrec :: ReadPrec RadialShape readListPrec :: ReadPrec [RadialShape] | |
Show RadialShape Source # | |
Defined in Graphics.Rendering.Rect.CSS.Backgrounds showsPrec :: Int -> RadialShape -> ShowS show :: RadialShape -> String showList :: [RadialShape] -> ShowS |
Border | |
|
Instances
Eq Border Source # | |
Read Border Source # | |
Defined in Graphics.Rendering.Rect.CSS.Border | |
Show Border Source # | |
PropertyParser Border Source # | |
Defined in Graphics.Rendering.Rect.CSS.Border |
data BorderStyle Source #
Instances
Enum BorderStyle Source # | |
Defined in Graphics.Rendering.Rect.CSS.Border succ :: BorderStyle -> BorderStyle pred :: BorderStyle -> BorderStyle toEnum :: Int -> BorderStyle fromEnum :: BorderStyle -> Int enumFrom :: BorderStyle -> [BorderStyle] enumFromThen :: BorderStyle -> BorderStyle -> [BorderStyle] enumFromTo :: BorderStyle -> BorderStyle -> [BorderStyle] enumFromThenTo :: BorderStyle -> BorderStyle -> BorderStyle -> [BorderStyle] | |
Eq BorderStyle Source # | |
Defined in Graphics.Rendering.Rect.CSS.Border (==) :: BorderStyle -> BorderStyle -> Bool (/=) :: BorderStyle -> BorderStyle -> Bool | |
Read BorderStyle Source # | |
Defined in Graphics.Rendering.Rect.CSS.Border readsPrec :: Int -> ReadS BorderStyle readList :: ReadS [BorderStyle] readPrec :: ReadPrec BorderStyle readListPrec :: ReadPrec [BorderStyle] | |
Show BorderStyle Source # | |
Defined in Graphics.Rendering.Rect.CSS.Border showsPrec :: Int -> BorderStyle -> ShowS show :: BorderStyle -> String showList :: [BorderStyle] -> ShowS |
topColour :: Border -> AlphaColour Float Source #
rightColour :: Border -> AlphaColour Float Source #
bottomColour :: Border -> AlphaColour Float Source #
leftColour :: Border -> AlphaColour Float Source #
buildAtlas :: MonadIO m => (Text -> IO DynamicImage) -> [Text] -> m Atlas Source #
atlasFromStyles :: MonadIO m => (Text -> IO DynamicImage) -> [RectStyle Text] -> m Atlas Source #