|  | Source code | Contents | Index

Graphics.UI.ObjectIO.StdPictureDef |

Portability | portable
Stability | provisional
Maintainer | ka2_mail@yahoo.com

Description
StdPictureDef contains the predefined figures that can be drawn.
Documentation
data Line2

Constructors

Line2 |

line_end1 :: !Point2 |
line_end2 :: !Point2 |

Instances

Drawables Line2

data Box

Constructors

Box |

box_w :: !Int |
box_h :: !Int |

Instances

Drawables Box
Fillables Box
Hilites Box

data Oval

Constructors

Oval |

oval_rx :: !Int |
oval_ry :: !Int |

Instances

Drawables Oval
Fillables Oval

data Curve

Constructors

Curve |

curve_oval :: !Oval |
curve_from :: !Float |
curve_to :: !Float |
curve_clockwise :: !Bool |

Instances

Drawables Curve
Fillables Curve
MovePen Curve

data Polygon

Constructors

Polygon |

polygon_shape :: ![Vector2] |

Instances

Drawables Polygon
Fillables Polygon

data FontDef

Constructors

FontDef |

fName :: !FontName |
fStyles :: ![FontStyle] |
fSize :: !FontSize |

data FontMetrics

Constructors

FontMetrics |

fAscent :: !Int |
fDescent :: !Int |
fLeading :: !Int |
fMaxWidth :: !Int |

type FontName = String
type FontStyle = String
type FontSize = Int
data Colour

Constructors

RGB |

r :: !Int |
g :: !Int |
b :: !Int |

Instances

Eq Colour

data PenAttribute

Constructors

PenSize Int |
PenPos Point2 |
PenColour Colour |
PenBack Colour |
PenFont Font |

data Font

Constructors

Font |

fontName :: !String |
fontSize :: !Int |
fontIsBold :: !Bool |
fontIsUnderline :: !Bool |
fontIsItalic :: !Bool |
fontIsStrikeout :: !Bool |

Instances

Eq Font

Produced by Haddock version 0.8