Ipelib
Classes | Typedefs | Enumerations | Functions | Variables
ipe Namespace Reference

Classes

class  Color
 
struct  Tiling
 
struct  Gradient
 
struct  Layout
 
struct  TextPadding
 
class  Effect
 
class  Repository
 
class  Attribute
 
struct  AttributeMapping
 
class  AttributeMap
 
class  AllAttributes
 
class  String
 
class  Fixed
 
class  Lex
 
class  Buffer
 
class  Stream
 
class  TellStream
 
class  StringStream
 
class  FileStream
 
class  DataSource
 
class  FileSource
 
class  BufferSource
 
class  Platform
 
class  Bitmap
 
class  SaveFlag
 
class  Document
 
class  ObjectFactory
 
class  Angle
 
class  Vector
 
class  Rect
 
class  Line
 
class  Segment
 
class  Bezier
 
class  Linear
 
class  Matrix
 
class  Arc
 
class  Group
 
class  Image
 
class  ImlParser
 
class  Latex
 
class  IpeletHelper
 
struct  IpeletData
 
class  Ipelet
 
class  Object
 
class  Visitor
 
class  Page
 
class  Painter
 
class  Path
 
class  PdfObj
 
class  PdfNull
 
class  PdfBool
 
class  PdfNumber
 
class  PdfString
 
class  PdfName
 
class  PdfRef
 
class  PdfArray
 
class  PdfDict
 
struct  PdfToken
 
class  PdfParser
 
class  PdfFile
 
class  PdfPainter
 
class  PdfWriter
 
class  PsPainter
 
class  PsWriter
 
class  Reference
 
class  PdfResourceBase
 
class  PdfFileResources
 
class  PdfResources
 
class  CurveSegment
 
class  SubPath
 
class  Ellipse
 
class  ClosedSpline
 
class  Curve
 
class  Shape
 
class  Snap
 
class  Symbol
 
class  StyleSheet
 
class  Cascade
 
class  Text
 
class  Tool
 
class  BitmapFinder
 
class  BBoxPainter
 
class  A85Stream
 
class  Base64Stream
 
class  DeflateStream
 
class  A85Source
 
class  Base64Source
 
class  InflateSource
 
class  XmlAttributes
 
class  XmlParser
 
class  CairoPainter
 
class  Face
 
class  Fonts
 
class  Thumbnail
 
class  PdfThumbnail
 
class  CanvasObserver
 
class  CanvasBase
 
class  Canvas
 
class  PdfViewBase
 
class  PdfView
 
class  PageSelector
 
class  PanTool
 
class  SelectTool
 
class  TransformTool
 

Typedefs

typedef std::vector< AttributeAttributeSeq
 
using PdfRenumber = std::unordered_map< int, int >
 

Enumerations

enum  Kind {
  EPen = 0 , ESymbolSize , EArrowSize , EColor ,
  EDashStyle , ETextSize , ETextStretch , ETextStyle ,
  ELabelStyle , EGridSize , EAngleSize , EOpacity ,
  ETiling , ESymbol , EGradient , EEffect
}
 
enum  Property {
  EPropPen = 0 , EPropSymbolSize , EPropFArrow , EPropRArrow ,
  EPropFArrowSize , EPropRArrowSize , EPropFArrowShape , EPropRArrowShape ,
  EPropStrokeColor , EPropFillColor , EPropMarkShape , EPropPathMode ,
  EPropDashStyle , EPropTextSize , EPropTextStyle , EPropLabelStyle ,
  EPropOpacity , EPropStrokeOpacity , EPropTiling , EPropGradient ,
  EPropHorizontalAlignment , EPropVerticalAlignment , EPropLineJoin , EPropLineCap ,
  EPropFillRule , EPropPinned , EPropTransformations , EPropTransformableText ,
  EPropSplineType , EPropMinipage , EPropWidth , EPropDecoration
}
 
enum  TPathMode { EStrokedOnly , EStrokedAndFilled , EFilledOnly }
 
enum  THorizontalAlignment { EAlignLeft , EAlignRight , EAlignHCenter }
 
enum  TVerticalAlignment { EAlignBottom , EAlignBaseline , EAlignTop , EAlignVCenter }
 
enum  TSplineType { EBSpline , ECardinalSpline , ESpiroSpline }
 
enum  TLineJoin { EDefaultJoin , EMiterJoin , ERoundJoin , EBevelJoin }
 
enum  TLineCap { EDefaultCap , EButtCap , ERoundCap , ESquareCap }
 
enum  TFillRule { EDefaultRule , EWindRule , EEvenOddRule }
 
enum  TPinned { ENoPin = 0x00 , EHorizontalPin = 0x01 , EVerticalPin = 0x02 , EFixedPin = 0x03 }
 
enum  TTransformations { ETransformationsTranslations , ETransformationsRigidMotions , ETransformationsAffine }
 
enum  TSelect { ENotSelected = 0 , EPrimarySelected , ESecondarySelected }
 
enum class  LatexType { Default , Pdftex , Xetex , Luatex }
 
enum class  FileFormat { Xml , Pdf , Unknown }
 
enum class  FontType {
  Type1 , Truetype , CIDType0 , CIDType2 ,
  Type3 , Unsupported
}
 

Functions

template<typename T >
int size (const std::vector< T > &v)
 
void ipeDebugBuffer (Buffer data, int maxsize)
 
template<class T >
max (const T &lhs, const T &rhs)
 
template<class T >
min (const T &lhs, const T &rhs)
 
double abs (double val)
 
QPointF QPt (const Vector &v)
 
String IpeQ (const QString &str)
 
QString QIpe (const String &str)
 
QColor QIpe (Color color)
 
Color IpeQ (QColor color)
 

Variables

const char *const kind_names []
 
const char *const property_names []
 
constexpr double IPE_PI = 3.14159265358979323846
 
constexpr char IPESEP = '/'
 
const int IPELIB_VERSION = 70230
 
const int OLDEST_FILE_FORMAT = 70000
 
const int FILE_FORMAT = 70218
 

Typedef Documentation

◆ PdfRenumber

using ipe::PdfRenumber = typedef std::unordered_map<int,int>

Enumeration Type Documentation

◆ LatexType

enum ipe::LatexType
strong
Enumerator
Default 
Pdftex 
Xetex 
Luatex 

◆ FileFormat

enum ipe::FileFormat
strong

There are several Ipe document formats.

Enumerator
Xml 

Save as XML.

Pdf 

Save as PDF.

Unknown 

Unknown file format.

◆ FontType

enum ipe::FontType
strong
Enumerator
Type1 
Truetype 
CIDType0 
CIDType2 
Type3 
Unsupported 

Function Documentation

◆ size()

template<typename T >
int ipe::size ( const std::vector< T > &  v)
inline

◆ ipeDebugBuffer()

void ipe::ipeDebugBuffer ( Buffer  data,
int  maxsize 
)

◆ QPt()

QPointF ipe::QPt ( const Vector v)
inline

References ipe::Vector::x, and ipe::Vector::y.

◆ IpeQ() [1/2]

String ipe::IpeQ ( const QString &  str)
inline

◆ QIpe() [1/2]

QString ipe::QIpe ( const String str)
inline

References ipe::String::z().

◆ QIpe() [2/2]

QColor ipe::QIpe ( Color  color)
inline

◆ IpeQ() [2/2]

Color ipe::IpeQ ( QColor  color)
inline

Variable Documentation

◆ IPE_PI

constexpr double ipe::IPE_PI = 3.14159265358979323846
constexpr

◆ IPESEP

constexpr char ipe::IPESEP = '/'
constexpr

Referenced by ipe::Platform::runLatex().