PolygonUtils.h File Reference
#include <vector>
#include <libwpg/libwpg.h>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
#include "ShapeType.h"
#include "VectorTransformation2D.h"
#include "Coordinate.h"
#include "Line.h"

Go to the source code of this file.

Classes

struct  libmspub::Vertex
struct  libmspub::Calculation
struct  libmspub::TextRectangle
struct  libmspub::CustomShape
struct  libmspub::DynamicCustomShape

Namespaces

namespace  libmspub

Functions

boost::shared_ptr< const
CustomShape
libmspub::getFromDynamicCustomShape (const DynamicCustomShape &dcs)
const CustomShapelibmspub::getCustomShape (ShapeType type)
bool libmspub::isShapeTypeRectangle (ShapeType type)
WPXPropertyList libmspub::calcClipPath (const std::vector< libmspub::Vertex > &verts, double x, double y, double height, double width, VectorTransformation2D transform, boost::shared_ptr< const CustomShape > shape)
void libmspub::writeCustomShape (ShapeType shapeType, WPXPropertyList &graphicsProps, libwpg::WPGPaintInterface *painter, double x, double y, double height, double width, bool closeEverything, VectorTransformation2D transform, std::vector< Line > lines, boost::function< double(unsigned index)> calculator, const std::vector< Color > &palette, boost::shared_ptr< const CustomShape > shape)

Variables

const int libmspub::PROP_ADJUST_VAL_FIRST = 327
const int libmspub::PROP_ADJUST_VAL_LAST = 336
const int libmspub::PROP_GEO_LEFT = 320
const int libmspub::PROP_GEO_TOP = 321
const int libmspub::PROP_GEO_RIGHT = 322
const int libmspub::PROP_GEO_BOTTOM = 323
const int libmspub::OTHER_CALC_VAL = 0x400
const int libmspub::ASPECT_RATIO = 0x600