Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data CharSize = CharSize {}
- data GlyphSize
- pixelWidth :: GlyphSize -> Float
- pixelHeight :: GlyphSize -> Float
- data GlyphMetrics = GlyphMetrics {
- glyphTexBB :: (V2 Int, V2 Int)
- glyphTexSize :: V2 Int
- glyphSize :: V2 Int
- glyphHoriBearing :: V2 Int
- glyphVertBearing :: V2 Int
- glyphAdvance :: V2 Int
Documentation
The size of one freetype font character. https://www.freetype.org/freetype2/docs/tutorial/step1.html#section-5
CharSize | |
|
pixelWidth :: GlyphSize -> Float Source #
pixelHeight :: GlyphSize -> Float Source #
data GlyphMetrics Source #
GlyphMetrics | |
|
Instances
Eq GlyphMetrics Source # | |
Defined in Typograffiti.Glyph (==) :: GlyphMetrics -> GlyphMetrics -> Bool # (/=) :: GlyphMetrics -> GlyphMetrics -> Bool # | |
Show GlyphMetrics Source # | |
Defined in Typograffiti.Glyph showsPrec :: Int -> GlyphMetrics -> ShowS # show :: GlyphMetrics -> String # showList :: [GlyphMetrics] -> ShowS # |