RagTime5StructManager::GraphicStyle Struct Reference

the graphic style of a RagTime v5-v6 document More...

#include <RagTime5StructManager.hxx>

List of all members.

Public Member Functions

 GraphicStyle ()
 constructor
virtual ~GraphicStyle ()
 destructor
bool isDefault () const
 returns true if the line style is default
bool read (MWAWInputStreamPtr &input, Field const &field)
 try to read a line style

Public Attributes

int m_parentId
 the parent id
float m_width
 the line width (in point)
MWAWColor m_colors [2]
 the first and second color
float m_colorsAlpha [2]
 alpha of the first and second color
std::vector< long > m_dash
 the line dash/...
shared_ptr
< MWAWGraphicStyle::Pattern
m_pattern
 the line pattern
int m_gradient
 the gradient 0: none, normal, radial
float m_gradientRotation
 the gradient rotation(checkme)
MWAWVec2f m_gradientCenter
 the rotation center(checkme)
int m_position
 the line position inside=1/normal/outside/round
int m_cap
 the line caps ( normal=1, round, square)
int m_mitter
 the line mitter ( triangle=1, round, out)
float m_limitPercent
 the line limit
bool m_hidden
 flag to know if we need to print the shape
std::string m_extra
 extra data

Friends

std::ostream & operator<< (std::ostream &o, GraphicStyle const &style)
 operator<<

Detailed Description

the graphic style of a RagTime v5-v6 document


Constructor & Destructor Documentation

destructor


Member Function Documentation

returns true if the line style is default


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
RagTime5StructManager::GraphicStyle const &  style 
) [friend]

operator<<


Member Data Documentation

the line caps ( normal=1, round, square)

Referenced by isDefault(), operator<<(), and read().

alpha of the first and second color

Referenced by GraphicStyle(), isDefault(), operator<<(), and read().

the line dash/...

Referenced by isDefault(), operator<<(), and read().

extra data

Referenced by isDefault(), operator<<(), and read().

the gradient 0: none, normal, radial

Referenced by isDefault(), operator<<(), and read().

the gradient rotation(checkme)

Referenced by operator<<(), and read().

flag to know if we need to print the shape

Referenced by isDefault(), operator<<(), and read().

the line mitter ( triangle=1, round, out)

Referenced by isDefault(), operator<<(), and read().

the line position inside=1/normal/outside/round

Referenced by isDefault(), operator<<(), and read().

the line width (in point)

Referenced by isDefault(), operator<<(), and read().


The documentation for this struct was generated from the following files: