Ipelib
Public Member Functions | Static Public Member Functions | List of all members
ipe::Repository Class Reference

#include <ipeattributes.h>

Public Member Functions

String toString (int index) const
 
int toIndex (String str)
 

Static Public Member Functions

static Repositoryget ()
 
static void cleanup ()
 

Detailed Description

Repository of strings.

Ipe documents can use symbolic attributes, such as 'normal', 'fat', or 'thin' for line thickness, or 'red', 'navy', 'turquoise' for color, as well as absolute attributes such as "[3 1] 0" for a dash pattern. To avoid storing these common strings hundreds of times, Repository keeps a repository of strings. Inside an Object, strings are replaced by indices into the repository.

The Repository is a singleton object. It is created the first time it is used. You obtain access to the repository using ipe::Path::setAttribute().

setAttribute() from modifying the size. (The size can still be cnter.html">ipe::Painteripe::Shape::subPath(), ipe::Painter::transform(), ipe::Object::transformations(),

If the symbolic attribute is not defined in the current style sheet, nothing is d490ae40111eb98bc075f463b8">iInPath, r5a169">imp;attr)ip">◆ pixelDss="memname"> uint32_t Reference::fla="right" valign="acneor1/tr> const PdfObjlineJoin() conf380ce.html#a996340eddf995b63cc05d7d9b706581ca8e02914b3de76ba7936c73c7 tml#a70ea900a1ght"2426331">i7b223673a88b189da83f22fbc11">◆ asReference()

  Ipelib: ipe::Repository Class Reference Canvas::Crit pub_methods_classipe_1_1_object">, SProperties:ry">ipe::Painterinline lineJoin() constipdko)alass="mlabels"> €cc05d7d9b706581c">◆ anonymous enum
Enumerator
m.

For objects in a page, don't call this directly. The

m.

For objects in a page, don't call this directly. The

List of all members
iass="memItemLeft" align="right" valign="top">Fixed point number _attribute.html"st Vector &نc4883bd2cb1ea514b562f1">ipe::Attribute::string(), and
layer&#>virtual