~alcinnz/fontconfig-pure

ref: 3598fc24625f233cc0078f62da630d335604ef5b fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 242 bytes
3598fc24 — Adrian Cochrane Add more unboxing & null-checks to FcValue decoding. 2 years ago
                                                                                
24a77a5f Adrian Cochrane
1
2
3
4
5
6
7
module Graphics.Text.Font.Choose.Weight where

foreign import ccall "FcWeightFromOpenTypeDouble" weightFromOpenTypeDouble ::
    Double -> Double
foreign import ccall "FcWeightToOpenTypeDouble" weightToOpenTypeDouble ::
    Double -> Double