~alcinnz/fontconfig-pure

ref: bdaebbb0d0fbcbdd947c3ff4a40bead9aac47980 fontconfig-pure/Graphics/Text/Font/Choose/Weight.hs -rw-r--r-- 391 bytes
bdaebbb0 — Adrian Cochrane Document FcValue language bindings. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
module Graphics.Text.Font.Choose.Weight where

foreign import ccall "FcWeightFromOpenTypeDouble" weightFromOpenTypeDouble ::
    Double -> Double
foreign import ccall "FcWeightToOpenTypeDouble" weightToOpenTypeDouble ::
    Double -> Double
foreign import ccall "FcWeightFromOpenType" weightFromOpenType :: Int -> Int
foreign import ccall "FcWeightToOpenType" weightToOpenType :: Int -> Int