The Gnome Chemistry Utils  0.14.0
Classes | Enumerations
gccv Namespace Reference

Gnome Chemistry Canvas library namespace. More...

Classes

class  Arrow
 Simple arrows class. More...
class  BezierArrow
 Curved arrows. More...
class  Canvas
 the Canvas class More...
class  Circle
 Circles. More...
class  Client
 The document associated with the canvas. More...
class  FillItem
 Base class for filled items. More...
class  Group
 Item with Item children. More...
class  Hash
 Equilateral hashed triangle. More...
class  ItemClient
 the base class for objects associated with a canvas item. More...
class  Item
 The base class for the canvas contents. More...
class  Leaf
 A drop or leaf item. More...
class  LineItem
 Base class for line items, whether straight or curved. More...
class  Line
 Straight lines. More...
class  PolyLine
 Multi-segments line. More...
class  Polygon
 Polygon. More...
class  Rectangle
 Rectangles. More...
class  Squiggle
 Squiggle line. More...
struct  Rect
struct  Point
class  TextClient
 ItemClient for text items. More...
class  TextTag
 class for text attributes More...
class  FamilyTextTag
 Font family. More...
class  SizeTextTag
 Font size. More...
class  StyleTextTag
 Font style. More...
class  WeightTextTag
 Font weight. More...
class  VariantTextTag
 Font variant. More...
class  StretchTextTag
 Font stretch. More...
class  UnderlineTextTag
 Underline. More...
class  OverlineTextTag
 Overline. More...
class  StrikethroughTextTag
 Strikethrough. More...
class  ForegroundTextTag
 Foreground color. More...
class  BackgroundTextTag
 Background color. More...
class  RiseTextTag
 Rise. More...
class  PositionTextTag
 Position. More...
class  NewLineTextTag
 New line. More...
class  TextTagList
 TextTag list. More...
class  Text
 Text. More...
class  Wedge
 Equilateral triangle. More...

Enumerations

enum  BracketsTypes { BracketsTypeNormal, BracketsTypeSquare, BracketsTypeCurly }
enum  BracketsUses { BracketsOpening = 1, BracketsClosing, BracketsBoth }
enum  Anchor {
  AnchorNorthWest, AnchorNorth, AnchorNorthEast, AnchorLineWest,
  AnchorLine, AnchorLineEast, AnchorWest, AnchorCenter,
  AnchorEast, AnchorSouthWest, AnchorSouth, AnchorSouthEast
}
enum  ArrowHeads { ArrowHeadNone, ArrowHeadFull, ArrowHeadLeft, ArrowHeadRight }
enum  TextPosition { Normalscript, Subscript, Superscript }
enum  TextDecoration {
  TextDecorationNone, TextDecorationDefault, TextDecorationHigh, TextDecorationMedium,
  TextDecorationLow, TextDecorationDouble, TextDecorationSquiggle
}
enum  Tag {
  Invalid, Family, Size, Style,
  Weight, Variant, Stretch, Underline,
  Overline, Strikethrough, Foreground, Background,
  Rise, Position, NewLine, MaxTag
}
enum  TagPriority { TagPriorityFirst, TagPriorityLast }

Detailed Description

Gnome Chemistry Canvas library namespace.

The namespace used for the canvas C++ classes used by GChemPaint.

Enumeration Type Documentation

Anchor Text anchoring modes.

Enumerator:
AnchorNorthWest 

Anchor at top left.

AnchorNorth 

Anchor at top center.

AnchorNorthEast 

Anchor at top right.

AnchorLineWest 

Anchor at left of base of the first line.

AnchorLine 

Anchor at center of base of the first line.

AnchorLineEast 

Anchor at right of base of the first line.

AnchorWest 

Anchor at left and vertical center.

AnchorCenter 

Anchor at center, both vertically and horizontally.

AnchorEast 

Anchor at right and vertical center.

AnchorSouthWest 

Anchor at bottom left.

AnchorSouth 

Anchor at bottom center.

AnchorSouthEast 

Anchor at bottom right.

Definition at line 60 of file gccv/structs.h.

Arrow heads of a line.

Enumerator:
ArrowHeadNone 

No arrow head.

ArrowHeadFull 

Full arrow head

ArrowHeadLeft 

Half left arrow hea

ArrowHeadRight 

Half right arrow head

Definition at line 90 of file gccv/structs.h.

Enumeration of the known brackets types.

Enumerator:
BracketsTypeNormal 

Parenthesis.

BracketsTypeSquare 

Square brackets.

BracketsTypeCurly 

Curly brackets.

Definition at line 39 of file gccv/brackets.h.

Enumeration of the brackets use modes.

Enumerator:
BracketsOpening 

Use only an opening bracket.

BracketsClosing 

Use only a closing bracket.

BracketsBoth 

Use both an opening and a closing bracket.

Definition at line 58 of file gccv/brackets.h.

enum gccv::Tag

Text attributes support.

Enumerator:
Invalid 

Invalid tag.

Family 

Font family.

Size 

Font size.

Style 

Font style.

Weight 

Font weight.

Variant 

Font variant.

Stretch 

Font stretch.

Underline 

Text underline mode.

Overline 

Text overline mode.

Strikethrough 

Text strikethrough mode.

Foreground 

Foreground color.

Background 

Background color.

Rise 

Vertical position.

Position 

Normal, Subscript or Superscript.

NewLine 

Insert a new line.

MaxTag 

First unused value. Larger values might be used by applications.

Definition at line 39 of file text-tag.h.

Used for ordering tags.

Enumerator:
TagPriorityFirst 

Puts the Tag on the front of the list so that it will be considered before other tags. The default value.

TagPriorityLast 

Puts the Tag on the back of the list. Only PositionTextTag has this priority.

Definition at line 110 of file text-tag.h.

Can be used for underline, overline or strikethrough.

Enumerator:
TextDecorationNone 

No line.

TextDecorationDefault 

High for underline, low for overline and medium for strikethrough

TextDecorationHigh 

Line at the hightest position.

TextDecorationMedium 

Line at intermediate position.

TextDecorationLow 

Line at the lowest position.

TextDecorationDouble 

Two lines, one at high and the other at low position.

TextDecorationSquiggle 

Line oscillating between highest and lowest position.

Definition at line 116 of file gccv/structs.h.

Describes the position of the scripts relative to the base line.

Enumerator:
Normalscript 

Text on base line

Subscript 

Text below line

Superscript 

Text above line

Definition at line 104 of file gccv/structs.h.