Graphics.Win32.GDI.Font

Win32-2.6.1.0: A binding to part of the Win32 library

Copyright | (c) Alastair Reid 1997-2003
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell2010

Graphics.Win32.GDI.Font

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

type CharSet = UINT Source #

type PitchAndFamily = UINT Source #

type OutPrecision = UINT Source #

type ClipPrecision = UINT Source #

type FontQuality = UINT Source #

type FontWeight = Word32 Source #

type FaceName = String Source #

aNSI_CHARSET :: CharSet Source #

dEFAULT_CHARSET :: CharSet Source #

sYMBOL_CHARSET :: CharSet Source #

sHIFTJIS_CHARSET :: CharSet Source #

hANGEUL_CHARSET :: CharSet Source #

cHINESEBIG5_CHARSET :: CharSet Source #

oEM_CHARSET :: CharSet Source #

dEFAULT_PITCH :: PitchAndFamily Source #

fIXED_PITCH :: PitchAndFamily Source #

vARIABLE_PITCH :: PitchAndFamily Source #

fF_DONTCARE :: PitchAndFamily Source #

fF_ROMAN :: PitchAndFamily Source #

fF_SWISS :: PitchAndFamily Source #

fF_MODERN :: PitchAndFamily Source #

familyMask :: PitchAndFamily Source #

pitchMask :: PitchAndFamily Source #

fF_SCRIPT :: PitchAndFamily Source #

fF_DECORATIVE :: PitchAndFamily Source #

oUT_DEFAULT_PRECIS :: OutPrecision Source #

oUT_STRING_PRECIS :: OutPrecision Source #

oUT_CHARACTER_PRECIS :: OutPrecision Source #

oUT_STROKE_PRECIS :: OutPrecision Source #

oUT_TT_PRECIS :: OutPrecision Source #

oUT_DEVICE_PRECIS :: OutPrecision Source #

cLIP_DEFAULT_PRECIS :: ClipPrecision Source #

oUT_RASTER_PRECIS :: OutPrecision Source #

cLIP_CHARACTER_PRECIS :: ClipPrecision Source #

oUT_TT_ONLY_PRECIS :: OutPrecision Source #

cLIP_STROKE_PRECIS :: ClipPrecision Source #

cLIP_MASK :: ClipPrecision Source #

cLIP_LH_ANGLES :: ClipPrecision Source #

dEFAULT_QUALITY :: FontQuality Source #

cLIP_TT_ALWAYS :: ClipPrecision Source #

dRAFT_QUALITY :: FontQuality Source #

cLIP_EMBEDDED :: ClipPrecision Source #

pROOF_QUALITY :: FontQuality Source #

fW_DONTCARE :: FontWeight Source #

fW_THIN :: FontWeight Source #

fW_EXTRALIGHT :: FontWeight Source #

fW_LIGHT :: FontWeight Source #

fW_NORMAL :: FontWeight Source #

fW_MEDIUM :: FontWeight Source #

fW_SEMIBOLD :: FontWeight Source #

fW_BOLD :: FontWeight Source #

fW_EXTRABOLD :: FontWeight Source #

fW_HEAVY :: FontWeight Source #

fW_REGULAR :: FontWeight Source #

fW_ULTRALIGHT :: FontWeight Source #

fW_DEMIBOLD :: FontWeight Source #

createFont :: INT -> INT -> INT -> INT -> FontWeight -> Bool -> Bool -> Bool -> CharSet -> OutPrecision -> ClipPrecision -> FontQuality -> PitchAndFamily -> FaceName -> IO HFONT Source #

fW_ULTRABOLD :: FontWeight Source #

fW_BLACK :: FontWeight Source #

c_CreateFont :: INT -> INT -> INT -> INT -> FontWeight -> Bool -> Bool -> Bool -> CharSet -> OutPrecision -> ClipPrecision -> FontQuality -> PitchAndFamily -> LPCTSTR -> IO HFONT Source #

deleteFont :: HFONT -> IO () Source #

type StockFont = WORD Source #

oEM_FIXED_FONT :: StockFont Source #

aNSI_FIXED_FONT :: StockFont Source #

aNSI_VAR_FONT :: StockFont Source #

sYSTEM_FONT :: StockFont Source #

dEVICE_DEFAULT_FONT :: StockFont Source #

getStockFont :: StockFont -> IO HFONT Source #

sYSTEM_FIXED_FONT :: StockFont Source #