Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
contextSetMatrix :: PangoContext -> Matrix -> IO ()pango Graphics.Rendering.Pango.Context Sets the transformation matrix that will be applied when rendering with this context. Note that any metrics reported by other functions are in user space coordinates before the application of the matrix, not device-space coordinates after the application of the matrix. So, they don't scale with the matrix, though they may change slightly for different matrices, depending on how the text is fit to the pixel grid.
- Since Pango 1.6
contextSetTextDir :: PangoContext -> PangoDirection -> IO ()pango Graphics.Rendering.Pango.Context Set the default text direction of this context.
contextSetTextGravity :: PangoContext -> PangoGravity -> IO ()pango Graphics.Rendering.Pango.Context Set the text gravity of this context. If the given value is PangoGravityAuto then the gravity is derived from the current rotation matrix.
contextSetTextGravityHint :: PangoContext -> PangoGravityHint -> IO ()pango Graphics.Rendering.Pango.Context Set the text gravity hint of this context.
fontDescriptionSetFamily :: GlibString string => FontDescription -> string -> IO ()pango Graphics.Rendering.Pango.Font Set the font famliy.
- A font family is a name designating the design of the font (e.g. Sans or Times) without the variant.
- In some contexts a comma separated list of font families can be used.
fontDescriptionSetSize :: FontDescription -> Double -> IO ()pango Graphics.Rendering.Pango.Font Set the size field.
- The given size is in points (pts). One point is 1/72 inch.
fontDescriptionSetStretch :: FontDescription -> Stretch -> IO ()pango Graphics.Rendering.Pango.Font Set the stretch field.
fontDescriptionSetStyle :: FontDescription -> FontStyle -> IO ()pango Graphics.Rendering.Pango.Font Set the style field.
- Most fonts will have either a StyleItalic or StyleOblique but rarely both.
fontDescriptionSetVariant :: FontDescription -> Variant -> IO ()pango Graphics.Rendering.Pango.Font Set the variant field.
fontDescriptionSetWeight :: FontDescription -> Weight -> IO ()pango Graphics.Rendering.Pango.Font Set the weight field.