Graphics.Win32.GDI.Font

Win32-2.3.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 | Haskell98

Graphics.Win32.GDI.Font

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

type CharSet = UINT

type PitchAndFamily = UINT

type OutPrecision = UINT

type ClipPrecision = UINT

type FontQuality = UINT

type FontWeight = Word32

type FaceName = String

aNSI_CHARSET :: CharSet

dEFAULT_CHARSET :: CharSet

sYMBOL_CHARSET :: CharSet

sHIFTJIS_CHARSET :: CharSet

hANGEUL_CHARSET :: CharSet

cHINESEBIG5_CHARSET :: CharSet

dEFAULT_PITCH :: PitchAndFamily

oEM_CHARSET :: CharSet

fIXED_PITCH :: PitchAndFamily

vARIABLE_PITCH :: PitchAndFamily

fF_DONTCARE :: PitchAndFamily

fF_ROMAN :: PitchAndFamily

fF_SWISS :: PitchAndFamily

fF_MODERN :: PitchAndFamily

familyMask :: PitchAndFamily

pitchMask :: PitchAndFamily

fF_SCRIPT :: PitchAndFamily

fF_DECORATIVE :: PitchAndFamily

oUT_DEFAULT_PRECIS :: OutPrecision

oUT_STRING_PRECIS :: OutPrecision

oUT_CHARACTER_PRECIS :: OutPrecision

oUT_STROKE_PRECIS :: OutPrecision

oUT_TT_PRECIS :: OutPrecision

oUT_DEVICE_PRECIS :: OutPrecision

cLIP_DEFAULT_PRECIS :: ClipPrecision

oUT_RASTER_PRECIS :: OutPrecision

cLIP_CHARACTER_PRECIS :: ClipPrecision

oUT_TT_ONLY_PRECIS :: OutPrecision

cLIP_STROKE_PRECIS :: ClipPrecision

cLIP_MASK :: ClipPrecision

cLIP_LH_ANGLES :: ClipPrecision

dEFAULT_QUALITY :: FontQuality

cLIP_TT_ALWAYS :: ClipPrecision

dRAFT_QUALITY :: FontQuality

cLIP_EMBEDDED :: ClipPrecision

pROOF_QUALITY :: FontQuality

fW_DONTCARE :: FontWeight

fW_THIN :: FontWeight

fW_EXTRALIGHT :: FontWeight

fW_LIGHT :: FontWeight

fW_NORMAL :: FontWeight

fW_MEDIUM :: FontWeight

fW_SEMIBOLD :: FontWeight

fW_BOLD :: FontWeight

fW_EXTRABOLD :: FontWeight

fW_HEAVY :: FontWeight

fW_REGULAR :: FontWeight

fW_ULTRALIGHT :: FontWeight

fW_DEMIBOLD :: FontWeight

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

fW_ULTRABOLD :: FontWeight

fW_BLACK :: FontWeight

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

deleteFont :: HFONT -> IO ()

type StockFont = WORD

oEM_FIXED_FONT :: StockFont

aNSI_FIXED_FONT :: StockFont

aNSI_VAR_FONT :: StockFont

sYSTEM_FONT :: StockFont

dEVICE_DEFAULT_FONT :: StockFont

getStockFont :: StockFont -> IO HFONT

sYSTEM_FIXED_FONT :: StockFont