MSKGraphInternal::DataBitmap Struct Reference

Internal: the bitmap of a MSKGraph. More...

Inheritance diagram for MSKGraphInternal::DataBitmap:
MSKGraphInternal::Zone

Public Member Functions

 DataBitmap (Zone const &z)
 constructor
 DataBitmap ()
 empty constructor
virtual Type type () const
 return the type
bool getPictureData (MWAWInputStreamPtr ip, WPXBinaryData &res, std::string &type, std::vector< MWAWColor > const &palette) const
virtual void print (std::ostream &o) const
 operator<<
- Public Member Functions inherited from MSKGraphInternal::Zone
 Zone ()
 constructor
virtual ~Zone ()
 destructor
virtual bool getBinaryData (MWAWInputStreamPtr, WPXBinaryData &res, std::string &pictType) const
 return a binary data (if known)
virtual float needExtraBorderWidth () const
 return the extra border space ( if needed)
virtual void fillFramePropertyList (WPXPropertyList &) const
 add frame parameters to propList (if needed )
Box2f getLocalBox () const
 return the box
MWAWPosition getPosition (MWAWPosition::AnchorTo rel) const

Public Attributes

int m_numRows
 the number of rows
int m_numCols
 the number of columns
long m_dataSize
 the bitmap data size
Box2f m_naturalBox
 the pict box (if known )
- Public Attributes inherited from MSKGraphInternal::Zone
int m_subType
 the type
int m_zoneId
 the zone id
MWAWEntry m_pos
 the file position
long m_dataPos
 the data begin position
int m_fileId
 the file id
long m_ids [3]
 the zones id (main, previous, next)
int m_page
 the page
Vec2f m_decal
 the local position
Box2f m_box
 local bdbox
int m_line
 the line position(v1)
int m_lineType
 the line type (v2) : 0= dotted, 1=half, 2=1, 3=2pt?, 4:4pt
int m_lineWidth
 the line width (v3, ...)
MWAWColor m_lineColor
 the line color
Pattern m_linePattern
 the line pattern
int m_lineFlags
 the line flag
MWAWColor m_surfaceColor
 the 2D surface color
Pattern m_surfacePattern
 the line pattern
int m_order
 the picture order
std::string m_extra
 extra data
bool m_isSent
 true if the zone is send

Additional Inherited Members

- Public Types inherited from MSKGraphInternal::Zone
enum  Type {
  Unknown, Basic, Group, Pict,
  Text, Textv4, Bitmap, TableZone,
  OLE
}

Detailed Description

Internal: the bitmap of a MSKGraph.

Constructor & Destructor Documentation

MSKGraphInternal::DataBitmap::DataBitmap ( Zone const &  z)
inline

constructor

MSKGraphInternal::DataBitmap::DataBitmap ( )
inline

empty constructor

Member Function Documentation

bool MSKGraphInternal::DataBitmap::getPictureData ( MWAWInputStreamPtr  ip,
WPXBinaryData &  res,
std::string &  type,
std::vector< MWAWColor > const &  palette 
) const

Referenced by MSKGraph::send().

virtual void MSKGraphInternal::DataBitmap::print ( std::ostream &  o) const
inlinevirtual

operator<<

Reimplemented from MSKGraphInternal::Zone.

virtual Type MSKGraphInternal::DataBitmap::type ( ) const
inlinevirtual

return the type

Reimplemented from MSKGraphInternal::Zone.

Member Data Documentation

long MSKGraphInternal::DataBitmap::m_dataSize

the bitmap data size

Referenced by MSKGraph::getEntryPicture(), and print().

Box2f MSKGraphInternal::DataBitmap::m_naturalBox
mutable

the pict box (if known )

int MSKGraphInternal::DataBitmap::m_numCols

the number of columns

Referenced by MSKGraph::getEntryPicture(), and print().

int MSKGraphInternal::DataBitmap::m_numRows

the number of rows

Referenced by MSKGraph::getEntryPicture(), and print().


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

Generated on Wed May 22 2013 18:12:48 for libmwaw by doxygen 1.8.1.2