diff -Nru ipe-7.2.20/build/doc/annotated.html ipe-7.2.23+dfsg1/build/doc/annotated.html --- ipe-7.2.20/build/doc/annotated.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/annotated.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,166 +0,0 @@ - - - - - - - -Ipelib: Class List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Nipe
 CCanvas
 CPdfView
-
-
-
- Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/bc_s.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/bc_s.png differ Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/bdwn.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/bdwn.png differ Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/blank.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/blank.png differ diff -Nru ipe-7.2.20/build/doc/class_canvas.html ipe-7.2.23+dfsg1/build/doc/class_canvas.html --- ipe-7.2.20/build/doc/class_canvas.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/class_canvas.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,467 +0,0 @@ - - - - - - - -Ipelib: Canvas Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
Canvas Class Reference
-
-
- -

#include <ipecanvas_cocoa.h>

- -

Inherits ipe::CanvasBase.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Canvas (IpeCanvasView *view)
 
virtual ~Canvas ()
 
IpeCanvasView * view ()
 
void button (bool press, NSEvent *event)
 
void mouseMove (NSEvent *event)
 
bool key (NSEvent *event)
 
void scrollWheel (NSEvent *event)
 
void magnify (NSEvent *event)
 
void drawRect (NSRect rect)
 
- Public Member Functions inherited from ipe::CanvasBase
virtual ~CanvasBase ()
 
void setPage (const Page *page, int pno, int view, const Cascade *sheet)
 
void setResources (const PdfResources *resources)
 
Vector pan () const
 
double zoom () const
 
const Cascadecascade () const
 
Vector center () const
 
Vector pos () const
 
Vector unsnappedPos () const
 
Vector globalPos () const
 
Vector simpleSnapPos () const
 
const Snapsnap () const
 
void setInkMode (bool ink)
 
int additionalModifiers () const
 
void setAdditionalModifiers (int mod)
 
bool type3Font ()
 
Vector devToUser (const Vector &arg) const
 
Vector userToDev (const Vector &arg) const
 
void setCanvasStyle (const Style &style)
 
Style canvasStyle () const
 
void setPan (const Vector &v)
 
void setZoom (double zoom)
 
void setSnap (const Snap &s)
 
void setDimmed (bool dimmed)
 
void setAutoOrigin (const Vector &v)
 
Matrix canvasTfm () const
 
void setObserver (CanvasObserver *observer)
 
void setFifiVisible (bool visible)
 
void setSelectionVisible (bool visible)
 
void setTool (Tool *tool)
 
void finishTool ()
 
Tooltool ()
 
void update ()
 
void updateTool ()
 
int canvasWidth () const
 
int canvasHeight () const
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from ipe::CanvasBase
enum  TModifiers {
-  EShift = 0x100, -EControl = 0x200, -EAlt = 0x400, -EMeta = 0x800, -
-  ECommand = 0x1000 -
- }
 
enum  TCursor { EStandardCursor, -EHandCursor, -ECrossCursor, -EDotCursor - }
 
- Static Public Member Functions inherited from ipe::CanvasBase
static int selectPageOrView (Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480)
 
- Protected Member Functions inherited from ipe::CanvasBase
 CanvasBase ()
 
void drawPaper (cairo_t *cc)
 
void drawFrame (cairo_t *cc)
 
void drawAxes (cairo_t *cc)
 
void drawGrid (cairo_t *cc)
 
void drawObjects (cairo_t *cc)
 
void drawTool (Painter &painter)
 
void snapToPaperAndFrame ()
 
void refreshSurface ()
 
void computeFifi (double x, double y)
 
void drawFifi (cairo_t *cr)
 
- Protected Attributes inherited from ipe::CanvasBase
CanvasObserveriObserver
 
TooliTool
 
const PageiPage
 
int iPageNumber
 
int iView
 
const CascadeiCascade
 
Style iStyle
 
Vector iPan
 
double iZoom
 
Snap iSnap
 
bool iDimmed
 
bool iAutoSnap
 
Vector iAutoOrigin
 
int iAdditionalModifiers
 
bool isInkMode
 
bool iRepaintObjects
 
double iWidth
 
double iHeight
 
double iBWidth
 
double iBHeight
 
cairo_surface_t * iSurface
 
Vector iUnsnappedMousePos
 
Vector iMousePos
 
Vector iGlobalPos
 
Vector iOldFifi
 
bool iFifiVisible
 
Snap::TSnapModes iFifiMode
 
bool iSelectionVisible
 
const PdfResourcesiResources
 
std::unique_ptr< FontsiFonts
 
bool iType3Font
 
-

Constructor & Destructor Documentation

- -

◆ Canvas()

- -
-
- - - - - - - - -
Canvas::Canvas (IpeCanvasView * view)
-
- -

References ipe::CanvasBase::iView.

- -
-
- -

◆ ~Canvas()

- -
-
- - - - - -
- - - - - - - -
virtual Canvas::~Canvas ()
-
-virtual
-
- -
-
-

Member Function Documentation

- -

◆ view()

- -
-
- - - - - -
- - - - - - - -
IpeCanvasView* Canvas::view ()
-
-inline
-
- -
-
- -

◆ button()

- -
-
- - - - - - - - - - - - - - - - - - -
void Canvas::button (bool press,
NSEvent * event 
)
-
- -

Referenced by drawRect().

- -
-
- -

◆ mouseMove()

- -
-
- - - - - - - - -
void Canvas::mouseMove (NSEvent * event)
-
-
- -

◆ key()

- -
-
- - - - - - - - -
bool Canvas::key (NSEvent * event)
-
- -

References ipe::CanvasBase::iTool, ipe::Tool::key(), and key().

- -

Referenced by key().

- -
-
- -

◆ scrollWheel()

- -
-
- - - - - - - - -
void Canvas::scrollWheel (NSEvent * event)
-
-
- -

◆ magnify()

- -
-
- - - - - - - - -
void Canvas::magnify (NSEvent * event)
-
-
- -

◆ drawRect()

- -
-
- - - - - - - - -
void Canvas::drawRect (NSRect rect)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/class_canvas-members.html ipe-7.2.23+dfsg1/build/doc/class_canvas-members.html --- ipe-7.2.20/build/doc/class_canvas-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/class_canvas-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,147 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
Canvas Member List
-
-
- -

This is the complete list of members for Canvas, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
additionalModifiers() constipe::CanvasBaseinline
button(bool press, NSEvent *event)Canvas
Canvas(IpeCanvasView *view)Canvas
CanvasBase()ipe::CanvasBaseprotected
canvasHeight() constipe::CanvasBaseinline
canvasStyle() constipe::CanvasBaseinline
canvasTfm() constipe::CanvasBase
canvasWidth() constipe::CanvasBaseinline
cascade() constipe::CanvasBaseinline
center() constipe::CanvasBaseinline
computeFifi(double x, double y)ipe::CanvasBaseprotected
devToUser(const Vector &arg) constipe::CanvasBase
drawAxes(cairo_t *cc)ipe::CanvasBaseprotected
drawFifi(cairo_t *cr)ipe::CanvasBaseprotected
drawFrame(cairo_t *cc)ipe::CanvasBaseprotected
drawGrid(cairo_t *cc)ipe::CanvasBaseprotected
drawObjects(cairo_t *cc)ipe::CanvasBaseprotected
drawPaper(cairo_t *cc)ipe::CanvasBaseprotected
drawRect(NSRect rect)Canvas
drawTool(Painter &painter)ipe::CanvasBaseprotected
EAlt enum valueipe::CanvasBase
ECommand enum valueipe::CanvasBase
EControl enum valueipe::CanvasBase
ECrossCursor enum valueipe::CanvasBase
EDotCursor enum valueipe::CanvasBase
EHandCursor enum valueipe::CanvasBase
EMeta enum valueipe::CanvasBase
EShift enum valueipe::CanvasBase
EStandardCursor enum valueipe::CanvasBase
finishTool()ipe::CanvasBase
globalPos() constipe::CanvasBaseinline
iAdditionalModifiersipe::CanvasBaseprotected
iAutoOriginipe::CanvasBaseprotected
iAutoSnapipe::CanvasBaseprotected
iBHeightipe::CanvasBaseprotected
iBWidthipe::CanvasBaseprotected
iCascadeipe::CanvasBaseprotected
iDimmedipe::CanvasBaseprotected
iFifiModeipe::CanvasBaseprotected
iFifiVisibleipe::CanvasBaseprotected
iFontsipe::CanvasBaseprotected
iGlobalPosipe::CanvasBaseprotected
iHeightipe::CanvasBaseprotected
iMousePosipe::CanvasBaseprotected
iObserveripe::CanvasBaseprotected
iOldFifiipe::CanvasBaseprotected
iPageipe::CanvasBaseprotected
iPageNumberipe::CanvasBaseprotected
iPanipe::CanvasBaseprotected
iRepaintObjectsipe::CanvasBaseprotected
iResourcesipe::CanvasBaseprotected
iSelectionVisibleipe::CanvasBaseprotected
isInkModeipe::CanvasBaseprotected
iSnapipe::CanvasBaseprotected
iStyleipe::CanvasBaseprotected
iSurfaceipe::CanvasBaseprotected
iToolipe::CanvasBaseprotected
iType3Fontipe::CanvasBaseprotected
iUnsnappedMousePosipe::CanvasBaseprotected
iWidthipe::CanvasBaseprotected
iZoomipe::CanvasBaseprotected
key(NSEvent *event)Canvas
magnify(NSEvent *event)Canvas
mouseMove(NSEvent *event)Canvas
pan() constipe::CanvasBaseinline
pos() constipe::CanvasBaseinline
refreshSurface()ipe::CanvasBaseprotected
scrollWheel(NSEvent *event)Canvas
selectPageOrView(Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480)ipe::CanvasBasestatic
setAdditionalModifiers(int mod)ipe::CanvasBase
setAutoOrigin(const Vector &v)ipe::CanvasBase
setCanvasStyle(const Style &style)ipe::CanvasBase
setDimmed(bool dimmed)ipe::CanvasBase
setFifiVisible(bool visible)ipe::CanvasBase
setInkMode(bool ink)ipe::CanvasBaseinline
setObserver(CanvasObserver *observer)ipe::CanvasBase
setPage(const Page *page, int pno, int view, const Cascade *sheet)ipe::CanvasBase
setPan(const Vector &v)ipe::CanvasBase
setResources(const PdfResources *resources)ipe::CanvasBase
setSelectionVisible(bool visible)ipe::CanvasBase
setSnap(const Snap &s)ipe::CanvasBase
setTool(Tool *tool)ipe::CanvasBase
setZoom(double zoom)ipe::CanvasBase
simpleSnapPos() constipe::CanvasBase
snap() constipe::CanvasBaseinline
snapToPaperAndFrame()ipe::CanvasBaseprotected
TCursor enum nameipe::CanvasBase
TModifiers enum nameipe::CanvasBase
tool()ipe::CanvasBaseinline
type3Font()ipe::CanvasBase
unsnappedPos() constipe::CanvasBaseinline
update()ipe::CanvasBase
updateTool()ipe::CanvasBase
userToDev(const Vector &arg) constipe::CanvasBase
view()Canvasinline
zoom() constipe::CanvasBaseinline
~Canvas()Canvasvirtual
~CanvasBase()ipe::CanvasBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classes.html ipe-7.2.23+dfsg1/build/doc/classes.html --- ipe-7.2.20/build/doc/classes.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classes.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,98 +0,0 @@ - - - - - - - -Ipelib: Class Index - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
Class Index
-
-
-
a | b | c | d | e | f | g | i | l | m | o | p | r | s | t | v | x
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  a  
-
Curve (ipe)   
  l  
-
PdfObj (ipe)   Document::SProperties (ipe)   
CurveSegment (ipe)   PdfPainter (ipe)   Painter::State (ipe)   
A85Source (ipe)   
  d  
-
Latex (ipe)   PdfParser (ipe)   Gradient::Stop (ipe)   
A85Stream (ipe)   Layout (ipe)   PdfRef (ipe)   Stream (ipe)   
AllAttributes (ipe)   DataSource (ipe)   Lex (ipe)   PdfResourceBase (ipe)   String (ipe)   
Angle (ipe)   DeflateStream (ipe)   Line (ipe)   PdfResources (ipe)   StringStream (ipe)   
Arc (ipe)   Document (ipe)   Linear (ipe)   PdfString (ipe)   CanvasBase::Style (ipe)   
Attribute (ipe)   
  e  
-
  m  
-
PdfThumbnail (ipe)   StyleSheet (ipe)   
AttributeMap (ipe)   PdfToken (ipe)   SubPath (ipe)   
AttributeMapping (ipe)   Effect (ipe)   Matrix (ipe)   PdfView (ipe)   Symbol (ipe)   
  b  
-
Ellipse (ipe)   
  o  
-
PdfView   
  t  
-
  f  
-
PdfViewBase (ipe)   
Base64Source (ipe)   Object (ipe)   PdfWriter (ipe)   TellStream (ipe)   
Base64Stream (ipe)   Face (ipe)   ObjectFactory (ipe)   Platform (ipe)   Text (ipe)   
BBoxPainter (ipe)   FileSource (ipe)   
  p  
-
PsPainter (ipe)   TextPadding (ipe)   
Bezier (ipe)   FileStream (ipe)   PsWriter (ipe)   Thumbnail (ipe)   
Bitmap (ipe)   Fixed (ipe)   Page (ipe)   
  r  
-
Tiling (ipe)   
BitmapFinder (ipe)   Fonts (ipe)   StyleSheet::PageNumberStyle (ipe)   StyleSheet::TitleStyle (ipe)   
Buffer (ipe)   
  g  
-
PageSelector (ipe)   Rect (ipe)   Tool (ipe)   
BufferSource (ipe)   Painter (ipe)   Reference (ipe)   TransformTool (ipe)   
  c  
-
Gradient (ipe)   PanTool (ipe)   Repository (ipe)   
  v  
-
Group (ipe)   Path (ipe)   
  s  
-
CairoPainter (ipe)   
  i  
-
PdfArray (ipe)   Vector (ipe)   
Canvas   PdfBool (ipe)   SaveFlag (ipe)   Visitor (ipe)   
Canvas (ipe)   Image (ipe)   PdfDict (ipe)   Segment (ipe)   
  x  
-
CanvasBase (ipe)   ImlParser (ipe)   PdfFile (ipe)   SelectTool (ipe)   
CanvasObserver (ipe)   InflateSource (ipe)   PdfFileResources (ipe)   Shape (ipe)   Text::XForm (ipe)   
Cascade (ipe)   Ipelet (ipe)   PdfName (ipe)   Snap (ipe)   XmlAttributes (ipe)   
ClosedSpline (ipe)   IpeletData (ipe)   PdfNull (ipe)   SelectTool::SObj (ipe)   XmlParser (ipe)   
Color (ipe)   IpeletHelper (ipe)   PdfNumber (ipe)   PdfResources::SPageNumber (ipe)   
-
a | b | c | d | e | f | g | i | l | m | o | p | r | s | t | v | x
-
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_a85_source.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_source.html --- ipe-7.2.20/build/doc/classipe_1_1_a85_source.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,131 +0,0 @@ - - - - - - - -Ipelib: ipe::A85Source Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::A85Source Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::DataSource.

- - - - - - - - - - - - - - - -

-Public Member Functions

 A85Source (DataSource &source)
 
virtual int getChar ()
 
- Public Member Functions inherited from ipe::DataSource
virtual ~DataSource ()=0
 
virtual int length () const
 
virtual void setPosition (int pos)
 
virtual int position () const
 
-

Detailed Description

-

Filter source adding ASCII85 decoding.

-

Constructor & Destructor Documentation

- -

◆ A85Source()

- -
-
- - - - - - - - -
A85Source::A85Source (DataSourcesource)
-
- -
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
int A85Source::getChar ()
-
-virtual
-
- -

Get one more character, or EOF.

- -

Implements ipe::DataSource.

- -

References ipe::DataSource::getChar().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_a85_source-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_source-members.html --- ipe-7.2.20/build/doc/classipe_1_1_a85_source-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_source-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::A85Source Member List
-
-
- -

This is the complete list of members for ipe::A85Source, including all inherited members.

- - - - - - - -
A85Source(DataSource &source)ipe::A85Source
getChar()ipe::A85Sourcevirtual
length() constipe::DataSourcevirtual
position() constipe::DataSourcevirtual
setPosition(int pos)ipe::DataSourcevirtual
~DataSource()=0ipe::DataSourcepure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_a85_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_a85_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,179 +0,0 @@ - - - - - - - -Ipelib: ipe::A85Stream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::A85Stream Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::Stream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 A85Stream (Stream &stream)
 
virtual void putChar (char ch)
 
virtual void close ()
 
- Public Member Functions inherited from ipe::Stream
virtual ~Stream ()
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
-

Detailed Description

-

Filter stream adding ASCII85 encoding.

-

Constructor & Destructor Documentation

- -

◆ A85Stream()

- -
-
- - - - - - - - -
A85Stream::A85Stream (Streamstream)
-
- -
-
-

Member Function Documentation

- -

◆ putChar()

- -
-
- - - - - -
- - - - - - - - -
void A85Stream::putChar (char ch)
-
-virtual
-
- -

Output character.

- -

Implements ipe::Stream.

- -

References ipe::Stream::putChar(), and ipe::Stream::putCString().

- -
-
- -

◆ close()

- -
-
- - - - - -
- - - - - - - -
void A85Stream::close ()
-
-virtual
-
- -

Close the stream. No more writing allowed!

- -

Reimplemented from ipe::Stream.

- -

References ipe::Stream::close(), and ipe::Stream::putCString().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_a85_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_a85_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_a85_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::A85Stream Member List
-
-
- -

This is the complete list of members for ipe::A85Stream, including all inherited members.

- - - - - - - - - - - - - - - -
A85Stream(Stream &stream)ipe::A85Stream
close()ipe::A85Streamvirtual
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)ipe::A85Streamvirtual
putCString(const char *s)ipe::Streamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::Streamvirtual
putString(String s)ipe::Streamvirtual
putXmlString(String s)ipe::Stream
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_all_attributes.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_all_attributes.html --- ipe-7.2.20/build/doc/classipe_1_1_all_attributes.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_all_attributes.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,632 +0,0 @@ - - - - - - - -Ipelib: ipe::AllAttributes Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::AllAttributes Class Reference
-
-
- -

#include <ipeattributes.h>

- - - - -

-Public Member Functions

 AllAttributes ()
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

TPathMode iPathMode
 
Attribute iStroke
 
Attribute iFill
 
Attribute iDashStyle
 
Attribute iPen
 
bool iFArrow
 
bool iRArrow
 
Attribute iFArrowShape
 
Attribute iRArrowShape
 
Attribute iFArrowSize
 
Attribute iRArrowSize
 
Attribute iSymbolSize
 
Attribute iTextSize
 
THorizontalAlignment iHorizontalAlignment
 
TVerticalAlignment iVerticalAlignment
 
Attribute iTextStyle
 
Attribute iLabelStyle
 
TPinned iPinned
 
bool iTransformableText
 
TSplineType iSplineType
 
TTransformations iTransformations
 
TLineJoin iLineJoin
 
TLineCap iLineCap
 
TFillRule iFillRule
 
Attribute iOpacity
 
Attribute iStrokeOpacity
 
Attribute iTiling
 
Attribute iGradient
 
Attribute iMarkShape
 
-

Detailed Description

-

Collection of all object attributes.

-

Constructor & Destructor Documentation

- -

◆ AllAttributes()

- -
-
- - - - - - - -
AllAttributes::AllAttributes ()
-
- -

Constructor sets default values.

- -

Referenced by ipe::AttributeMap::add().

- -
-
-

Member Data Documentation

- -

◆ iPathMode

- -
-
- - - - -
TPathMode ipe::AllAttributes::iPathMode
-
- -

Should we stroke and/or fill?

- -
-
- -

◆ iStroke

- -
-
- - - - -
Attribute ipe::AllAttributes::iStroke
-
- -

Stroke color.

- -

Referenced by ipe::Latex::addPageNumber(), and ipe::Text::Text().

- -
-
- -

◆ iFill

- -
-
- - - - -
Attribute ipe::AllAttributes::iFill
-
- -

Fill color.

- -
-
- -

◆ iDashStyle

- -
-
- - - - -
Attribute ipe::AllAttributes::iDashStyle
-
- -

Dash style.

- -
-
- -

◆ iPen

- -
-
- - - - -
Attribute ipe::AllAttributes::iPen
-
- -

Pen (that is, line width).

- -
-
- -

◆ iFArrow

- -
-
- - - - -
bool ipe::AllAttributes::iFArrow
-
- -

Arrow forward?

- -
-
- -

◆ iRArrow

- -
-
- - - - -
bool ipe::AllAttributes::iRArrow
-
- -

Reverse arrow?

- -
-
- -

◆ iFArrowShape

- -
-
- - - - -
Attribute ipe::AllAttributes::iFArrowShape
-
- -

Shape of forward arrows.

- -
-
- -

◆ iRArrowShape

- -
-
- - - - -
Attribute ipe::AllAttributes::iRArrowShape
-
- -

Shape of reverse arrows.

- -
-
- -

◆ iFArrowSize

- -
-
- - - - -
Attribute ipe::AllAttributes::iFArrowSize
-
- -

Forward arrow size.

- -
-
- -

◆ iRArrowSize

- -
-
- - - - -
Attribute ipe::AllAttributes::iRArrowSize
-
- -

Reverse arrow size.

- -
-
- -

◆ iSymbolSize

- -
-
- - - - -
Attribute ipe::AllAttributes::iSymbolSize
-
- -

Symbol size.

- -
-
- -

◆ iTextSize

- -
-
- - - - -
Attribute ipe::AllAttributes::iTextSize
-
- -

Text size. Horizontal alignment of label objects.

- -

Referenced by ipe::Latex::addPageNumber(), and ipe::Text::Text().

- -
-
- -

◆ iHorizontalAlignment

- -
-
- - - - -
THorizontalAlignment ipe::AllAttributes::iHorizontalAlignment
-
-
- -

◆ iVerticalAlignment

- -
-
- - - - -
TVerticalAlignment ipe::AllAttributes::iVerticalAlignment
-
- -

Vertical alignment of label objects.

- -

Referenced by ipe::Latex::addPageNumber(), and ipe::Text::Text().

- -
-
- -

◆ iTextStyle

- -
-
- - - - -
Attribute ipe::AllAttributes::iTextStyle
-
- -

Text style for minipages.

- -

Referenced by ipe::Text::Text().

- -
-
- -

◆ iLabelStyle

- -
-
- - - - -
Attribute ipe::AllAttributes::iLabelStyle
-
- -

Text style for labels.

- -

Referenced by ipe::Text::Text().

- -
-
- -

◆ iPinned

- -
-
- - - - -
TPinned ipe::AllAttributes::iPinned
-
- -

Pinned status. Should newly created text be transformable?

- -

Referenced by ipe::Object::Object().

- -
-
- -

◆ iTransformableText

- -
-
- - - - -
bool ipe::AllAttributes::iTransformableText
-
-

If this is false, newly created text will only allow translations. Otherwise, the value of iTranslations is used (as for other objects).

- -

Referenced by ipe::Text::Text().

- -
-
- -

◆ iSplineType

- -
-
- - - - -
TSplineType ipe::AllAttributes::iSplineType
-
-

What kind of splines should be created?

- -
-
- -

◆ iTransformations

- -
-
- - - - -
TTransformations ipe::AllAttributes::iTransformations
-
- -

Allowed transformations.

- -

Referenced by ipe::Object::Object().

- -
-
- -

◆ iLineJoin

- -
-
- - - - -
TLineJoin ipe::AllAttributes::iLineJoin
-
- -

Line join style.

- -
-
- -

◆ iLineCap

- -
-
- - - - -
TLineCap ipe::AllAttributes::iLineCap
-
- -

Line cap style.

- -
-
- -

◆ iFillRule

- -
-
- - - - -
TFillRule ipe::AllAttributes::iFillRule
-
- -

Shape fill rule.

- -
-
- -

◆ iOpacity

- -
-
- - - - -
Attribute ipe::AllAttributes::iOpacity
-
- -

Opacity.

- -

Referenced by ipe::Text::Text().

- -
-
- -

◆ iStrokeOpacity

- -
-
- - - - -
Attribute ipe::AllAttributes::iStrokeOpacity
-
- -

Stroke opacity.

- -
-
- -

◆ iTiling

- -
-
- - - - -
Attribute ipe::AllAttributes::iTiling
-
- -

Tiling pattern.

- -
-
- -

◆ iGradient

- -
-
- - - - -
Attribute ipe::AllAttributes::iGradient
-
- -

Gradient pattern.

- -
-
- -

◆ iMarkShape

- -
-
- - - - -
Attribute ipe::AllAttributes::iMarkShape
-
- -

Shape of Mark to create.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_all_attributes-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_all_attributes-members.html --- ipe-7.2.20/build/doc/classipe_1_1_all_attributes-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_all_attributes-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,83 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::AllAttributes Member List
-
-
- -

This is the complete list of members for ipe::AllAttributes, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AllAttributes()ipe::AllAttributes
iDashStyleipe::AllAttributes
iFArrowipe::AllAttributes
iFArrowShapeipe::AllAttributes
iFArrowSizeipe::AllAttributes
iFillipe::AllAttributes
iFillRuleipe::AllAttributes
iGradientipe::AllAttributes
iHorizontalAlignmentipe::AllAttributes
iLabelStyleipe::AllAttributes
iLineCapipe::AllAttributes
iLineJoinipe::AllAttributes
iMarkShapeipe::AllAttributes
iOpacityipe::AllAttributes
iPathModeipe::AllAttributes
iPenipe::AllAttributes
iPinnedipe::AllAttributes
iRArrowipe::AllAttributes
iRArrowShapeipe::AllAttributes
iRArrowSizeipe::AllAttributes
iSplineTypeipe::AllAttributes
iStrokeipe::AllAttributes
iStrokeOpacityipe::AllAttributes
iSymbolSizeipe::AllAttributes
iTextSizeipe::AllAttributes
iTextStyleipe::AllAttributes
iTilingipe::AllAttributes
iTransformableTextipe::AllAttributes
iTransformationsipe::AllAttributes
iVerticalAlignmentipe::AllAttributes
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_angle.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_angle.html --- ipe-7.2.20/build/doc/classipe_1_1_angle.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_angle.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,279 +0,0 @@ - - - - - - - -Ipelib: ipe::Angle Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Angle Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - -

-Public Member Functions

 Angle ()
 
 Angle (double alpha)
 
 operator double () const
 
double degrees () const
 
Angle normalize (double lowlimit)
 
bool liesBetween (Angle small, Angle large) const
 
- - - -

-Static Public Member Functions

static Angle Degrees (double alpha)
 
-

Detailed Description

-

A double that's an angle.

-

An Angle is really nothing more than a double. Having a separate type is sometimes useful, for instance in the Vector constructor, and this class serves as the right place for a few utility functions. It also makes it clear whether a value is in radians or in degrees.

-

Constructor & Destructor Documentation

- -

◆ Angle() [1/2]

- -
-
- - - - - -
- - - - - - - -
ipe::Angle::Angle ()
-
-inlineexplicit
-
- -

Construct uninitialized angle.

- -

Referenced by Degrees().

- -
-
- -

◆ Angle() [2/2]

- -
-
- - - - - -
- - - - - - - - -
ipe::Angle::Angle (double alpha)
-
-inline
-
- -

Construct an angle (in radians).

- -
-
-

Member Function Documentation

- -

◆ Degrees()

- -
-
- - - - - -
- - - - - - - - -
static Angle ipe::Angle::Degrees (double alpha)
-
-inlinestatic
-
- -

Construct an angle in degrees.

- -

References Angle().

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ operator double()

- -
-
- - - - - -
- - - - - - - -
ipe::Angle::operator double () const
-
-inline
-
- -

Return value (in radians).

- -

References degrees(), liesBetween(), and normalize().

- -
-
- -

◆ degrees()

- -
-
- - - - - - - -
double Angle::degrees () const
-
-
- -

◆ normalize()

- -
-
- - - - - - - - -
Angle Angle::normalize (double lowlimit)
-
- -

Normalize the value to the range lowlimit .. lowlimit + 2 pi.

-

This Angle object is modified, a copy is returned.

- -

Referenced by ipe::Painter::doDrawArc(), ipe::Snap::getLine(), ipe::Arc::intersect(), liesBetween(), and operator double().

- -
-
- -

◆ liesBetween()

- -
-
- - - - - - - - - - - - - - - - - - -
bool Angle::liesBetween (Angle small,
Angle large 
) const
-
-

When considering the positively oriented circle arc from angle small to large, does it cover this angle?

- -

References normalize(), and ipe::Vector::Vector().

- -

Referenced by ipe::Arc::bbox(), ipe::Arc::distance(), ipe::Arc::intersect(), and operator double().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_angle-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_angle-members.html --- ipe-7.2.20/build/doc/classipe_1_1_angle-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_angle-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Angle Member List
-
-
- -

This is the complete list of members for ipe::Angle, including all inherited members.

- - - - - - - - -
Angle()ipe::Angleinlineexplicit
Angle(double alpha)ipe::Angleinline
degrees() constipe::Angle
Degrees(double alpha)ipe::Angleinlinestatic
liesBetween(Angle small, Angle large) constipe::Angle
normalize(double lowlimit)ipe::Angle
operator double() constipe::Angleinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_arc.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_arc.html --- ipe-7.2.20/build/doc/classipe_1_1_arc.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_arc.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,618 +0,0 @@ - - - - - - - -Ipelib: ipe::Arc Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::Arc Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Arc ()
 
 Arc (const Matrix &m, Angle alpha, Angle beta)
 
 Arc (const Matrix &m)
 
 Arc (const Matrix &m0, const Vector &begp, const Vector &endp)
 
bool isEllipse () const
 
double distance (const Vector &v, double bound) const
 
double distance (const Vector &v, double bound, Vector &pos, Angle &angle) const
 
Rect bbox () const
 
Vector beginp () const
 
Vector endp () const
 
void intersect (const Line &l, std::vector< Vector > &result) const
 
void intersect (const Segment &s, std::vector< Vector > &result) const
 
void intersect (const Arc &a, std::vector< Vector > &result) const
 
void intersect (const Bezier &b, std::vector< Vector > &result) const
 
- - - - - - - -

-Public Attributes

Matrix iM
 
Angle iAlpha
 
Angle iBeta
 
-

Detailed Description

-

An arc of an ellipse.

-

The ellipse is represented using the matrix that transforms the unit circle x^2 + y^2 = 1 to the desired ellipse. The arc coordinate system is the coordinate system of this unit circle.

-

A full ellipse is described by iAlpha = 0, iBeta = IpeTwoPi.

-

An elliptic arc is the image of the circular arc from iAlpha to iBeta (in increasing angle in arc coordinate system).

-

Constructor & Destructor Documentation

- -

◆ Arc() [1/4]

- -
-
- - - - - -
- - - - - - - -
ipe::Arc::Arc ()
-
-inline
-
- -

Construct unit circle.

- -

Referenced by ipe::Matrix::operator*().

- -
-
- -

◆ Arc() [2/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
ipe::Arc::Arc (const Matrixm,
Angle alpha,
Angle beta 
)
-
-inline
-
- -

Construct with given parameters.

- -
-
- -

◆ Arc() [3/4]

- -
-
- - - - - -
- - - - - - - - -
ipe::Arc::Arc (const Matrixm)
-
-inline
-
- -

Construct an ellipse.

- -
-
- -

◆ Arc() [4/4]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Arc::Arc (const Matrixm,
const Vectorbegp,
const Vectorendp 
)
-
- -

Construct arc for ellipse defined by m, from begp to endp.

-

This assumes that m has been correctly computed such that begb and endp already lie on the ellipse.

- -

References ipe::Matrix::inverse().

- -
-
-

Member Function Documentation

- -

◆ isEllipse()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Arc::isEllipse () const
-
-inline
-
- -

Is this an entire ellipse?

- -

References iAlpha, and iBeta.

- -

Referenced by ipe::CairoPainter::doDrawArc(), and ipe::Painter::doDrawArc().

- -
-
- -

◆ distance() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
double Arc::distance (const Vectorv,
double bound 
) const
-
- -

This doesn't really compute the distance, but a reasonable approximation.

- -

Referenced by ipe::Ellipse::distance(), ipe::Snap::setEdge(), ipe::CurveSegment::snapBnd(), and ipe::Ellipse::snapBnd().

- -
-
- -

◆ distance() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
double Arc::distance (const Vectorv,
double bound,
Vectorpos,
Angleangle 
) const
-
-

Like distance(), but sets pos to point on arc and angle to its angle in arc coordinates. angle and pos are not modified if result is larger than bound.

- -

References ipe::Vector::angle(), ipe::Matrix::inverse(), ipe::Angle::liesBetween(), and ipe::Vector::normalized().

- -
-
- -

◆ bbox()

- -
-
- - - - - - - -
Rect Arc::bbox () const
-
- -

Return a tight bounding box.

- -

References ipe::Rect::addPoint(), ipe::Linear::inverse(), and ipe::Angle::liesBetween().

- -

Referenced by intersect().

- -
-
- -

◆ beginp()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Arc::beginp () const
-
-inline
-
- -

Return begin point of arc.

- -

References iAlpha, and iM.

- -

Referenced by ipe::Path::drawArrow(), and intersect().

- -
-
- -

◆ endp()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Arc::endp () const
-
-inline
-
- -

Return end point of arc.

- -

References iBeta, and iM.

- -

Referenced by ipe::Path::drawArrow(), and intersect().

- -
-
- -

◆ intersect() [1/4]

- -
-
- - - - - - - - - - - - - - - - - - -
void Arc::intersect (const Linel,
std::vector< Vector > & result 
) const
-
- -

Compute intersection points of Arc with Line.

- -

References ipe::Vector::angle(), ipe::Line::dir(), ipe::Matrix::inverse(), ipe::Line::iP, ipe::Angle::liesBetween(), and ipe::Matrix::linear().

- -

Referenced by intersect().

- -
-
- -

◆ intersect() [2/4]

- -
-
- - - - - - - - - - - - - - - - - - -
void Arc::intersect (const Segments,
std::vector< Vector > & result 
) const
-
-
- -

◆ intersect() [3/4]

- -
-
- - - - - - - - - - - - - - - - - - -
void Arc::intersect (const Arca,
std::vector< Vector > & result 
) const
-
- -

Compute intersection points of Arc with Arc.

- -

References bbox(), beginp(), endp(), and intersect().

- -
-
- -

◆ intersect() [4/4]

- -
-
- - - - - - - - - - - - - - - - - - -
void Arc::intersect (const Bezierb,
std::vector< Vector > & result 
) const
-
-
-

Member Data Documentation

- -

◆ iM

- -
-
- - - - -
Matrix ipe::Arc::iM
-
-
- -

◆ iAlpha

- -
-
- - - - -
Angle ipe::Arc::iAlpha
-
-
- -

◆ iBeta

- -
-
- - - - -
Angle ipe::Arc::iBeta
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_arc-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_arc-members.html --- ipe-7.2.20/build/doc/classipe_1_1_arc-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_arc-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Arc Member List
-
-
- -

This is the complete list of members for ipe::Arc, including all inherited members.

- - - - - - - - - - - - - - - - - - -
Arc()ipe::Arcinline
Arc(const Matrix &m, Angle alpha, Angle beta)ipe::Arcinline
Arc(const Matrix &m)ipe::Arcinline
Arc(const Matrix &m0, const Vector &begp, const Vector &endp)ipe::Arc
bbox() constipe::Arc
beginp() constipe::Arcinline
distance(const Vector &v, double bound) constipe::Arc
distance(const Vector &v, double bound, Vector &pos, Angle &angle) constipe::Arc
endp() constipe::Arcinline
iAlphaipe::Arc
iBetaipe::Arc
iMipe::Arc
intersect(const Line &l, std::vector< Vector > &result) constipe::Arc
intersect(const Segment &s, std::vector< Vector > &result) constipe::Arc
intersect(const Arc &a, std::vector< Vector > &result) constipe::Arc
intersect(const Bezier &b, std::vector< Vector > &result) constipe::Arc
isEllipse() constipe::Arcinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_attribute.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute.html --- ipe-7.2.20/build/doc/classipe_1_1_attribute.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1935 +0,0 @@ - - - - - - - -Ipelib: ipe::Attribute Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -Friends | -List of all members
-
-
ipe::Attribute Class Reference
-
-
- -

#include <ipeattributes.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Attribute ()
 
 Attribute (bool symbolic, String name)
 
 Attribute (Fixed value)
 
 Attribute (Color color)
 
 Attribute (THorizontalAlignment align)
 
 Attribute (TVerticalAlignment align)
 
 Attribute (TLineJoin join)
 
 Attribute (TLineCap cap)
 
 Attribute (TFillRule rule)
 
 Attribute (TPinned pin)
 
 Attribute (TTransformations trans)
 
 Attribute (TPathMode pm)
 
 Attribute (TSplineType st)
 
bool isSymbolic () const
 
bool isString () const
 
bool isColor () const
 
bool isNumber () const
 
bool isEnum () const
 
bool isBoolean () const
 
bool isNormal () const
 
int index () const
 
int internal () const
 
String string () const
 
Fixed number () const
 
Color color () const
 
bool boolean () const
 
THorizontalAlignment horizontalAlignment () const
 
TVerticalAlignment verticalAlignment () const
 
TLineJoin lineJoin () const
 
TLineCap lineCap () const
 
TFillRule fillRule () const
 
TPinned pinned () const
 
TTransformations transformations () const
 
TPathMode pathMode () const
 
TSplineType splineType () const
 
bool operator== (const Attribute &rhs) const
 
bool operator!= (const Attribute &rhs) const
 
bool isArcArrow () const
 
bool isMidArrow () const
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Static Public Member Functions

static Attribute Boolean (bool flag)
 
static Attribute BLACK ()
 
static Attribute WHITE ()
 
static Attribute ONE ()
 
static Attribute NORMAL ()
 
static Attribute UNDEFINED ()
 
static Attribute BACKGROUND ()
 
static Attribute SYM_STROKE ()
 
static Attribute SYM_FILL ()
 
static Attribute SYM_PEN ()
 
static Attribute ARROW_NORMAL ()
 
static Attribute OPAQUE ()
 
static Attribute ARROW_ARC ()
 
static Attribute ARROW_FARC ()
 
static Attribute ARROW_PTARC ()
 
static Attribute ARROW_FPTARC ()
 
static Attribute makeColor (String str, Attribute deflt)
 
static Attribute makeScalar (String str, Attribute deflt)
 
static Attribute makeDashStyle (String str)
 
static Attribute makeTextSize (String str)
 
static Attribute normal (Kind kind)
 
- - - -

-Friends

class StyleSheet
 
-

Detailed Description

-

An attribute of an Ipe Object.

-

An attribute is either an absolute value or a symbolic name that has to be looked up in a StyleSheet.

-

All string values are replaced by indices into a Repository (that applies both to symbolic names and to absolute values that are strings). All other values are stored directly inside the attribute, either as a Fixed or a Color.

-

There are five different kinds of Attribute objects:

- -

Constructor & Destructor Documentation

- -

◆ Attribute() [1/13]

- -
-
- - - - - -
- - - - - - - -
ipe::Attribute::Attribute ()
-
-inlineexplicit
-
- -

Default constructor.

- -

Referenced by Attribute().

- -
-
- -

◆ Attribute() [2/13]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Attribute::Attribute (bool symbolic,
String name 
)
-
-explicit
-
- -

Create an attribute with string value.

- -

References ipe::Repository::get(), and ipe::Repository::toIndex().

- -
-
- -

◆ Attribute() [3/13]

- -
-
- - - - - -
- - - - - - - - -
Attribute::Attribute (Fixed value)
-
-explicit
-
- -

Create an absolute numeric attribute.

- -

References ipe::Fixed::internal().

- -
-
- -

◆ Attribute() [4/13]

- -
-
- - - - - -
- - - - - - - - -
Attribute::Attribute (Color color)
-
-explicit
-
- -

Create an attribute with absolute color.

- -

References Attribute(), ipe::Color::iBlue, ipe::Color::iGreen, ipe::Fixed::internal(), and ipe::Color::iRed.

- -
-
- -

◆ Attribute() [5/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (THorizontalAlignment align)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [6/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TVerticalAlignment align)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [7/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TLineJoin join)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [8/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TLineCap cap)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [9/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TFillRule rule)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [10/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TPinned pin)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [11/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TTransformations trans)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [12/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TPathMode pm)
-
-inlineexplicit
-
- -
-
- -

◆ Attribute() [13/13]

- -
-
- - - - - -
- - - - - - - - -
ipe::Attribute::Attribute (TSplineType st)
-
-inlineexplicit
-
- -
-
-

Member Function Documentation

- -

◆ Boolean()

- -
-
- - - - - -
- - - - - - - - -
static Attribute ipe::Attribute::Boolean (bool flag)
-
-inlinestatic
-
-
- -

◆ isSymbolic()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isSymbolic () const
-
-inline
-
-
- -

◆ isString()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isString () const
-
-inline
-
- -

Is it an absolute string value?

- -
-
- -

◆ isColor()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isColor () const
-
-inline
-
- -

Is it a color?

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ isNumber()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isNumber () const
-
-inline
-
-
- -

◆ isEnum()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isEnum () const
-
-inline
-
- -

Is it an enumeration?

- -

Referenced by ipe::Text::setAttribute(), ipe::Object::setAttribute(), and ipe::Path::setAttribute().

- -
-
- -

◆ isBoolean()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isBoolean () const
-
-inline
-
- -

Is it a boolean?

- -
-
- -

◆ isNormal()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isNormal () const
-
-inline
-
-
- -

◆ index()

- -
-
- - - - - -
- - - - - - - -
int ipe::Attribute::index () const
-
-inline
-
-
- -

◆ internal()

- -
-
- - - - - -
- - - - - - - -
int ipe::Attribute::internal () const
-
-inline
-
- -
-
- -

◆ string()

- -
-
- - - - - - - -
String Attribute::string () const
-
-
- -

◆ number()

- -
-
- - - - - - - -
Fixed Attribute::number () const
-
-
- -

◆ color()

- -
-
- - - - - - - -
Color Attribute::color () const
-
-
- -

◆ boolean()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::boolean () const
-
-inline
-
-
- -

◆ horizontalAlignment()

- -
-
- - - - - -
- - - - - - - -
THorizontalAlignment ipe::Attribute::horizontalAlignment () const
-
-inline
-
- -

Referenced by ipe::Text::setAttribute().

- -
-
- -

◆ verticalAlignment()

- -
-
- - - - - -
- - - - - - - -
TVerticalAlignment ipe::Attribute::verticalAlignment () const
-
-inline
-
- -

Referenced by ipe::Text::setAttribute().

- -
-
- -

◆ lineJoin()

- -
-
- - - - - -
- - - - - - - -
TLineJoin ipe::Attribute::lineJoin () const
-
-inline
-
- -

Referenced by ipe::Path::setAttribute().

- -
-
- -

◆ lineCap()

- -
-
- - - - - -
- - - - - - - -
TLineCap ipe::Attribute::lineCap () const
-
-inline
-
- -

Referenced by ipe::Path::setAttribute().

- -
-
- -

◆ fillRule()

- -
-
- - - - - -
- - - - - - - -
TFillRule ipe::Attribute::fillRule () const
-
-inline
-
- -

Referenced by ipe::Path::setAttribute().

- -
-
- -

◆ pinned()

- -
-
- - - - - -
- - - - - - - -
TPinned ipe::Attribute::pinned () const
-
-inline
-
- -

Referenced by ipe::Object::setAttribute().

- -
-
- -

◆ transformations()

- -
-
- - - - - -
- - - - - - - -
TTransformations ipe::Attribute::transformations () const
-
-inline
-
- -

Referenced by ipe::Object::setAttribute().

- -
-
- -

◆ pathMode()

- -
-
- - - - - -
- - - - - - - -
TPathMode ipe::Attribute::pathMode () const
-
-inline
-
- -

Referenced by ipe::Path::setAttribute().

- -
-
- -

◆ splineType()

- -
-
- - - - - -
- - - - - - - -
TSplineType ipe::Attribute::splineType () const
-
-inline
-
- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Attribute::operator== (const Attributerhs) const
-
-inline
-
- -

Are two values equal (only compares index!)

- -
-
- -

◆ operator!=()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Attribute::operator!= (const Attributerhs) const
-
-inline
-
- -

Are two values different (only compares index!)

- -
-
- -

◆ BLACK()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::BLACK ()
-
-inlinestatic
-
-
- -

◆ WHITE()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::WHITE ()
-
-inlinestatic
-
- -

Create absolute white color.

- -

Referenced by ipe::Reference::Reference(), and ipe::Reference::saveAsXml().

- -
-
- -

◆ ONE()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::ONE ()
-
-inlinestatic
-
- -

Create absolute number one.

- -

Referenced by normal(), ipe::Reference::Reference(), and ipe::Reference::saveAsXml().

- -
-
- -

◆ NORMAL()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::NORMAL ()
-
-inlinestatic
-
-
- -

◆ UNDEFINED()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::UNDEFINED ()
-
-inlinestatic
-
- -

Create symbolic attribute "undefined".

- -

Referenced by ipe::StyleSheet::find(), ipe::Cascade::find(), and ipe::Object::getAttribute().

- -
-
- -

◆ BACKGROUND()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::BACKGROUND ()
-
-inlinestatic
-
-
- -

◆ SYM_STROKE()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::SYM_STROKE ()
-
-inlinestatic
-
- -

Create symbolic attribute "sym-stroke".

- -

Referenced by ipe::Painter::setFill(), ipe::Painter::setStroke(), ipe::Painter::setSymFill(), and ipe::Painter::setSymStroke().

- -
-
- -

◆ SYM_FILL()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::SYM_FILL ()
-
-inlinestatic
-
- -

Create symbolic attribute "sym-fill".

- -

Referenced by ipe::Painter::setFill(), ipe::Painter::setStroke(), ipe::Painter::setSymFill(), and ipe::Painter::setSymStroke().

- -
-
- -

◆ SYM_PEN()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::SYM_PEN ()
-
-inlinestatic
-
- -

Create symbolic attribute "sym-pen".

- -

Referenced by ipe::Painter::setPen(), and ipe::Painter::setSymPen().

- -
-
- -

◆ ARROW_NORMAL()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::ARROW_NORMAL ()
-
-inlinestatic
-
- -

Create symbolic attribute "arrow/normal(spx)".

- -

Referenced by ipe::AttributeMap::add().

- -
-
- -

◆ OPAQUE()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::OPAQUE ()
-
-inlinestatic
-
-
- -

◆ ARROW_ARC()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::ARROW_ARC ()
-
-inlinestatic
-
- -

Create symbolic attribute "arrow/arc(spx)".

- -
-
- -

◆ ARROW_FARC()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::ARROW_FARC ()
-
-inlinestatic
-
- -

Create symbolic attribute "arrow/farc(spx)".

- -

Referenced by ipe::Path::drawArrow().

- -
-
- -

◆ ARROW_PTARC()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::ARROW_PTARC ()
-
-inlinestatic
-
- -

Create symbolic attribute "arrow/ptarc(spx)".

- -

Referenced by ipe::Path::drawArrow().

- -
-
- -

◆ ARROW_FPTARC()

- -
-
- - - - - -
- - - - - - - -
static Attribute ipe::Attribute::ARROW_FPTARC ()
-
-inlinestatic
-
- -

Create symbolic attribute "arrow/fptarc(spx)".

- -

Referenced by ipe::Path::drawArrow().

- -
-
- -

◆ isArcArrow()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Attribute::isArcArrow () const
-
-inline
-
- -

Is it one of the symbolic attributes "arrow/*arc(spc)"?

- -

Referenced by ipe::Path::draw(), and ipe::Path::drawArrow().

- -
-
- -

◆ isMidArrow()

- -
-
- - - - - - - -
bool Attribute::isMidArrow () const
-
- -

Is it a symbolic arrow name of the form "arrow/mid-*"?

- -

Referenced by ipe::Path::setArrow(), ipe::Path::setAttribute(), and ipe::Path::setRarrow().

- -
-
- -

◆ makeColor()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Attribute Attribute::makeColor (String str,
Attribute deflt 
)
-
-static
-
- -

Make a color attribute.

-

If the string starts with a letter, make a symbolic attribute. Otherwise, it's either a single gray value (0.0 to 1.0), or the three red, green, and blue components, separated by spaces. If it's an empty string, return deflt.

- -

References ipe::Color::Color(), and ipe::String::empty().

- -

Referenced by ipe::ImlParser::parseStyle(), ipe::Reference::Reference(), and ipe::Text::Text().

- -
-
- -

◆ makeScalar()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Attribute Attribute::makeScalar (String str,
Attribute deflt 
)
-
-static
-
- -

Make a scalar attribute.

-

If str is empty, simply return deflt. If str starts with a letter, make a symbolic attribute. Otherwise, must be a number.

- -

References ipe::String::empty().

- -

Referenced by ipe::ImlParser::parseStyle(), and ipe::Reference::Reference().

- -
-
- -

◆ makeDashStyle()

- -
-
- - - - - -
- - - - - - - - -
Attribute Attribute::makeDashStyle (String str)
-
-static
-
- -

Construct dash style attribute from string.

-

Strings starting with '[' create an absolute dash style. The empty string is equivalent to 'normal'. Any other string creates a symbolic dash style.

- -

References ipe::String::empty(), and NORMAL().

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ makeTextSize()

- -
-
- - - - - -
- - - - - - - - -
Attribute Attribute::makeTextSize (String str)
-
-static
-
- -

Construct text size attribute from string.

-

String starting with digit creates a numeric absolute value, string starting with letter creates symbolic text size, anything else creates absolute (string) text size. The empty string is treated like "normal".

- -

References ipe::String::empty(), and NORMAL().

- -

Referenced by ipe::ImlParser::parseStyle(), and ipe::Text::Text().

- -
-
- -

◆ normal()

- -
-
- - - - - -
- - - - - - - - -
Attribute Attribute::normal (Kind kind)
-
-static
-
- -

Return a standard value for attribute of kind.

-

The value is used if the stylesheet doesn't define a symbolic attribute used in the document.

- -

References BLACK(), ipe::EAngleSize, ipe::EArrowSize, ipe::EColor, ipe::EDashStyle, ipe::EGridSize, ipe::EOpacity, ipe::EPen, ipe::ESymbolSize, ipe::ETextSize, ipe::ETextStretch, ipe::ETextStyle, NORMAL(), and ONE().

- -

Referenced by ipe::Cascade::find().

- -
-
-

Friends And Related Function Documentation

- -

◆ StyleSheet

- -
-
- - - - - -
- - - - -
friend class StyleSheet
-
-friend
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_attribute_map.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute_map.html --- ipe-7.2.20/build/doc/classipe_1_1_attribute_map.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute_map.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,200 +0,0 @@ - - - - - - - -Ipelib: ipe::AttributeMap Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::AttributeMap Class Reference
-
-
- -

#include <ipeattributes.h>

- - - - - - - - - - -

-Public Member Functions

int count () const noexcept
 
Attribute map (Kind kind, Attribute sym) const
 
void saveAsXml (Stream &stream) const
 
void add (const AttributeMapping &map)
 
- - - -

-Public Attributes

std::vector< AttributeMappingiMap
 
-

Member Function Documentation

- -

◆ count()

- -
-
- - - - - -
- - - - - - - -
int ipe::AttributeMap::count () const
-
-inlinenoexcept
-
- -

Referenced by ipe::Page::saveAsXml().

- -
-
- -

◆ map()

- -
-
- - - - - - - - - - - - - - - - - - -
Attribute AttributeMap::map (Kind kind,
Attribute sym 
) const
-
- -

Map the given symbolic attribute sym. Returns sym if there is no mapping.

- -

Referenced by ipe::Painter::doDrawSymbol(), and ipe::Painter::lookup().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - - - - -
void AttributeMap::saveAsXml (Streamstream) const
-
-
- -

◆ add()

- -
-
- - - - - - - - -
void AttributeMap::add (const AttributeMappingmap)
-
-
-

Member Data Documentation

- -

◆ iMap

- -
-
- - - - -
std::vector<AttributeMapping> ipe::AttributeMap::iMap
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_attribute_map-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute_map-members.html --- ipe-7.2.20/build/doc/classipe_1_1_attribute_map-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute_map-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::AttributeMap Member List
-
-
- -

This is the complete list of members for ipe::AttributeMap, including all inherited members.

- - - - - - -
add(const AttributeMapping &map)ipe::AttributeMap
count() const noexceptipe::AttributeMapinline
iMapipe::AttributeMap
map(Kind kind, Attribute sym) constipe::AttributeMap
saveAsXml(Stream &stream) constipe::AttributeMap
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_attribute-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute-members.html --- ipe-7.2.20/build/doc/classipe_1_1_attribute-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_attribute-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,114 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Attribute Member List
-
-
- -

This is the complete list of members for ipe::Attribute, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ARROW_ARC()ipe::Attributeinlinestatic
ARROW_FARC()ipe::Attributeinlinestatic
ARROW_FPTARC()ipe::Attributeinlinestatic
ARROW_NORMAL()ipe::Attributeinlinestatic
ARROW_PTARC()ipe::Attributeinlinestatic
Attribute()ipe::Attributeinlineexplicit
Attribute(bool symbolic, String name)ipe::Attributeexplicit
Attribute(Fixed value)ipe::Attributeexplicit
Attribute(Color color)ipe::Attributeexplicit
Attribute(THorizontalAlignment align)ipe::Attributeinlineexplicit
Attribute(TVerticalAlignment align)ipe::Attributeinlineexplicit
Attribute(TLineJoin join)ipe::Attributeinlineexplicit
Attribute(TLineCap cap)ipe::Attributeinlineexplicit
Attribute(TFillRule rule)ipe::Attributeinlineexplicit
Attribute(TPinned pin)ipe::Attributeinlineexplicit
Attribute(TTransformations trans)ipe::Attributeinlineexplicit
Attribute(TPathMode pm)ipe::Attributeinlineexplicit
Attribute(TSplineType st)ipe::Attributeinlineexplicit
BACKGROUND()ipe::Attributeinlinestatic
BLACK()ipe::Attributeinlinestatic
Boolean(bool flag)ipe::Attributeinlinestatic
boolean() constipe::Attributeinline
color() constipe::Attribute
fillRule() constipe::Attributeinline
horizontalAlignment() constipe::Attributeinline
index() constipe::Attributeinline
internal() constipe::Attributeinline
isArcArrow() constipe::Attributeinline
isBoolean() constipe::Attributeinline
isColor() constipe::Attributeinline
isEnum() constipe::Attributeinline
isMidArrow() constipe::Attribute
isNormal() constipe::Attributeinline
isNumber() constipe::Attributeinline
isString() constipe::Attributeinline
isSymbolic() constipe::Attributeinline
lineCap() constipe::Attributeinline
lineJoin() constipe::Attributeinline
makeColor(String str, Attribute deflt)ipe::Attributestatic
makeDashStyle(String str)ipe::Attributestatic
makeScalar(String str, Attribute deflt)ipe::Attributestatic
makeTextSize(String str)ipe::Attributestatic
normal(Kind kind)ipe::Attributestatic
NORMAL()ipe::Attributeinlinestatic
number() constipe::Attribute
ONE()ipe::Attributeinlinestatic
OPAQUE()ipe::Attributeinlinestatic
operator!=(const Attribute &rhs) constipe::Attributeinline
operator==(const Attribute &rhs) constipe::Attributeinline
pathMode() constipe::Attributeinline
pinned() constipe::Attributeinline
splineType() constipe::Attributeinline
string() constipe::Attribute
StyleSheet classipe::Attributefriend
SYM_FILL()ipe::Attributeinlinestatic
SYM_PEN()ipe::Attributeinlinestatic
SYM_STROKE()ipe::Attributeinlinestatic
transformations() constipe::Attributeinline
UNDEFINED()ipe::Attributeinlinestatic
verticalAlignment() constipe::Attributeinline
WHITE()ipe::Attributeinlinestatic
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_base64_source.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_source.html --- ipe-7.2.20/build/doc/classipe_1_1_base64_source.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,133 +0,0 @@ - - - - - - - -Ipelib: ipe::Base64Source Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Base64Source Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::DataSource.

- - - - - - - - - - - - - - - -

-Public Member Functions

 Base64Source (DataSource &source)
 
virtual int getChar ()
 
- Public Member Functions inherited from ipe::DataSource
virtual ~DataSource ()=0
 
virtual int length () const
 
virtual void setPosition (int pos)
 
virtual int position () const
 
-

Detailed Description

-

Filter source adding Base64 decoding.

-

Constructor & Destructor Documentation

- -

◆ Base64Source()

- -
-
- - - - - - - - -
Base64Source::Base64Source (DataSourcesource)
-
- -
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
int Base64Source::getChar ()
-
-virtual
-
- -

Get one more character, or EOF.

- -

Implements ipe::DataSource.

- -

References ipe::DataSource::getChar().

- -

Referenced by ipe::Bitmap::Bitmap().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_base64_source-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_source-members.html --- ipe-7.2.20/build/doc/classipe_1_1_base64_source-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_source-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Base64Source Member List
-
-
- -

This is the complete list of members for ipe::Base64Source, including all inherited members.

- - - - - - - -
Base64Source(DataSource &source)ipe::Base64Source
getChar()ipe::Base64Sourcevirtual
length() constipe::DataSourcevirtual
position() constipe::DataSourcevirtual
setPosition(int pos)ipe::DataSourcevirtual
~DataSource()=0ipe::DataSourcepure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_base64_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_base64_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,183 +0,0 @@ - - - - - - - -Ipelib: ipe::Base64Stream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Base64Stream Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::Stream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Base64Stream (Stream &stream)
 
virtual void putChar (char ch)
 
virtual void close ()
 
- Public Member Functions inherited from ipe::Stream
virtual ~Stream ()
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
-

Detailed Description

-

Filter stream adding Base64 encoding.

-

Constructor & Destructor Documentation

- -

◆ Base64Stream()

- -
-
- - - - - - - - -
Base64Stream::Base64Stream (Streamstream)
-
- -
-
-

Member Function Documentation

- -

◆ putChar()

- -
-
- - - - - -
- - - - - - - - -
void Base64Stream::putChar (char ch)
-
-virtual
-
- -

Output character.

- -

Implements ipe::Stream.

- -

References ipe::Stream::putChar(), and ipe::Stream::putCString().

- -

Referenced by ipe::Bitmap::saveAsXml().

- -
-
- -

◆ close()

- -
-
- - - - - -
- - - - - - - -
void Base64Stream::close ()
-
-virtual
-
- -

Close the stream. No more writing allowed!

- -

Reimplemented from ipe::Stream.

- -

References ipe::Stream::close(), and ipe::Stream::putCString().

- -

Referenced by ipe::Bitmap::saveAsXml().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_base64_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_base64_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_base64_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Base64Stream Member List
-
-
- -

This is the complete list of members for ipe::Base64Stream, including all inherited members.

- - - - - - - - - - - - - - - -
Base64Stream(Stream &stream)ipe::Base64Stream
close()ipe::Base64Streamvirtual
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)ipe::Base64Streamvirtual
putCString(const char *s)ipe::Streamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::Streamvirtual
putString(String s)ipe::Streamvirtual
putXmlString(String s)ipe::Stream
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_b_box_painter.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_b_box_painter.html --- ipe-7.2.20/build/doc/classipe_1_1_b_box_painter.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_b_box_painter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,612 +0,0 @@ - - - - - - - -Ipelib: ipe::BBoxPainter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Protected Member Functions | -List of all members
-
-
ipe::BBoxPainter Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::Painter.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 BBoxPainter (const Cascade *style)
 
Rect bbox () const
 
- Public Member Functions inherited from ipe::Painter
 Painter (const Cascade *style)
 
virtual ~Painter ()
 
void setAttributeMap (const AttributeMap *map)
 
Attribute lookup (Kind kind, Attribute sym) const
 
void transform (const Matrix &m)
 
void untransform (TTransformations trans)
 
void translate (const Vector &v)
 
void push ()
 
void pop ()
 
void pushMatrix ()
 
void popMatrix ()
 
void newPath ()
 
void moveTo (const Vector &v)
 
void lineTo (const Vector &v)
 
void curveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
void curveTo (const Bezier &bezier)
 
void rect (const Rect &re)
 
void drawEllipse ()
 
void drawArc (const Arc &arc)
 
void closePath ()
 
void drawPath (TPathMode mode)
 
void drawBitmap (Bitmap bitmap)
 
void drawText (const Text *text)
 
void drawSymbol (Attribute symbol)
 
void addClipPath ()
 
void setStroke (Attribute color)
 
void setFill (Attribute color)
 
void setPen (Attribute pen)
 
void setDashStyle (Attribute dash)
 
void setLineCap (TLineCap cap)
 
void setLineJoin (TLineJoin join)
 
void setFillRule (TFillRule rule)
 
void setSymStroke (Attribute color)
 
void setSymFill (Attribute color)
 
void setSymPen (Attribute wid)
 
void setOpacity (Attribute opaq)
 
void setStrokeOpacity (Attribute opaq)
 
void setTiling (Attribute til)
 
void setGradient (Attribute grad)
 
const Cascadecascade () const
 
Color stroke () const
 
Color fill () const
 
const Matrixmatrix () const
 
Fixed pen () const
 
String dashStyle () const
 
void dashStyle (std::vector< double > &dashes, double &offset) const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
Color symStroke () const
 
Color symFill () const
 
Fixed symPen () const
 
Fixed opacity () const
 
Fixed strokeOpacity () const
 
Attribute tiling () const
 
Attribute gradient () const
 
const Statestate () const
 
void setState (const State &state)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

virtual void doPush ()
 
virtual void doPop ()
 
virtual void doNewPath ()
 
virtual void doMoveTo (const Vector &v)
 
virtual void doLineTo (const Vector &v)
 
virtual void doCurveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
virtual void doDrawPath (TPathMode mode)
 
virtual void doDrawBitmap (Bitmap bitmap)
 
virtual void doDrawText (const Text *text)
 
virtual void doAddClipPath ()
 
- Protected Member Functions inherited from ipe::Painter
virtual void doDrawArc (const Arc &arc)
 
virtual void doClosePath ()
 
virtual void doDrawSymbol (Attribute symbol)
 
void drawArcAsBezier (double alpha)
 
- - - - - - - - - - - - -

-Additional Inherited Members

- Protected Attributes inherited from ipe::Painter
std::list< StateiState
 
std::list< MatrixiMatrix
 
const CascadeiCascade
 
const AttributeMapiAttributeMap
 
int iInPath
 
-

Detailed Description

-

Paint objects using this painter to compute an accurate bounding box.

-

The Object::bbox member function computes a bounding box useful for distance calculations and optimizations. To find a bounding box that is accurate for the actual drawn object, paint the object using a BBoxPainter, and retrieve the box with bbox.

-

Constructor & Destructor Documentation

- -

◆ BBoxPainter()

- -
-
- - - - - - - - -
BBoxPainter::BBoxPainter (const Cascadestyle)
-
- -
-
-

Member Function Documentation

- -

◆ bbox()

- -
-
- - - - - -
- - - - - - - -
Rect ipe::BBoxPainter::bbox () const
-
-inline
-
- -

Referenced by ipe::Page::pageBBox(), and ipe::Page::viewBBox().

- -
-
- -

◆ doPush()

- -
-
- - - - - -
- - - - - - - -
void BBoxPainter::doPush ()
-
-protectedvirtual
-
- -

Perform graphics state push on output medium.

- -

Reimplemented from ipe::Painter.

- -
-
- -

◆ doPop()

- -
-
- - - - - -
- - - - - - - -
void BBoxPainter::doPop ()
-
-protectedvirtual
-
- -

Perform graphics state pop on output medium.

- -

Reimplemented from ipe::Painter.

- -
-
- -

◆ doNewPath()

- -
-
- - - - - -
- - - - - - - -
void BBoxPainter::doNewPath ()
-
-protectedvirtual
-
- -

Perform new path operator.

- -

Reimplemented from ipe::Painter.

- -

References ipe::Rect::clear().

- -
-
- -

◆ doMoveTo()

- -
-
- - - - - -
- - - - - - - - -
void BBoxPainter::doMoveTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform moveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

References ipe::Rect::addPoint().

- -
-
- -

◆ doLineTo()

- -
-
- - - - - -
- - - - - - - - -
void BBoxPainter::doLineTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform lineto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

References ipe::Rect::addPoint().

- -
-
- -

◆ doCurveTo()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void BBoxPainter::doCurveTo (const Vectorv1,
const Vectorv2,
const Vectorv3 
)
-
-protectedvirtual
-
- -

Perform curveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

References ipe::Rect::addPoint(), ipe::Bezier::bbox(), ipe::Rect::bottomLeft(), and ipe::Rect::topRight().

- -
-
- -

◆ doDrawPath()

- -
-
- - - - - -
- - - - - - - - -
void BBoxPainter::doDrawPath (TPathMode mode)
-
-protectedvirtual
-
-
- -

◆ doDrawBitmap()

- -
-
- - - - - -
- - - - - - - - -
void BBoxPainter::doDrawBitmap (Bitmap bitmap)
-
-protectedvirtual
-
- -

Draw a bitmap.

- -

Reimplemented from ipe::Painter.

- -

References ipe::Rect::addPoint(), ipe::Rect::addRect(), ipe::Rect::clipTo(), and ipe::Painter::matrix().

- -
-
- -

◆ doDrawText()

- -
-
- - - - - -
- - - - - - - - -
void BBoxPainter::doDrawText (const Texttext)
-
-protectedvirtual
-
-
- -

◆ doAddClipPath()

- -
-
- - - - - -
- - - - - - - -
void BBoxPainter::doAddClipPath ()
-
-protectedvirtual
-
- -

Add a clip path.

- -

Reimplemented from ipe::Painter.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_b_box_painter-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_b_box_painter-members.html --- ipe-7.2.20/build/doc/classipe_1_1_b_box_painter-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_b_box_painter-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,132 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::BBoxPainter Member List
-
-
- -

This is the complete list of members for ipe::BBoxPainter, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addClipPath()ipe::Painter
bbox() constipe::BBoxPainterinline
BBoxPainter(const Cascade *style)ipe::BBoxPainter
cascade() constipe::Painterinline
closePath()ipe::Painter
curveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::Painter
curveTo(const Bezier &bezier)ipe::Painterinline
dashStyle() constipe::Painterinline
dashStyle(std::vector< double > &dashes, double &offset) constipe::Painter
doAddClipPath()ipe::BBoxPainterprotectedvirtual
doClosePath()ipe::Painterprotectedvirtual
doCurveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::BBoxPainterprotectedvirtual
doDrawArc(const Arc &arc)ipe::Painterprotectedvirtual
doDrawBitmap(Bitmap bitmap)ipe::BBoxPainterprotectedvirtual
doDrawPath(TPathMode mode)ipe::BBoxPainterprotectedvirtual
doDrawSymbol(Attribute symbol)ipe::Painterprotectedvirtual
doDrawText(const Text *text)ipe::BBoxPainterprotectedvirtual
doLineTo(const Vector &v)ipe::BBoxPainterprotectedvirtual
doMoveTo(const Vector &v)ipe::BBoxPainterprotectedvirtual
doNewPath()ipe::BBoxPainterprotectedvirtual
doPop()ipe::BBoxPainterprotectedvirtual
doPush()ipe::BBoxPainterprotectedvirtual
drawArc(const Arc &arc)ipe::Painter
drawArcAsBezier(double alpha)ipe::Painterprotected
drawBitmap(Bitmap bitmap)ipe::Painter
drawEllipse()ipe::Painter
drawPath(TPathMode mode)ipe::Painter
drawSymbol(Attribute symbol)ipe::Painter
drawText(const Text *text)ipe::Painter
fill() constipe::Painterinline
fillRule() constipe::Painterinline
gradient() constipe::Painterinline
iAttributeMapipe::Painterprotected
iCascadeipe::Painterprotected
iInPathipe::Painterprotected
iMatrixipe::Painterprotected
iStateipe::Painterprotected
lineCap() constipe::Painterinline
lineJoin() constipe::Painterinline
lineTo(const Vector &v)ipe::Painter
lookup(Kind kind, Attribute sym) constipe::Painter
matrix() constipe::Painterinline
moveTo(const Vector &v)ipe::Painter
newPath()ipe::Painter
opacity() constipe::Painterinline
Painter(const Cascade *style)ipe::Painter
pen() constipe::Painterinline
pop()ipe::Painter
popMatrix()ipe::Painter
push()ipe::Painter
pushMatrix()ipe::Painter
rect(const Rect &re)ipe::Painter
setAttributeMap(const AttributeMap *map)ipe::Painter
setDashStyle(Attribute dash)ipe::Painter
setFill(Attribute color)ipe::Painter
setFillRule(TFillRule rule)ipe::Painter
setGradient(Attribute grad)ipe::Painter
setLineCap(TLineCap cap)ipe::Painter
setLineJoin(TLineJoin join)ipe::Painter
setOpacity(Attribute opaq)ipe::Painter
setPen(Attribute pen)ipe::Painter
setState(const State &state)ipe::Painter
setStroke(Attribute color)ipe::Painter
setStrokeOpacity(Attribute opaq)ipe::Painter
setSymFill(Attribute color)ipe::Painter
setSymPen(Attribute wid)ipe::Painter
setSymStroke(Attribute color)ipe::Painter
setTiling(Attribute til)ipe::Painter
state() constipe::Painterinline
stroke() constipe::Painterinline
strokeOpacity() constipe::Painterinline
symFill() constipe::Painterinline
symPen() constipe::Painterinline
symStroke() constipe::Painterinline
tiling() constipe::Painterinline
transform(const Matrix &m)ipe::Painter
translate(const Vector &v)ipe::Painter
untransform(TTransformations trans)ipe::Painter
~Painter()ipe::Paintervirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_bezier.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bezier.html --- ipe-7.2.20/build/doc/classipe_1_1_bezier.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bezier.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,839 +0,0 @@ - - - - - - - -Ipelib: ipe::Bezier Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::Bezier Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Bezier ()
 
 Bezier (const Vector &p0, const Vector &p1, const Vector &p2, const Vector &p3)
 
Vector point (double t) const
 
Vector tangent (double t) const
 
double distance (const Vector &v, double bound)
 
bool straight (double precision) const
 
void subdivide (Bezier &l, Bezier &r) const
 
void approximate (double precision, std::vector< Vector > &result) const
 
Rect bbox () const
 
bool snap (const Vector &v, double &t, Vector &pos, double &bound) const
 
void intersect (const Line &l, std::vector< Vector > &result) const
 
void intersect (const Segment &l, std::vector< Vector > &result) const
 
void intersect (const Bezier &b, std::vector< Vector > &result) const
 
- - - - - - - - - - - - - -

-Static Public Member Functions

static Bezier quadBezier (const Vector &p0, const Vector &p1, const Vector &p2)
 
static void oldSpline (int n, const Vector *v, std::vector< Bezier > &result)
 
static void spline (int n, const Vector *v, std::vector< Bezier > &result)
 
static void cardinalSpline (int n, const Vector *v, double tension, std::vector< Bezier > &result)
 
static void spiroSpline (int n, const Vector *v, std::vector< Bezier > &result)
 
static void closedSpline (int n, const Vector *v, std::vector< Bezier > &result)
 
- - - -

-Public Attributes

Vector iV [4]
 
-

Detailed Description

-

A cubic Bezier spline.

-

Constructor & Destructor Documentation

- -

◆ Bezier() [1/2]

- -
-
- - - - - -
- - - - - - - -
ipe::Bezier::Bezier ()
-
-inline
-
- -

Default constructor, uninitialized curve.

- -
-
- -

◆ Bezier() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ipe::Bezier::Bezier (const Vectorp0,
const Vectorp1,
const Vectorp2,
const Vectorp3 
)
-
-inline
-
- -

Constructor with four control points.

- -
-
-

Member Function Documentation

- -

◆ point()

- -
-
- - - - - - - - -
Vector Bezier::point (double t) const
-
- -

Return point on curve with parameter t (from 0.0 to 1.0).

- -

Referenced by snap().

- -
-
- -

◆ tangent()

- -
-
- - - - - - - - -
Vector Bezier::tangent (double t) const
-
- -

Return tangent direction of curve at parameter t (from 0.0 to 1.0).

-

The returned vector is not normalized.

- -

Referenced by ipe::Snap::setEdge().

- -
-
- -

◆ distance()

- -
-
- - - - - - - - - - - - - - - - - - -
double Bezier::distance (const Vectorv,
double bound 
)
-
- -

Return distance to Bezier spline.

-

But may just return bound if actual distance is larger. The Bezier spline is approximated to a precision of 1.0, and the distance to the approximation is returned.

- -

References ipe::Rect::addPoint(), and ipe::Rect::certainClearance().

- -
-
- -

◆ straight()

- -
-
- - - - - - - - -
bool Bezier::straight (double precision) const
-
-

Returns true if the Bezier curve is nearly identical to the line segment iV[0]..iV[3].

- -

References ipe::Line::distance(), and ipe::Line::through().

- -

Referenced by ipe::Arc::intersect(), and snap().

- -
-
- -

◆ subdivide()

- -
-
- - - - - - - - - - - - - - - - - - -
void Bezier::subdivide (Bezierl,
Bezierr 
) const
-
- -

Subdivide this Bezier curve in the middle.

- -

References iV.

- -

Referenced by ipe::Arc::intersect(), and snap().

- -
-
- -

◆ approximate()

- -
-
- - - - - - - - - - - - - - - - - - -
void Bezier::approximate (double precision,
std::vector< Vector > & result 
) const
-
- -

Approximate by a polygonal chain.

-

result must be empty when calling this.

- -

References approximate().

- -

Referenced by approximate().

- -
-
- -

◆ bbox()

- -
-
- - - - - - - -
Rect Bezier::bbox () const
-
- -

Return a tight bounding box (accurate to within 0.5).

- -

References ipe::Rect::addPoint(), ipe::Rect::bottomLeft(), and ipe::Rect::topRight().

- -

Referenced by ipe::BBoxPainter::doCurveTo().

- -
-
- -

◆ snap()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Bezier::snap (const Vectorv,
double & t,
Vectorpos,
double & bound 
) const
-
- -

Find (approximately) nearest point on Bezier spline.

-

Find point on spline nearest to v, but only if it is closer than bound. If a point is found, sets t to the parameter value and pos to the actual point, and returns true.

- -

References ipe::Rect::addPoint(), ipe::Rect::certainClearance(), ipe::Rect::intersects(), ipe::Segment::intersects(), ipe::Matrix::inverse(), iV, point(), ipe::Segment::project(), ipe::size(), ipe::Vector::snap(), snap(), straight(), and subdivide().

- -

Referenced by ipe::Snap::setEdge(), and snap().

- -
-
- -

◆ quadBezier()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Bezier Bezier::quadBezier (const Vectorp0,
const Vectorp1,
const Vectorp2 
)
-
-static
-
- -

Convert a quadratic Bezier-spline to a cubic one.

-

The quadratic Bezier-spline with control points p0, p1, p2 is identical to the cubic Bezier-spline with control points q0 = p0, q1 = (2p1 + p0)/3, q2 = (2p1 + p2)/3, q3 = p2.

- -

Referenced by cardinalSpline().

- -
-
- -

◆ oldSpline()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Bezier::oldSpline (int n,
const Vectorv,
std::vector< Bezier > & result 
)
-
-static
-
- -

Convert an old-style Ipe B-spline to a series of Bezier splines.

-

For some reason lost in the mist of time, this was the definition of splines in Ipe for many years. It doesn't use knots. The first and last control point are simply given multiplicity 3.

-

Bezier splines are appended to result.

- -

Referenced by ipe::CurveSegment::beziers().

- -
-
- -

◆ spline()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Bezier::spline (int n,
const Vectorv,
std::vector< Bezier > & result 
)
-
-static
-
- -

Convert a clamped uniform B-spline to a series of Bezier splines.

-

See Thomas Sederberg, Computer-Aided Geometric Design, Chapter 6.

-

In polar coordinates, a control point is defined by three knots, so n control points need n + 2 knots. To clamp the spline to the first and last control point, the first and last knot are repeated three times. This leads to k knot intervals and the knot sequence [0, 0, 0, 1, 2, 3, 4, 5, 6, ..., k-2, k-1, k, k, k] There are k + 5 = n + 2 knots in this sequence, so k = n-3 is the number of knot intervals and therefore the number of output Bezier curves.

-

If n = 4, the knot sequence is [0, 0, 0, 1, 1, 1] and the result is simply the Bezier curve on the four control points.

-

When n in {2, 3}, returns a single Bezier curve that is a segment or quadratic Bezier spline. This is different from the behaviour of the "old" Ipe splines.

-

Bezier splines are appended to result.

- -

Referenced by ipe::CurveSegment::beziers(), and spiroSpline().

- -
-
- -

◆ cardinalSpline()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Bezier::cardinalSpline (int n,
const Vectorv,
double tension,
std::vector< Bezier > & result 
)
-
-static
-
- -

Convert a cardinal spline to a series of Bezier splines.

-

Bezier splines are appended to result.

- -

References quadBezier().

- -

Referenced by ipe::CurveSegment::beziers().

- -
-
- -

◆ spiroSpline()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Bezier::spiroSpline (int n,
const Vectorv,
std::vector< Bezier > & result 
)
-
-static
-
- -

References spline(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by ipe::Curve::appendSpiroSpline().

- -
-
- -

◆ closedSpline()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Bezier::closedSpline (int n,
const Vectorv,
std::vector< Bezier > & result 
)
-
-static
-
- -

Convert a closed uniform cubic B-spline to a series of Bezier splines.

-

Bezier splines are appended to result.

- -

Referenced by ipe::ClosedSpline::beziers().

- -
-
- -

◆ intersect() [1/3]

- -
-
- - - - - - - - - - - - - - - - - - -
void Bezier::intersect (const Linel,
std::vector< Vector > & result 
) const
-
- -

Compute intersection points of Bezier with Line.

- -

References intersect(), ipe::Segment::intersects(), and ipe::Line::side().

- -

Referenced by intersect().

- -
-
- -

◆ intersect() [2/3]

- -
-
- - - - - - - - - - - - - - - - - - -
void Bezier::intersect (const Segmentl,
std::vector< Vector > & result 
) const
-
- -

Compute intersection points of Bezier with Segment.

- -

References ipe::Segment::iP, and ipe::Segment::iQ.

- -
-
- -

◆ intersect() [3/3]

- -
-
- - - - - - - - - - - - - - - - - - -
void Bezier::intersect (const Bezierb,
std::vector< Vector > & result 
) const
-
- -

Compute intersection points of Bezier with Bezier.

- -
-
-

Member Data Documentation

- -

◆ iV

- -
-
- - - - -
Vector ipe::Bezier::iV[4]
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_bezier-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bezier-members.html --- ipe-7.2.20/build/doc/classipe_1_1_bezier-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bezier-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,73 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Bezier Member List
-
-
- -

This is the complete list of members for ipe::Bezier, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - -
approximate(double precision, std::vector< Vector > &result) constipe::Bezier
bbox() constipe::Bezier
Bezier()ipe::Bezierinline
Bezier(const Vector &p0, const Vector &p1, const Vector &p2, const Vector &p3)ipe::Bezierinline
cardinalSpline(int n, const Vector *v, double tension, std::vector< Bezier > &result)ipe::Bezierstatic
closedSpline(int n, const Vector *v, std::vector< Bezier > &result)ipe::Bezierstatic
distance(const Vector &v, double bound)ipe::Bezier
intersect(const Line &l, std::vector< Vector > &result) constipe::Bezier
intersect(const Segment &l, std::vector< Vector > &result) constipe::Bezier
intersect(const Bezier &b, std::vector< Vector > &result) constipe::Bezier
iVipe::Bezier
oldSpline(int n, const Vector *v, std::vector< Bezier > &result)ipe::Bezierstatic
point(double t) constipe::Bezier
quadBezier(const Vector &p0, const Vector &p1, const Vector &p2)ipe::Bezierstatic
snap(const Vector &v, double &t, Vector &pos, double &bound) constipe::Bezier
spiroSpline(int n, const Vector *v, std::vector< Bezier > &result)ipe::Bezierstatic
spline(int n, const Vector *v, std::vector< Bezier > &result)ipe::Bezierstatic
straight(double precision) constipe::Bezier
subdivide(Bezier &l, Bezier &r) constipe::Bezier
tangent(double t) constipe::Bezier
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_bitmap_finder.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap_finder.html --- ipe-7.2.20/build/doc/classipe_1_1_bitmap_finder.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap_finder.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ - - - - - - - -Ipelib: ipe::BitmapFinder Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::BitmapFinder Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::Visitor.

- - - - - - - - - - - - - - - - - -

-Public Member Functions

void scanPage (const Page *page)
 
virtual void visitGroup (const Group *obj)
 
virtual void visitImage (const Image *obj)
 
- Public Member Functions inherited from ipe::Visitor
virtual ~Visitor ()
 
virtual void visitPath (const Path *obj)
 
virtual void visitText (const Text *obj)
 
virtual void visitReference (const Reference *obj)
 
- - - -

-Public Attributes

std::vector< BitmapiBitmaps
 
-

Detailed Description

-

A visitor that recursively scans objects and collects all bitmaps.

-

Member Function Documentation

- -

◆ scanPage()

- -
-
- - - - - - - - -
void BitmapFinder::scanPage (const Pagepage)
-
-
- -

◆ visitGroup()

- -
-
- - - - - -
- - - - - - - - -
void BitmapFinder::visitGroup (const Groupobj)
-
-virtual
-
- -

Called on an Group object.

- -

Reimplemented from ipe::Visitor.

- -

References ipe::Group::begin(), and ipe::Group::end().

- -
-
- -

◆ visitImage()

- -
-
- - - - - -
- - - - - - - - -
void BitmapFinder::visitImage (const Imageobj)
-
-virtual
-
- -

Called on an Image object.

- -

Reimplemented from ipe::Visitor.

- -

References ipe::Image::bitmap(), and iBitmaps.

- -
-
-

Member Data Documentation

- -

◆ iBitmaps

- -
-
- - - - -
std::vector<Bitmap> ipe::BitmapFinder::iBitmaps
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_bitmap_finder-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap_finder-members.html --- ipe-7.2.20/build/doc/classipe_1_1_bitmap_finder-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap_finder-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::BitmapFinder Member List
-
-
- -

This is the complete list of members for ipe::BitmapFinder, including all inherited members.

- - - - - - - - - -
iBitmapsipe::BitmapFinder
scanPage(const Page *page)ipe::BitmapFinder
visitGroup(const Group *obj)ipe::BitmapFindervirtual
visitImage(const Image *obj)ipe::BitmapFindervirtual
visitPath(const Path *obj)ipe::Visitorvirtual
visitReference(const Reference *obj)ipe::Visitorvirtual
visitText(const Text *obj)ipe::Visitorvirtual
~Visitor()ipe::Visitorvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_bitmap.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap.html --- ipe-7.2.20/build/doc/classipe_1_1_bitmap.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1001 +0,0 @@ - - - - - - - -Ipelib: ipe::Bitmap Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Types | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Bitmap Class Reference
-
-
- -

#include <ipebitmap.h>

- - - - -

-Public Types

enum  Flags {
-  ERGB = 0x01, -EAlpha = 0x02, -EDCT = 0x04, -EInflate = 0x08, -
-  ENative = 0x10 -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Bitmap ()
 
 Bitmap (int width, int height, uint32_t flags, Buffer data)
 
 Bitmap (const XmlAttributes &attr, String data)
 
 Bitmap (const XmlAttributes &attr, Buffer data, Buffer smask)
 
 Bitmap (const Bitmap &rhs)
 
 ~Bitmap ()
 
Bitmapoperator= (const Bitmap &rhs)
 
void saveAsXml (Stream &stream, int id, int pdfObjNum=-1) const
 
bool isNull () const
 
bool equal (Bitmap rhs) const
 
int width () const
 
int height () const
 
bool isJpeg () const
 
bool isGray () const
 
bool hasAlpha () const
 
int colorKey () const
 
Buffer pixelData ()
 
int objNum () const
 
void setObjNum (int objNum) const
 
std::pair< Buffer, Bufferembed () const
 
bool operator== (const Bitmap &rhs) const
 
bool operator!= (const Bitmap &rhs) const
 
bool operator< (const Bitmap &rhs) const
 
void savePixels (const char *fname)
 
- - - - - - - -

-Static Public Member Functions

static const char * readJpegInfo (FILE *file, int &width, int &height, Vector &dotsPerInch, uint32_t &flags)
 
static Bitmap readJpeg (const char *fname, Vector &dotsPerInch, const char *&errmsg)
 
static Bitmap readPNG (const char *fname, Vector &dotsPerInch, const char *&errmsg)
 
-

Detailed Description

-

A bitmap.

-

Bitmaps are explicitely shared using reference-counting. Copying is cheap, so Bitmap objects are meant to be passed by value.

-

The bitmap provides a slot for short-term storage of an "object -number". The PDF embedder, for instance, sets it to the PDF object number when embedding the bitmap, and can reuse it when "drawing" the bitmap.

-

Member Enumeration Documentation

- -

◆ Flags

- -
-
- - - - -
enum ipe::Bitmap::Flags
-
- - - - - - -
Enumerator
ERGB 
EAlpha 
EDCT 
EInflate 
ENative 
- -
-
-

Constructor & Destructor Documentation

- -

◆ Bitmap() [1/5]

- -
-
- - - - - - - -
Bitmap::Bitmap ()
-
- -

Default constructor constructs null bitmap.

- -

Referenced by readJpeg().

- -
-
- -

◆ Bitmap() [2/5]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bitmap::Bitmap (int width,
int height,
uint32_t flags,
Buffer data 
)
-
- -

Create a new image from given image data.

-

If you already have data in native-endian ARGB32 without premultiplication, pass it with flag ENative. Otherwise pass a byte stream and set ERGB and EAlpha correctly: EAlpha: each pixel starts with one byte of alpha channel, ERGB: each pixel has three bytes of R, G, B, in this order, otherwise each pixel has one byte of gray value.

- -

References colorKey(), ipe::Buffer::data(), EAlpha, EDCT, EInflate, ENative, ERGB, hasAlpha(), height(), isGray(), isJpeg(), ipe::Buffer::size(), and width().

- -
-
- -

◆ Bitmap() [3/5]

- -
-
- - - - - - - - - - - - - - - - - - -
Bitmap::Bitmap (const XmlAttributesattr,
String data 
)
-
-
- -

◆ Bitmap() [4/5]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bitmap::Bitmap (const XmlAttributesattr,
Buffer data,
Buffer smask 
)
-
-
- -

◆ Bitmap() [5/5]

- -
-
- - - - - - - - -
Bitmap::Bitmap (const Bitmaprhs)
-
- -

Copy constructor.

-

Since Bitmaps are reference counted, this is very fast.

- -
-
- -

◆ ~Bitmap()

- -
-
- - - - - - - -
Bitmap::~Bitmap ()
-
- -

Destructor.

- -
-
-

Member Function Documentation

- -

◆ operator=()

- -
-
- - - - - - - - -
Bitmap & Bitmap::operator= (const Bitmaprhs)
-
- -

Assignment operator (takes care of reference counting).

-

Very fast.

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Bitmap::saveAsXml (Streamstream,
int id,
int pdfObjNum = -1 
) const
-
-
- -

◆ isNull()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Bitmap::isNull () const
-
-inline
-
- -

Is this a null bitmap?

- -

Referenced by ipe::ImlParser::parseObject().

- -
-
- -

◆ equal()

- -
-
- - - - - - - - -
bool Bitmap::equal (Bitmap rhs) const
-
- -
-
- -

◆ width()

- -
-
- - - - - -
- - - - - - - -
int ipe::Bitmap::width () const
-
-inline
-
-
- -

◆ height()

- -
-
- - - - - -
- - - - - - - -
int ipe::Bitmap::height () const
-
-inline
-
-
- -

◆ isJpeg()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Bitmap::isJpeg () const
-
-inline
-
- -

Is this bitmap a JPEG photo?

- -

References EDCT.

- -

Referenced by Bitmap(), embed(), pixelData(), saveAsXml(), savePixels(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ isGray()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Bitmap::isGray () const
-
-inline
-
- -

Is the bitmap grayscale?

- -

References ERGB.

- -

Referenced by Bitmap(), embed(), saveAsXml(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ hasAlpha()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Bitmap::hasAlpha () const
-
-inline
-
- -

Does the bitmap have transparency?

-

Bitmaps with color key will return false here.

- -

References EAlpha.

- -

Referenced by Bitmap(), embed(), pixelData(), saveAsXml(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ colorKey()

- -
-
- - - - - -
- - - - - - - -
int ipe::Bitmap::colorKey () const
-
-inline
-
- -

Return the color key or -1 if none.

- -

Referenced by Bitmap(), pixelData(), saveAsXml(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ pixelData()

- -
-
- - - - - - - -
Buffer Bitmap::pixelData ()
-
- -

Return pixels for rendering.

-

Returns empty buffer if it cannot decode the bitmap information. Otherwise, returns a buffer of size width() * height() uint32_t's. The data is in cairo ARGB32 format, that is native-endian uint32_t's with premultiplied alpha.

- -

References colorKey(), hasAlpha(), height(), isJpeg(), and width().

- -

Referenced by ipe::CairoPainter::doDrawBitmap().

- -
-
- -

◆ objNum()

- -
-
- - - - - -
- - - - - - - -
int ipe::Bitmap::objNum () const
-
-inline
-
-
- -

◆ setObjNum()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Bitmap::setObjNum (int objNum) const
-
-inline
-
- -

Set object number of the bitmap.

- -

References objNum().

- -

Referenced by ipe::Page::saveAsIpePage(), ipe::Page::saveSelection(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ embed()

- -
-
- - - - - - - -
std::pair< Buffer, Buffer > Bitmap::embed () const
-
- -

Create the data to be embedded in an XML or PDF file.

-

For Jpeg images, this is simply the bitmap data. For other images, rgb/grayscale data and alpha channel are split and deflated separately.

- -

References ipe::Buffer::data(), ipe::DeflateStream::deflate(), hasAlpha(), height(), isGray(), isJpeg(), ipe::Buffer::size(), and width().

- -

Referenced by saveAsXml(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Bitmap::operator== (const Bitmaprhs) const
-
-inline
-
- -

Two bitmaps are equal if they share the same data.

- -
-
- -

◆ operator!=()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Bitmap::operator!= (const Bitmaprhs) const
-
-inline
-
- -

Two bitmaps are equal if they share the same data.

- -
-
- -

◆ operator<()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Bitmap::operator< (const Bitmaprhs) const
-
-inline
-
- -

Less operator, to be able to sort bitmaps.

-

The checksum is used, when it is equal, the shared address. This guarantees that bitmaps that are == (share their implementation) are next to each other, and blocks of them are next to blocks that are identical in contents.

- -
-
- -

◆ readJpegInfo()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
const char * Bitmap::readJpegInfo (FILE * file,
int & width,
int & height,
VectordotsPerInch,
uint32_t & flags 
)
-
-static
-
- -

Read information about JPEG image from file.

-

Returns NULL on success, an error message otherwise. Sets flags to EDCT and possibly ERGB.

- -

References EDCT, and ERGB.

- -

Referenced by readJpeg().

- -
-
- -

◆ readJpeg()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Bitmap Bitmap::readJpeg (const char * fname,
VectordotsPerInch,
const char *& errmsg 
)
-
-static
-
- -

Read JPEG image from file.

-

Returns the image as a DCT-encoded Bitmap. Sets dotsPerInch if the image file contains a resolution, otherwise sets it to (0,0). If reading the file fails, returns a null Bitmap, and sets the error message errmsg.

- -

References Bitmap(), ipe::String::data(), ipe::Platform::fopen(), height(), ipe::Platform::readFile(), readJpegInfo(), ipe::String::size(), and width().

- -
-
- -

◆ readPNG()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Bitmap Bitmap::readPNG (const char * fname,
VectordotsPerInch,
const char *& errmsg 
)
-
-static
-
- -

Read PNG image from file.

-

Returns the image as a Bitmap. It will be compressed if deflate is set. Sets dotsPerInch if the image file contains a resolution, otherwise sets it to (0,0). If reading the file fails, returns a null Bitmap, and sets the error message errmsg.

- -

References ipe::Buffer::data(), EAlpha, ERGB, and ipe::Platform::fopen().

- -
-
- -

◆ savePixels()

- -
-
- - - - - - - - -
void Bitmap::savePixels (const char * fname)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_bitmap-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap-members.html --- ipe-7.2.20/build/doc/classipe_1_1_bitmap-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_bitmap-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,86 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Bitmap Member List
-
-
- -

This is the complete list of members for ipe::Bitmap, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bitmap()ipe::Bitmap
Bitmap(int width, int height, uint32_t flags, Buffer data)ipe::Bitmap
Bitmap(const XmlAttributes &attr, String data)ipe::Bitmap
Bitmap(const XmlAttributes &attr, Buffer data, Buffer smask)ipe::Bitmap
Bitmap(const Bitmap &rhs)ipe::Bitmap
colorKey() constipe::Bitmapinline
EAlpha enum valueipe::Bitmap
EDCT enum valueipe::Bitmap
EInflate enum valueipe::Bitmap
embed() constipe::Bitmap
ENative enum valueipe::Bitmap
equal(Bitmap rhs) constipe::Bitmap
ERGB enum valueipe::Bitmap
Flags enum nameipe::Bitmap
hasAlpha() constipe::Bitmapinline
height() constipe::Bitmapinline
isGray() constipe::Bitmapinline
isJpeg() constipe::Bitmapinline
isNull() constipe::Bitmapinline
objNum() constipe::Bitmapinline
operator!=(const Bitmap &rhs) constipe::Bitmapinline
operator<(const Bitmap &rhs) constipe::Bitmapinline
operator=(const Bitmap &rhs)ipe::Bitmap
operator==(const Bitmap &rhs) constipe::Bitmapinline
pixelData()ipe::Bitmap
readJpeg(const char *fname, Vector &dotsPerInch, const char *&errmsg)ipe::Bitmapstatic
readJpegInfo(FILE *file, int &width, int &height, Vector &dotsPerInch, uint32_t &flags)ipe::Bitmapstatic
readPNG(const char *fname, Vector &dotsPerInch, const char *&errmsg)ipe::Bitmapstatic
saveAsXml(Stream &stream, int id, int pdfObjNum=-1) constipe::Bitmap
savePixels(const char *fname)ipe::Bitmap
setObjNum(int objNum) constipe::Bitmapinline
width() constipe::Bitmapinline
~Bitmap()ipe::Bitmap
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_buffer.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer.html --- ipe-7.2.20/build/doc/classipe_1_1_buffer.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,320 +0,0 @@ - - - - - - - -Ipelib: ipe::Buffer Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Buffer Class Reference
-
-
- -

#include <ipebase.h>

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Buffer ()=default
 
 Buffer (int size)
 
 Buffer (const char *data, int size)
 
char & operator[] (int index) noexcept
 
const char & operator[] (int index) const noexcept
 
int size () const noexcept
 
char * data () noexcept
 
const char * data () const noexcept
 
-

Detailed Description

-

A memory buffer.

-

Can be be copied in constant time, the actual data is shared.

-

Constructor & Destructor Documentation

- -

◆ Buffer() [1/3]

- -
-
- - - - - -
- - - - - - - -
ipe::Buffer::Buffer ()
-
-explicitdefault
-
- -

Referenced by ipe::Lex::skipWhitespace().

- -
-
- -

◆ Buffer() [2/3]

- -
-
- - - - - -
- - - - - - - - -
Buffer::Buffer (int size)
-
-explicit
-
- -

Create buffer of specified size.

- -
-
- -

◆ Buffer() [3/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Buffer::Buffer (const char * data,
int size 
)
-
-explicit
-
- -

Create buffer by copying the data.

- -

References ipe::String::size().

- -
-
-

Member Function Documentation

- -

◆ operator[]() [1/2]

- -
-
- - - - - -
- - - - - - - - -
char& ipe::Buffer::operator[] (int index)
-
-inlinenoexcept
-
- -

Character access.

- -
-
- -

◆ operator[]() [2/2]

- -
-
- - - - - -
- - - - - - - - -
const char& ipe::Buffer::operator[] (int index) const
-
-inlinenoexcept
-
- -

Character access (const version).

- -
-
- -

◆ size()

- -
-
- - - - - -
- - - - - - - -
int ipe::Buffer::size () const
-
-inlinenoexcept
-
-
- -

◆ data() [1/2]

- -
-
- - - - - -
- - - - - - - -
char* ipe::Buffer::data ()
-
-inlinenoexcept
-
-
- -

◆ data() [2/2]

- -
-
- - - - - -
- - - - - - - -
const char* ipe::Buffer::data () const
-
-inlinenoexcept
-
- -

Return pointer to buffer data (const version).

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_buffer-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer-members.html --- ipe-7.2.20/build/doc/classipe_1_1_buffer-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Buffer Member List
-
-
- -

This is the complete list of members for ipe::Buffer, including all inherited members.

- - - - - - - - - -
Buffer()=defaultipe::Bufferexplicit
Buffer(int size)ipe::Bufferexplicit
Buffer(const char *data, int size)ipe::Bufferexplicit
data() noexceptipe::Bufferinline
data() const noexceptipe::Bufferinline
operator[](int index) noexceptipe::Bufferinline
operator[](int index) const noexceptipe::Bufferinline
size() const noexceptipe::Bufferinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_buffer_source.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer_source.html --- ipe-7.2.20/build/doc/classipe_1_1_buffer_source.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,226 +0,0 @@ - - - - - - - -Ipelib: ipe::BufferSource Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::BufferSource Class Reference
-
-
- -

#include <ipebase.h>

- -

Inherits ipe::DataSource.

- - - - - - - - - - - - - - - -

-Public Member Functions

 BufferSource (const Buffer &buffer)
 
virtual int getChar () override
 
virtual int length () const override
 
virtual void setPosition (int pos) override
 
virtual int position () const override
 
- Public Member Functions inherited from ipe::DataSource
virtual ~DataSource ()=0
 
-

Detailed Description

-

Data source for parsing from a buffer.

-

Constructor & Destructor Documentation

- -

◆ BufferSource()

- -
-
- - - - - - - - -
BufferSource::BufferSource (const Bufferbuffer)
-
- -
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
int BufferSource::getChar ()
-
-overridevirtual
-
- -

Get one more character, or EOF.

- -

Implements ipe::DataSource.

- -

References ipe::Buffer::size().

- -
-
- -

◆ length()

- -
-
- - - - - -
- - - - - - - -
int BufferSource::length () const
-
-overridevirtual
-
- -

Return length of input stream in characters.

-

Returns -1 if the stream is not seekable. Calling this function will invalidate the current position.

- -

Reimplemented from ipe::DataSource.

- -

References ipe::Buffer::size().

- -
-
- -

◆ setPosition()

- -
-
- - - - - -
- - - - - - - - -
void BufferSource::setPosition (int pos)
-
-overridevirtual
-
- -

Set position in stream.

-

Does nothing if the stream is not seekable.

- -

Reimplemented from ipe::DataSource.

- -

Referenced by ipe::PdfParser::getTrailer().

- -
-
- -

◆ position()

- -
-
- - - - - -
- - - - - - - -
int BufferSource::position () const
-
-overridevirtual
-
- -

Return position in stream.

-

Returns -1 if the stream is not seekable.

- -

Reimplemented from ipe::DataSource.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_buffer_source-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer_source-members.html --- ipe-7.2.20/build/doc/classipe_1_1_buffer_source-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_buffer_source-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::BufferSource Member List
-
-
- -

This is the complete list of members for ipe::BufferSource, including all inherited members.

- - - - - - - -
BufferSource(const Buffer &buffer)ipe::BufferSource
getChar() overrideipe::BufferSourcevirtual
length() const overrideipe::BufferSourcevirtual
position() const overrideipe::BufferSourcevirtual
setPosition(int pos) overrideipe::BufferSourcevirtual
~DataSource()=0ipe::DataSourcepure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_cairo_painter.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cairo_painter.html --- ipe-7.2.20/build/doc/classipe_1_1_cairo_painter.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cairo_painter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,790 +0,0 @@ - - - - - - - -Ipelib: ipe::CairoPainter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -Protected Member Functions | -List of all members
-
-
ipe::CairoPainter Class Reference
-
-
- -

#include <ipecairopainter.h>

- -

Inherits ipe::Painter.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 CairoPainter (const Cascade *sheet, Fonts *fonts, cairo_t *cc, double zoom, bool pretty)
 
virtual ~CairoPainter ()
 
void setDimmed (bool dim)
 
void executeStream (const PdfDict *stream, const PdfDict *resources)
 
bool type3Font () const
 
- Public Member Functions inherited from ipe::Painter
 Painter (const Cascade *style)
 
virtual ~Painter ()
 
void setAttributeMap (const AttributeMap *map)
 
Attribute lookup (Kind kind, Attribute sym) const
 
void transform (const Matrix &m)
 
void untransform (TTransformations trans)
 
void translate (const Vector &v)
 
void push ()
 
void pop ()
 
void pushMatrix ()
 
void popMatrix ()
 
void newPath ()
 
void moveTo (const Vector &v)
 
void lineTo (const Vector &v)
 
void curveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
void curveTo (const Bezier &bezier)
 
void rect (const Rect &re)
 
void drawEllipse ()
 
void drawArc (const Arc &arc)
 
void closePath ()
 
void drawPath (TPathMode mode)
 
void drawBitmap (Bitmap bitmap)
 
void drawText (const Text *text)
 
void drawSymbol (Attribute symbol)
 
void addClipPath ()
 
void setStroke (Attribute color)
 
void setFill (Attribute color)
 
void setPen (Attribute pen)
 
void setDashStyle (Attribute dash)
 
void setLineCap (TLineCap cap)
 
void setLineJoin (TLineJoin join)
 
void setFillRule (TFillRule rule)
 
void setSymStroke (Attribute color)
 
void setSymFill (Attribute color)
 
void setSymPen (Attribute wid)
 
void setOpacity (Attribute opaq)
 
void setStrokeOpacity (Attribute opaq)
 
void setTiling (Attribute til)
 
void setGradient (Attribute grad)
 
const Cascadecascade () const
 
Color stroke () const
 
Color fill () const
 
const Matrixmatrix () const
 
Fixed pen () const
 
String dashStyle () const
 
void dashStyle (std::vector< double > &dashes, double &offset) const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
Color symStroke () const
 
Color symFill () const
 
Fixed symPen () const
 
Fixed opacity () const
 
Fixed strokeOpacity () const
 
Attribute tiling () const
 
Attribute gradient () const
 
const Statestate () const
 
void setState (const State &state)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

virtual void doPush ()
 
virtual void doPop ()
 
virtual void doMoveTo (const Vector &v)
 
virtual void doLineTo (const Vector &v)
 
virtual void doCurveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
virtual void doClosePath ()
 
virtual void doDrawArc (const Arc &arc)
 
virtual void doAddClipPath ()
 
virtual void doDrawPath (TPathMode mode)
 
virtual void doDrawBitmap (Bitmap bitmap)
 
virtual void doDrawText (const Text *text)
 
- Protected Member Functions inherited from ipe::Painter
virtual void doNewPath ()
 
virtual void doDrawSymbol (Attribute symbol)
 
void drawArcAsBezier (double alpha)
 
- - - - - - - - - - - - -

-Additional Inherited Members

- Protected Attributes inherited from ipe::Painter
std::list< StateiState
 
std::list< MatrixiMatrix
 
const CascadeiCascade
 
const AttributeMapiAttributeMap
 
int iInPath
 
-

Detailed Description

-

Ipe Painter using Cairo and Freetype as a backend.

-

This painter draws to a Cairo surface.

-

Constructor & Destructor Documentation

- -

◆ CairoPainter()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CairoPainter::CairoPainter (const Cascadesheet,
Fontsfonts,
cairo_t * cc,
double zoom,
bool pretty 
)
-
- -

Construct a painter.

-

zoom one means 72 pixels per inch. Set pretty to true to avoid drawing text without Latex.

- -
-
- -

◆ ~CairoPainter()

- -
-
- - - - - -
- - - - - - - -
virtual ipe::CairoPainter::~CairoPainter ()
-
-inlinevirtual
-
- -
-
-

Member Function Documentation

- -

◆ setDimmed()

- -
-
- - - - - -
- - - - - - - - -
void ipe::CairoPainter::setDimmed (bool dim)
-
-inline
-
- -

References executeStream().

- -

Referenced by ipe::CanvasBase::drawObjects().

- -
-
- -

◆ executeStream()

- -
-
- - - - - - - - - - - - - - - - - - -
void CairoPainter::executeStream (const PdfDictstream,
const PdfDictresources 
)
-
-
- -

◆ type3Font()

- -
-
- - - - - -
- - - - - - - -
bool ipe::CairoPainter::type3Font () const
-
-inline
-
-
- -

◆ doPush()

- -
-
- - - - - -
- - - - - - - -
void CairoPainter::doPush ()
-
-protectedvirtual
-
- -

Perform graphics state push on output medium.

- -

Reimplemented from ipe::Painter.

- -

Referenced by type3Font().

- -
-
- -

◆ doPop()

- -
-
- - - - - -
- - - - - - - -
void CairoPainter::doPop ()
-
-protectedvirtual
-
- -

Perform graphics state pop on output medium.

- -

Reimplemented from ipe::Painter.

- -

Referenced by type3Font().

- -
-
- -

◆ doMoveTo()

- -
-
- - - - - -
- - - - - - - - -
void CairoPainter::doMoveTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform moveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

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

- -

Referenced by type3Font().

- -
-
- -

◆ doLineTo()

- -
-
- - - - - -
- - - - - - - - -
void CairoPainter::doLineTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform lineto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

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

- -

Referenced by type3Font().

- -
-
- -

◆ doCurveTo()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void CairoPainter::doCurveTo (const Vectorv1,
const Vectorv2,
const Vectorv3 
)
-
-protectedvirtual
-
- -

Perform curveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

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

- -

Referenced by type3Font().

- -
-
- -

◆ doClosePath()

- -
-
- - - - - -
- - - - - - - -
void CairoPainter::doClosePath ()
-
-protectedvirtual
-
- -

Perform closepath operator.

- -

Reimplemented from ipe::Painter.

- -

Referenced by type3Font().

- -
-
- -

◆ doDrawArc()

- -
-
- - - - - -
- - - - - - - - -
void CairoPainter::doDrawArc (const Arcarc)
-
-protectedvirtual
-
- -

Draw an elliptic arc.

-

The default implementations calls drawArcAsBezier(). The transformation matrix has not yet been applied to arc.

- -

Reimplemented from ipe::Painter.

- -

References ipe::Arc::iAlpha, ipe::Arc::iBeta, ipe::Arc::iM, ipe::Arc::isEllipse(), and ipe::Painter::matrix().

- -

Referenced by type3Font().

- -
-
- -

◆ doAddClipPath()

- -
-
- - - - - -
- - - - - - - -
void CairoPainter::doAddClipPath ()
-
-protectedvirtual
-
- -

Add a clip path.

- -

Reimplemented from ipe::Painter.

- -

Referenced by type3Font().

- -
-
- -

◆ doDrawPath()

- -
-
- - - - - -
- - - - - - - - -
void CairoPainter::doDrawPath (TPathMode mode)
-
-protectedvirtual
-
-
- -

◆ doDrawBitmap()

- -
-
- - - - - -
- - - - - - - - -
void CairoPainter::doDrawBitmap (Bitmap bitmap)
-
-protectedvirtual
-
-
- -

◆ doDrawText()

- -
-
- - - - - -
- - - - - - - - -
void CairoPainter::doDrawText (const Texttext)
-
-protectedvirtual
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_cairo_painter-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cairo_painter-members.html --- ipe-7.2.20/build/doc/classipe_1_1_cairo_painter-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cairo_painter-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,135 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::CairoPainter Member List
-
-
- -

This is the complete list of members for ipe::CairoPainter, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addClipPath()ipe::Painter
CairoPainter(const Cascade *sheet, Fonts *fonts, cairo_t *cc, double zoom, bool pretty)ipe::CairoPainter
cascade() constipe::Painterinline
closePath()ipe::Painter
curveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::Painter
curveTo(const Bezier &bezier)ipe::Painterinline
dashStyle() constipe::Painterinline
dashStyle(std::vector< double > &dashes, double &offset) constipe::Painter
doAddClipPath()ipe::CairoPainterprotectedvirtual
doClosePath()ipe::CairoPainterprotectedvirtual
doCurveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::CairoPainterprotectedvirtual
doDrawArc(const Arc &arc)ipe::CairoPainterprotectedvirtual
doDrawBitmap(Bitmap bitmap)ipe::CairoPainterprotectedvirtual
doDrawPath(TPathMode mode)ipe::CairoPainterprotectedvirtual
doDrawSymbol(Attribute symbol)ipe::Painterprotectedvirtual
doDrawText(const Text *text)ipe::CairoPainterprotectedvirtual
doLineTo(const Vector &v)ipe::CairoPainterprotectedvirtual
doMoveTo(const Vector &v)ipe::CairoPainterprotectedvirtual
doNewPath()ipe::Painterprotectedvirtual
doPop()ipe::CairoPainterprotectedvirtual
doPush()ipe::CairoPainterprotectedvirtual
drawArc(const Arc &arc)ipe::Painter
drawArcAsBezier(double alpha)ipe::Painterprotected
drawBitmap(Bitmap bitmap)ipe::Painter
drawEllipse()ipe::Painter
drawPath(TPathMode mode)ipe::Painter
drawSymbol(Attribute symbol)ipe::Painter
drawText(const Text *text)ipe::Painter
executeStream(const PdfDict *stream, const PdfDict *resources)ipe::CairoPainter
fill() constipe::Painterinline
fillRule() constipe::Painterinline
gradient() constipe::Painterinline
iAttributeMapipe::Painterprotected
iCascadeipe::Painterprotected
iInPathipe::Painterprotected
iMatrixipe::Painterprotected
iStateipe::Painterprotected
lineCap() constipe::Painterinline
lineJoin() constipe::Painterinline
lineTo(const Vector &v)ipe::Painter
lookup(Kind kind, Attribute sym) constipe::Painter
matrix() constipe::Painterinline
moveTo(const Vector &v)ipe::Painter
newPath()ipe::Painter
opacity() constipe::Painterinline
Painter(const Cascade *style)ipe::Painter
pen() constipe::Painterinline
pop()ipe::Painter
popMatrix()ipe::Painter
push()ipe::Painter
pushMatrix()ipe::Painter
rect(const Rect &re)ipe::Painter
setAttributeMap(const AttributeMap *map)ipe::Painter
setDashStyle(Attribute dash)ipe::Painter
setDimmed(bool dim)ipe::CairoPainterinline
setFill(Attribute color)ipe::Painter
setFillRule(TFillRule rule)ipe::Painter
setGradient(Attribute grad)ipe::Painter
setLineCap(TLineCap cap)ipe::Painter
setLineJoin(TLineJoin join)ipe::Painter
setOpacity(Attribute opaq)ipe::Painter
setPen(Attribute pen)ipe::Painter
setState(const State &state)ipe::Painter
setStroke(Attribute color)ipe::Painter
setStrokeOpacity(Attribute opaq)ipe::Painter
setSymFill(Attribute color)ipe::Painter
setSymPen(Attribute wid)ipe::Painter
setSymStroke(Attribute color)ipe::Painter
setTiling(Attribute til)ipe::Painter
state() constipe::Painterinline
stroke() constipe::Painterinline
strokeOpacity() constipe::Painterinline
symFill() constipe::Painterinline
symPen() constipe::Painterinline
symStroke() constipe::Painterinline
tiling() constipe::Painterinline
transform(const Matrix &m)ipe::Painter
translate(const Vector &v)ipe::Painter
type3Font() constipe::CairoPainterinline
untransform(TTransformations trans)ipe::Painter
~CairoPainter()ipe::CairoPainterinlinevirtual
~Painter()ipe::Paintervirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_canvas_base.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_base.html --- ipe-7.2.20/build/doc/classipe_1_1_canvas_base.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_base.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2439 +0,0 @@ - - - - - - - -Ipelib: ipe::CanvasBase Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Types | -Public Member Functions | -Static Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::CanvasBase Class Referenceabstract
-
-
- -

#include <ipecanvas.h>

- -

Inherited by Canvas, ipe::Canvas, ipe::Canvas, and ipe::Canvas.

- - - - -

-Classes

struct  Style
 
- - - - - -

-Public Types

enum  TModifiers {
-  EShift = 0x100, -EControl = 0x200, -EAlt = 0x400, -EMeta = 0x800, -
-  ECommand = 0x1000 -
- }
 
enum  TCursor { EStandardCursor, -EHandCursor, -ECrossCursor, -EDotCursor - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual ~CanvasBase ()
 
void setPage (const Page *page, int pno, int view, const Cascade *sheet)
 
void setResources (const PdfResources *resources)
 
Vector pan () const
 
double zoom () const
 
const Cascadecascade () const
 
Vector center () const
 
Vector pos () const
 
Vector unsnappedPos () const
 
Vector globalPos () const
 
Vector simpleSnapPos () const
 
const Snapsnap () const
 
void setInkMode (bool ink)
 
int additionalModifiers () const
 
void setAdditionalModifiers (int mod)
 
bool type3Font ()
 
Vector devToUser (const Vector &arg) const
 
Vector userToDev (const Vector &arg) const
 
void setCanvasStyle (const Style &style)
 
Style canvasStyle () const
 
void setPan (const Vector &v)
 
void setZoom (double zoom)
 
void setSnap (const Snap &s)
 
void setDimmed (bool dimmed)
 
void setAutoOrigin (const Vector &v)
 
Matrix canvasTfm () const
 
void setObserver (CanvasObserver *observer)
 
void setFifiVisible (bool visible)
 
void setSelectionVisible (bool visible)
 
void setTool (Tool *tool)
 
void finishTool ()
 
Tooltool ()
 
void update ()
 
void updateTool ()
 
int canvasWidth () const
 
int canvasHeight () const
 
virtual void setCursor (TCursor cursor, double w=1.0, Color *color=nullptr)=0
 
virtual void invalidate (int x, int y, int w, int h)=0
 
- - - -

-Static Public Member Functions

static int selectPageOrView (Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480)
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

 CanvasBase ()
 
void drawPaper (cairo_t *cc)
 
void drawFrame (cairo_t *cc)
 
void drawAxes (cairo_t *cc)
 
void drawGrid (cairo_t *cc)
 
void drawObjects (cairo_t *cc)
 
void drawTool (Painter &painter)
 
void snapToPaperAndFrame ()
 
void refreshSurface ()
 
void computeFifi (double x, double y)
 
void drawFifi (cairo_t *cr)
 
virtual void invalidate ()=0
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Attributes

CanvasObserveriObserver
 
TooliTool
 
const PageiPage
 
int iPageNumber
 
int iView
 
const CascadeiCascade
 
Style iStyle
 
Vector iPan
 
double iZoom
 
Snap iSnap
 
bool iDimmed
 
bool iAutoSnap
 
Vector iAutoOrigin
 
int iAdditionalModifiers
 
bool isInkMode
 
bool iRepaintObjects
 
double iWidth
 
double iHeight
 
double iBWidth
 
double iBHeight
 
cairo_surface_t * iSurface
 
Vector iUnsnappedMousePos
 
Vector iMousePos
 
Vector iGlobalPos
 
Vector iOldFifi
 
bool iFifiVisible
 
Snap::TSnapModes iFifiMode
 
bool iSelectionVisible
 
const PdfResourcesiResources
 
std::unique_ptr< FontsiFonts
 
bool iType3Font
 
-

Member Enumeration Documentation

- -

◆ TModifiers

- -
-
- - - - -
enum ipe::CanvasBase::TModifiers
-
- -

Keyboard modifiers.

- - - - - - -
Enumerator
EShift 
EControl 
EAlt 
EMeta 
ECommand 
- -
-
- -

◆ TCursor

- -
-
- - - - -
enum ipe::CanvasBase::TCursor
-
- - - - - -
Enumerator
EStandardCursor 
EHandCursor 
ECrossCursor 
EDotCursor 
- -
-
-

Constructor & Destructor Documentation

- -

◆ ~CanvasBase()

- -
-
- - - - - -
- - - - - - - -
CanvasBase::~CanvasBase ()
-
-virtual
-
- -

destructor.

- -
-
- -

◆ CanvasBase()

- -
-
- - - - - -
- - - - - - - -
CanvasBase::CanvasBase ()
-
-protected
-
- -

Construct a new canvas.

- -

Referenced by ipe::CanvasObserver::canvasObserverSizeChanged().

- -
-
-

Member Function Documentation

- -

◆ setPage()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CanvasBase::setPage (const Pagepage,
int pno,
int view,
const Cascadesheet 
)
-
- -

Set the page to be displayed.

-

Doesn't take ownership of any argument. The page number pno is only needed if page numbering is turned on.

- -
-
- -

◆ setResources()

- -
-
- - - - - - - - -
void CanvasBase::setResources (const PdfResourcesresources)
-
- -

set information about Latex fonts (from ipe::Document)

- -
-
- -

◆ pan()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::CanvasBase::pan () const
-
-inline
-
- -

Return current pan.

- -

Referenced by Canvas::magnify(), and ipe::PanTool::mouseButton().

- -
-
- -

◆ zoom()

- -
-
- - - - - -
- - - - - - - -
double ipe::CanvasBase::zoom () const
-
-inline
-
- -

Return current zoom.

- -

Referenced by ipe::SelectTool::draw(), ipe::SelectTool::SelectTool(), and ipe::Canvas::sizeHint().

- -
-
- -

◆ cascade()

- -
-
- - - - - -
- - - - - - - -
const Cascade* ipe::CanvasBase::cascade () const
-
-inline
-
- -

Return current style sheet cascade.

- -

Referenced by ipe::PanTool::draw().

- -
-
- -

◆ center()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::CanvasBase::center () const
-
-inline
-
- -

Return center of canvas.

- -
-
- -

◆ pos()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::CanvasBase::pos () const
-
-inline
-
- -

Return last mouse position (snapped!) in user coordinates.

- -

Referenced by ipe::TransformTool::mouseButton(), ipe::TransformTool::mouseMove(), and ipe::TransformTool::TransformTool().

- -
-
- -

◆ unsnappedPos()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::CanvasBase::unsnappedPos () const
-
-inline
-
- -

Return last unsnapped mouse position in user coordinates.

- -

Referenced by ipe::PanTool::mouseButton(), ipe::PanTool::mouseMove(), ipe::SelectTool::mouseMove(), ipe::PanTool::PanTool(), and ipe::SelectTool::SelectTool().

- -
-
- -

◆ globalPos()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::CanvasBase::globalPos () const
-
-inline
-
- -

Return global mouse position of last mouse press/release.

- -

Referenced by ipe::Canvas::tabletEvent().

- -
-
- -

◆ simpleSnapPos()

- -
-
- - - - - - - -
Vector CanvasBase::simpleSnapPos () const
-
- -

Return snapped mouse position without angular snapping.

- -
-
- -

◆ snap()

- -
-
- - - - - -
- - - - - - - -
const Snap& ipe::CanvasBase::snap () const
-
-inline
-
- -

Return current snapping information.

- -

Referenced by ipe::TransformTool::TransformTool().

- -
-
- -

◆ setInkMode()

- -
-
- - - - - -
- - - - - - - - -
void ipe::CanvasBase::setInkMode (bool ink)
-
-inline
-
- -

Set ink mode.

- -
-
- -

◆ additionalModifiers()

- -
-
- - - - - -
- - - - - - - -
int ipe::CanvasBase::additionalModifiers () const
-
-inline
-
- -

Return current additional modifiers.

- -
-
- -

◆ setAdditionalModifiers()

- -
-
- - - - - - - - -
void CanvasBase::setAdditionalModifiers (int mod)
-
- -

Set additional modifiers.

-

These modifier bits are passed to the Tool when a key is pressed or a drawing action is performed in addition to the actual keyboard modifiers.

- -
-
- -

◆ type3Font()

- -
-
- - - - - - - -
bool CanvasBase::type3Font ()
-
- -

Has an attempt been made to use a Type3 font?

- -
-
- -

◆ devToUser()

- -
-
- - - - - - - - -
Vector CanvasBase::devToUser (const Vectorarg) const
-
- -

Convert canvas (device) coordinates to user coordinates.

- -

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

- -

Referenced by Canvas::magnify().

- -
-
- -

◆ userToDev()

- -
-
- - - - - - - - -
Vector CanvasBase::userToDev (const Vectorarg) const
-
- -

Convert user coordinates to canvas (device) coordinates.

- -

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

- -

Referenced by ipe::Canvas::drawFifi().

- -
-
- -

◆ setCanvasStyle()

- -
-
- - - - - - - - -
void CanvasBase::setCanvasStyle (const Stylestyle)
-
- -

Set style of canvas drawing.

-

Includes paper color, pretty text, and grid.

- -
-
- -

◆ canvasStyle()

- -
-
- - - - - -
- - - - - - - -
Style ipe::CanvasBase::canvasStyle () const
-
-inline
-
- -

Return canvas style.

- -
-
- -

◆ setPan()

- -
-
- - - - - - - - -
void CanvasBase::setPan (const Vectorv)
-
- -

Set current pan position.

-

The pan position is the user coordinate that is displayed at the very center of the canvas.

- -

Referenced by Canvas::magnify(), and ipe::PanTool::mouseButton().

- -
-
- -

◆ setZoom()

- -
-
- - - - - - - - -
void CanvasBase::setZoom (double zoom)
-
- -

Set current zoom factor.

-

The zoom factor maps user coordinates to screen pixel coordinates.

- -

Referenced by Canvas::magnify().

- -
-
- -

◆ setSnap()

- -
-
- - - - - - - - -
void CanvasBase::setSnap (const Snaps)
-
- -

Set the snapping information.

- -
-
- -

◆ setDimmed()

- -
-
- - - - - - - - -
void CanvasBase::setDimmed (bool dimmed)
-
- -

Dim whole canvas, except for the Tool.

-

This mode will be reset when the Tool finishes.

- -
-
- -

◆ setAutoOrigin()

- -
-
- - - - - - - - -
void CanvasBase::setAutoOrigin (const Vectorv)
-
- -

Enable automatic angular snapping with this origin.

- -

Referenced by ipe::TransformTool::TransformTool().

- -
-
- -

◆ canvasTfm()

- -
-
- - - - - - - -
Matrix CanvasBase::canvasTfm () const
-
- -

Matrix mapping user coordinates to canvas coordinates.

- -

Referenced by Canvas::drawRect(), and ipe::Canvas::paintEvent().

- -
-
- -

◆ setObserver()

- -
-
- - - - - - - - -
void CanvasBase::setObserver (CanvasObserverobserver)
-
- -

Set an observer.

-

Use 0 to delete current observer.

- -
-
- -

◆ setFifiVisible()

- -
-
- - - - - - - - -
void CanvasBase::setFifiVisible (bool visible)
-
- -

Set whether Fifi should be shown.

-

Fifi will only be shown if a snapping mode is active.

- -
-
- -

◆ setSelectionVisible()

- -
-
- - - - - - - - -
void CanvasBase::setSelectionVisible (bool visible)
-
- -

Set whether selection should be shown when there is no tool.

- -
-
- -

◆ setTool()

- -
-
- - - - - - - - -
void CanvasBase::setTool (Tooltool)
-
- -

Set a new tool.

-

Calls canvasObserverToolChanged().

- -
-
- -

◆ finishTool()

- -
-
- - - - - - - -
void CanvasBase::finishTool ()
-
-
- -

◆ tool()

- -
-
- - - - - -
- - - - - - - -
Tool* ipe::CanvasBase::tool ()
-
-inline
-
- -
-
- -

◆ update()

- -
-
- - - - - - - -
void CanvasBase::update ()
-
- -

Mark for update with redrawing of objects.

- -

Referenced by Canvas::magnify().

- -
-
- -

◆ updateTool()

- -
-
- - - - - - - -
void CanvasBase::updateTool ()
-
- -

Mark for update with redrawing of tool only.

- -

Referenced by ipe::SelectTool::key(), ipe::PanTool::mouseMove(), ipe::SelectTool::mouseMove(), and ipe::TransformTool::mouseMove().

- -
-
- -

◆ canvasWidth()

- -
-
- - - - - -
- - - - - - - -
int ipe::CanvasBase::canvasWidth () const
-
-inline
-
- -
-
- -

◆ canvasHeight()

- -
-
- - - - - -
- - - - - - - -
int ipe::CanvasBase::canvasHeight () const
-
-inline
-
- -
-
- -

◆ setCursor()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::CanvasBase::setCursor (TCursor cursor,
double w = 1.0,
Colorcolor = nullptr 
)
-
-pure virtual
-
-
- -

◆ selectPageOrView()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int CanvasBase::selectPageOrView (Documentdoc,
int page = -1,
int startIndex = 0,
int pageWidth = 240,
int width = 600,
int height = 480 
)
-
-static
-
- -

Show dialog to select a page or a view.

-

If page is negative (the default), shows thumbnails of all pages of the document in a dialog. If the user selects a page, the page number is returned. If the dialog is canceled, -1 is returned.

-

If page is non-negative, all views of this page are shown, and the selected view number is returned.

-

itemWidth is the width of the page thumbnails (the height is computed automatically).

-

If page is negative (the default), shows thumbnails of all pages of the document in a dialog. If the user selects a page, the page number is returned. If the dialog is canceled, -1 is returned.

-

If page is non-negative, all views of this page are shown, and the selected view number is returned.

-

If page is negative (the default), shows thumbnails of all pages of the document in a dialog. If the user selects a page, the page number is returned. If the dialog is canceled, -1 is returned.

-

If page is non-negative, all views of this page are shown, and the selected view number is returned.

-

pageWidth is the width of the page thumbnails (the height is computed automatically).

- -

References ipe::Thumbnail::height(), and ipe::Thumbnail::width().

- -

Referenced by ipe::PageSelector::fill().

- -
-
- -

◆ invalidate() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::CanvasBase::invalidate (int x,
int y,
int w,
int h 
)
-
-pure virtual
-
- -

Implemented in ipe::Canvas.

- -
-
- -

◆ drawPaper()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawPaper (cairo_t * cc)
-
-protected
-
-
- -

◆ drawFrame()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawFrame (cairo_t * cc)
-
-protected
-
-
- -

◆ drawAxes()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawAxes (cairo_t * cc)
-
-protected
-
- -

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

- -
-
- -

◆ drawGrid()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawGrid (cairo_t * cc)
-
-protected
-
-
- -

◆ drawObjects()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawObjects (cairo_t * cc)
-
-protected
-
-
- -

◆ drawTool()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawTool (Painterpainter)
-
-protected
-
- -

Draw the current canvas tool.

-

If no tool is set, it draws the selected objects.

- -

References ipe::EPrimarySelected, ipe::ESecondarySelected, ipe::Painter::setPen(), and ipe::Painter::setStroke().

- -

Referenced by Canvas::drawRect(), and ipe::Canvas::paintEvent().

- -
-
- -

◆ snapToPaperAndFrame()

- -
-
- - - - - -
- - - - - - - -
void CanvasBase::snapToPaperAndFrame ()
-
-protected
-
-
- -

◆ refreshSurface()

- -
-
- - - - - -
- - - - - - - -
void CanvasBase::refreshSurface ()
-
-protected
-
-
- -

◆ computeFifi()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void CanvasBase::computeFifi (double x,
double y 
)
-
-protected
-
-

Stores the mouse position in iUnsnappedMousePos, computes Fifi if snapping is enabled, and stores snapped position in iMousePos.

- -

References ipe::Snap::ESnapAuto, ipe::Snap::ESnapNone, ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by Canvas::drawRect(), ipe::Canvas::mouseButton(), Canvas::mouseMove(), ipe::Canvas::mouseMoveEvent(), and ipe::Canvas::tabletEvent().

- -
-
- -

◆ drawFifi()

- -
-
- - - - - -
- - - - - - - - -
void CanvasBase::drawFifi (cairo_t * cr)
-
-protected
-
-
- -

◆ invalidate() [2/2]

- -
-
- - - - - -
- - - - - - - -
virtual void ipe::CanvasBase::invalidate ()
-
-protectedpure virtual
-
- -

Implemented in ipe::Canvas.

- -
-
-

Member Data Documentation

- -

◆ iObserver

- -
-
- - - - - -
- - - - -
CanvasObserver* ipe::CanvasBase::iObserver
-
-protected
-
-
- -

◆ iTool

- -
-
- - - - - -
- - - - -
Tool* ipe::CanvasBase::iTool
-
-protected
-
-
- -

◆ iPage

- -
-
- - - - - -
- - - - -
const Page* ipe::CanvasBase::iPage
-
-protected
-
- -

Referenced by Canvas::drawRect(), and ipe::Canvas::paintEvent().

- -
-
- -

◆ iPageNumber

- -
-
- - - - - -
- - - - -
int ipe::CanvasBase::iPageNumber
-
-protected
-
- -
-
- -

◆ iView

- -
-
- - - - - -
- - - - -
int ipe::CanvasBase::iView
-
-protected
-
-
- -

◆ iCascade

- -
-
- - - - - -
- - - - -
const Cascade* ipe::CanvasBase::iCascade
-
-protected
-
- -

Referenced by Canvas::drawRect(), and ipe::Canvas::paintEvent().

- -
-
- -

◆ iStyle

- -
-
- - - - - -
- - - - -
Style ipe::CanvasBase::iStyle
-
-protected
-
- -
-
- -

◆ iPan

- -
-
- - - - - -
- - - - -
Vector ipe::CanvasBase::iPan
-
-protected
-
- -
-
- -

◆ iZoom

- -
-
- - - - - -
- - - - -
double ipe::CanvasBase::iZoom
-
-protected
-
- -

Referenced by Canvas::drawRect(), and Canvas::magnify().

- -
-
- -

◆ iSnap

- -
-
- - - - - -
- - - - -
Snap ipe::CanvasBase::iSnap
-
-protected
-
- -
-
- -

◆ iDimmed

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::iDimmed
-
-protected
-
- -
-
- -

◆ iAutoSnap

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::iAutoSnap
-
-protected
-
- -
-
- -

◆ iAutoOrigin

- -
-
- - - - - -
- - - - -
Vector ipe::CanvasBase::iAutoOrigin
-
-protected
-
- -
-
- -

◆ iAdditionalModifiers

- -
-
- - - - - -
- - - - -
int ipe::CanvasBase::iAdditionalModifiers
-
-protected
-
-
- -

◆ isInkMode

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::isInkMode
-
-protected
-
- -
-
- -

◆ iRepaintObjects

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::iRepaintObjects
-
-protected
-
- -

Referenced by ipe::Canvas::~Canvas().

- -
-
- -

◆ iWidth

- -
-
- - - - - -
- - - - -
double ipe::CanvasBase::iWidth
-
-protected
-
-
- -

◆ iHeight

- -
-
- - - - - -
- - - - -
double ipe::CanvasBase::iHeight
-
-protected
-
-
- -

◆ iBWidth

- -
-
- - - - - -
- - - - -
double ipe::CanvasBase::iBWidth
-
-protected
-
-
- -

◆ iBHeight

- -
-
- - - - - -
- - - - -
double ipe::CanvasBase::iBHeight
-
-protected
-
-
- -

◆ iSurface

- -
-
- - - - - -
- - - - -
cairo_surface_t* ipe::CanvasBase::iSurface
-
-protected
-
-
- -

◆ iUnsnappedMousePos

- -
-
- - - - - -
- - - - -
Vector ipe::CanvasBase::iUnsnappedMousePos
-
-protected
-
- -
-
- -

◆ iMousePos

- -
-
- - - - - -
- - - - -
Vector ipe::CanvasBase::iMousePos
-
-protected
-
- -

Referenced by ipe::Canvas::drawFifi().

- -
-
- -

◆ iGlobalPos

- -
-
- - - - - -
- - - - -
Vector ipe::CanvasBase::iGlobalPos
-
-protected
-
-
- -

◆ iOldFifi

- -
-
- - - - - -
- - - - -
Vector ipe::CanvasBase::iOldFifi
-
-protected
-
- -

Referenced by ipe::Canvas::drawFifi().

- -
-
- -

◆ iFifiVisible

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::iFifiVisible
-
-protected
-
- -

Referenced by Canvas::drawRect(), and ipe::Canvas::paintEvent().

- -
-
- -

◆ iFifiMode

- -
-
- - - - - -
- - - - -
Snap::TSnapModes ipe::CanvasBase::iFifiMode
-
-protected
-
- -

Referenced by ipe::Canvas::drawFifi().

- -
-
- -

◆ iSelectionVisible

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::iSelectionVisible
-
-protected
-
- -
-
- -

◆ iResources

- -
-
- - - - - -
- - - - -
const PdfResources* ipe::CanvasBase::iResources
-
-protected
-
- -
-
- -

◆ iFonts

- -
-
- - - - - -
- - - - -
std::unique_ptr<Fonts> ipe::CanvasBase::iFonts
-
-protected
-
- -

Referenced by Canvas::drawRect().

- -
-
- -

◆ iType3Font

- -
-
- - - - - -
- - - - -
bool ipe::CanvasBase::iType3Font
-
-protected
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_canvas_base-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_base-members.html --- ipe-7.2.20/build/doc/classipe_1_1_canvas_base-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_base-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,146 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::CanvasBase Member List
-
-
- -

This is the complete list of members for ipe::CanvasBase, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
additionalModifiers() constipe::CanvasBaseinline
CanvasBase()ipe::CanvasBaseprotected
canvasHeight() constipe::CanvasBaseinline
canvasStyle() constipe::CanvasBaseinline
canvasTfm() constipe::CanvasBase
canvasWidth() constipe::CanvasBaseinline
cascade() constipe::CanvasBaseinline
center() constipe::CanvasBaseinline
computeFifi(double x, double y)ipe::CanvasBaseprotected
devToUser(const Vector &arg) constipe::CanvasBase
drawAxes(cairo_t *cc)ipe::CanvasBaseprotected
drawFifi(cairo_t *cr)ipe::CanvasBaseprotected
drawFrame(cairo_t *cc)ipe::CanvasBaseprotected
drawGrid(cairo_t *cc)ipe::CanvasBaseprotected
drawObjects(cairo_t *cc)ipe::CanvasBaseprotected
drawPaper(cairo_t *cc)ipe::CanvasBaseprotected
drawTool(Painter &painter)ipe::CanvasBaseprotected
EAlt enum valueipe::CanvasBase
ECommand enum valueipe::CanvasBase
EControl enum valueipe::CanvasBase
ECrossCursor enum valueipe::CanvasBase
EDotCursor enum valueipe::CanvasBase
EHandCursor enum valueipe::CanvasBase
EMeta enum valueipe::CanvasBase
EShift enum valueipe::CanvasBase
EStandardCursor enum valueipe::CanvasBase
finishTool()ipe::CanvasBase
globalPos() constipe::CanvasBaseinline
iAdditionalModifiersipe::CanvasBaseprotected
iAutoOriginipe::CanvasBaseprotected
iAutoSnapipe::CanvasBaseprotected
iBHeightipe::CanvasBaseprotected
iBWidthipe::CanvasBaseprotected
iCascadeipe::CanvasBaseprotected
iDimmedipe::CanvasBaseprotected
iFifiModeipe::CanvasBaseprotected
iFifiVisibleipe::CanvasBaseprotected
iFontsipe::CanvasBaseprotected
iGlobalPosipe::CanvasBaseprotected
iHeightipe::CanvasBaseprotected
iMousePosipe::CanvasBaseprotected
invalidate(int x, int y, int w, int h)=0ipe::CanvasBasepure virtual
invalidate()=0ipe::CanvasBaseprotectedpure virtual
iObserveripe::CanvasBaseprotected
iOldFifiipe::CanvasBaseprotected
iPageipe::CanvasBaseprotected
iPageNumberipe::CanvasBaseprotected
iPanipe::CanvasBaseprotected
iRepaintObjectsipe::CanvasBaseprotected
iResourcesipe::CanvasBaseprotected
iSelectionVisibleipe::CanvasBaseprotected
isInkModeipe::CanvasBaseprotected
iSnapipe::CanvasBaseprotected
iStyleipe::CanvasBaseprotected
iSurfaceipe::CanvasBaseprotected
iToolipe::CanvasBaseprotected
iType3Fontipe::CanvasBaseprotected
iUnsnappedMousePosipe::CanvasBaseprotected
iViewipe::CanvasBaseprotected
iWidthipe::CanvasBaseprotected
iZoomipe::CanvasBaseprotected
pan() constipe::CanvasBaseinline
pos() constipe::CanvasBaseinline
refreshSurface()ipe::CanvasBaseprotected
selectPageOrView(Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480)ipe::CanvasBasestatic
setAdditionalModifiers(int mod)ipe::CanvasBase
setAutoOrigin(const Vector &v)ipe::CanvasBase
setCanvasStyle(const Style &style)ipe::CanvasBase
setCursor(TCursor cursor, double w=1.0, Color *color=nullptr)=0ipe::CanvasBasepure virtual
setDimmed(bool dimmed)ipe::CanvasBase
setFifiVisible(bool visible)ipe::CanvasBase
setInkMode(bool ink)ipe::CanvasBaseinline
setObserver(CanvasObserver *observer)ipe::CanvasBase
setPage(const Page *page, int pno, int view, const Cascade *sheet)ipe::CanvasBase
setPan(const Vector &v)ipe::CanvasBase
setResources(const PdfResources *resources)ipe::CanvasBase
setSelectionVisible(bool visible)ipe::CanvasBase
setSnap(const Snap &s)ipe::CanvasBase
setTool(Tool *tool)ipe::CanvasBase
setZoom(double zoom)ipe::CanvasBase
simpleSnapPos() constipe::CanvasBase
snap() constipe::CanvasBaseinline
snapToPaperAndFrame()ipe::CanvasBaseprotected
TCursor enum nameipe::CanvasBase
TModifiers enum nameipe::CanvasBase
tool()ipe::CanvasBaseinline
type3Font()ipe::CanvasBase
unsnappedPos() constipe::CanvasBaseinline
update()ipe::CanvasBase
updateTool()ipe::CanvasBase
userToDev(const Vector &arg) constipe::CanvasBase
zoom() constipe::CanvasBaseinline
~CanvasBase()ipe::CanvasBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_canvas.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas.html --- ipe-7.2.20/build/doc/classipe_1_1_canvas.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1027 +0,0 @@ - - - - - - - -Ipelib: ipe::Canvas Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -Protected Member Functions | -List of all members
-
-
ipe::Canvas Class Reference
-
-
- -

#include <ipecanvas_win.h>

- -

Inherits ipe::CanvasBase, QWidget, ipe::CanvasBase, and ipe::CanvasBase.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Canvas (GtkWidget *parent)
 
 ~Canvas ()
 
GtkWidget * window () const
 
 Canvas (QWidget *parent, Qt::WindowFlags f=nullptr)
 
virtual void setCursor (TCursor cursor, double w=1.0, Color *color=nullptr)
 
 Canvas (HWND parent, HINSTANCE hInstance=nullptr)
 
HWND windowId () const
 
- Public Member Functions inherited from ipe::CanvasBase
virtual ~CanvasBase ()
 
void setPage (const Page *page, int pno, int view, const Cascade *sheet)
 
void setResources (const PdfResources *resources)
 
Vector pan () const
 
double zoom () const
 
const Cascadecascade () const
 
Vector center () const
 
Vector pos () const
 
Vector unsnappedPos () const
 
Vector globalPos () const
 
Vector simpleSnapPos () const
 
const Snapsnap () const
 
void setInkMode (bool ink)
 
int additionalModifiers () const
 
void setAdditionalModifiers (int mod)
 
bool type3Font ()
 
Vector devToUser (const Vector &arg) const
 
Vector userToDev (const Vector &arg) const
 
void setCanvasStyle (const Style &style)
 
Style canvasStyle () const
 
void setPan (const Vector &v)
 
void setZoom (double zoom)
 
void setSnap (const Snap &s)
 
void setDimmed (bool dimmed)
 
void setAutoOrigin (const Vector &v)
 
Matrix canvasTfm () const
 
void setObserver (CanvasObserver *observer)
 
void setFifiVisible (bool visible)
 
void setSelectionVisible (bool visible)
 
void setTool (Tool *tool)
 
void finishTool ()
 
Tooltool ()
 
void update ()
 
void updateTool ()
 
int canvasWidth () const
 
int canvasHeight () const
 
- - - - - - - - - - -

-Static Public Member Functions

static void init (HINSTANCE hInstance)
 
static UINT getDpiForWindow (HWND hwnd)
 
static HBITMAP createBitmap (uint8_t *p, int w, int h)
 
- Static Public Member Functions inherited from ipe::CanvasBase
static int selectPageOrView (Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

virtual void invalidate ()
 
virtual void invalidate (int x, int y, int w, int h)
 
void drawFifi (QPainter &q)
 
virtual void paintEvent (QPaintEvent *ev)
 
void mouseButton (QMouseEvent *ev, int button, bool press)
 
virtual void mouseDoubleClickEvent (QMouseEvent *ev)
 
virtual void mousePressEvent (QMouseEvent *ev)
 
virtual void mouseReleaseEvent (QMouseEvent *ev)
 
virtual void mouseMoveEvent (QMouseEvent *ev)
 
virtual void tabletEvent (QTabletEvent *ev)
 
virtual void wheelEvent (QWheelEvent *ev)
 
virtual void keyPressEvent (QKeyEvent *ev)
 
virtual QSize sizeHint () const
 
- Protected Member Functions inherited from ipe::CanvasBase
 CanvasBase ()
 
void drawPaper (cairo_t *cc)
 
void drawFrame (cairo_t *cc)
 
void drawAxes (cairo_t *cc)
 
void drawGrid (cairo_t *cc)
 
void drawObjects (cairo_t *cc)
 
void drawTool (Painter &painter)
 
void snapToPaperAndFrame ()
 
void refreshSurface ()
 
void computeFifi (double x, double y)
 
void drawFifi (cairo_t *cr)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from ipe::CanvasBase
enum  TModifiers {
-  EShift = 0x100, -EControl = 0x200, -EAlt = 0x400, -EMeta = 0x800, -
-  ECommand = 0x1000 -
- }
 
enum  TCursor { EStandardCursor, -EHandCursor, -ECrossCursor, -EDotCursor - }
 
- Protected Attributes inherited from ipe::CanvasBase
CanvasObserveriObserver
 
TooliTool
 
const PageiPage
 
int iPageNumber
 
int iView
 
const CascadeiCascade
 
Style iStyle
 
Vector iPan
 
double iZoom
 
Snap iSnap
 
bool iDimmed
 
bool iAutoSnap
 
Vector iAutoOrigin
 
int iAdditionalModifiers
 
bool isInkMode
 
bool iRepaintObjects
 
double iWidth
 
double iHeight
 
double iBWidth
 
double iBHeight
 
cairo_surface_t * iSurface
 
Vector iUnsnappedMousePos
 
Vector iMousePos
 
Vector iGlobalPos
 
Vector iOldFifi
 
bool iFifiVisible
 
Snap::TSnapModes iFifiMode
 
bool iSelectionVisible
 
const PdfResourcesiResources
 
std::unique_ptr< FontsiFonts
 
bool iType3Font
 
-

Detailed Description

-

A widget (control) that displays an Ipe document page.

-

Constructor & Destructor Documentation

- -

◆ Canvas() [1/3]

- -
-
- - - - - - - - -
Canvas::Canvas (GtkWidget * parent)
-
- -

References ~Canvas().

- -

Referenced by ipe::IpeQ(), and Canvas::scrollWheel().

- -
-
- -

◆ ~Canvas()

- -
-
- - - - - - - -
Canvas::~Canvas ()
-
-
- -

◆ Canvas() [2/3]

- -
-
- - - - - - - - - - - - - - - - - - -
Canvas::Canvas (QWidget * parent,
Qt::WindowFlags f = nullptr 
)
-
- -

Construct a new canvas.

- -
-
- -

◆ Canvas() [3/3]

- -
-
- - - - - - - - - - - - - - - - - - -
Canvas::Canvas (HWND parent,
HINSTANCE hInstance = nullptr 
)
-
- -
-
-

Member Function Documentation

- -

◆ window()

- -
-
- - - - - -
- - - - - - - -
GtkWidget* ipe::Canvas::window () const
-
-inline
-
- -

Referenced by Canvas::drawRect().

- -
-
- -

◆ setCursor()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::Canvas::setCursor (TCursor cursor,
double w = 1.0,
Colorcolor = nullptr 
)
-
-virtual
-
- -

Implements ipe::CanvasBase.

- -
-
- -

◆ invalidate() [1/2]

- -
-
- - - - - -
- - - - - - - -
virtual void ipe::Canvas::invalidate ()
-
-protectedvirtual
-
- -

Implements ipe::CanvasBase.

- -
-
- -

◆ invalidate() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::Canvas::invalidate (int x,
int y,
int w,
int h 
)
-
-protectedvirtual
-
- -

Implements ipe::CanvasBase.

- -
-
- -

◆ drawFifi()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::drawFifi (QPainter & q)
-
-protected
-
-
- -

◆ paintEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::paintEvent (QPaintEvent * ev)
-
-protectedvirtual
-
-
- -

◆ mouseButton()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Canvas::mouseButton (QMouseEvent * ev,
int button,
bool press 
)
-
-protected
-
-
- -

◆ mouseDoubleClickEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::mouseDoubleClickEvent (QMouseEvent * ev)
-
-protectedvirtual
-
- -

References mouseButton().

- -

Referenced by ipe::IpeQ().

- -
-
- -

◆ mousePressEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::mousePressEvent (QMouseEvent * ev)
-
-protectedvirtual
-
- -

References mouseButton().

- -

Referenced by ipe::IpeQ().

- -
-
- -

◆ mouseReleaseEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::mouseReleaseEvent (QMouseEvent * ev)
-
-protectedvirtual
-
- -

References mouseButton().

- -

Referenced by ipe::IpeQ().

- -
-
- -

◆ mouseMoveEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::mouseMoveEvent (QMouseEvent * ev)
-
-protectedvirtual
-
-
- -

◆ tabletEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::tabletEvent (QTabletEvent * ev)
-
-protectedvirtual
-
-
- -

◆ wheelEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::wheelEvent (QWheelEvent * ev)
-
-protectedvirtual
-
-
- -

◆ keyPressEvent()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::keyPressEvent (QKeyEvent * ev)
-
-protectedvirtual
-
-
- -

◆ sizeHint()

- -
-
- - - - - -
- - - - - - - -
QSize Canvas::sizeHint () const
-
-protectedvirtual
-
-
- -

◆ init()

- -
-
- - - - - -
- - - - - - - - -
void Canvas::init (HINSTANCE hInstance)
-
-static
-
- -
-
- -

◆ getDpiForWindow()

- -
-
- - - - - -
- - - - - - - - -
UINT Canvas::getDpiForWindow (HWND hwnd)
-
-static
-
- -
-
- -

◆ windowId()

- -
-
- - - - - -
- - - - - - - -
HWND ipe::Canvas::windowId () const
-
-inline
-
- -

References createBitmap(), and mouseButton().

- -
-
- -

◆ createBitmap()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
static HBITMAP ipe::Canvas::createBitmap (uint8_t * p,
int w,
int h 
)
-
-static
-
- -

Referenced by windowId().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_canvas-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas-members.html --- ipe-7.2.20/build/doc/classipe_1_1_canvas-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,166 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Canvas Member List
-
-
- -

This is the complete list of members for ipe::Canvas, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
additionalModifiers() constipe::CanvasBaseinline
Canvas(GtkWidget *parent)ipe::Canvas
Canvas(QWidget *parent, Qt::WindowFlags f=nullptr)ipe::Canvas
Canvas(HWND parent, HINSTANCE hInstance=nullptr)ipe::Canvas
CanvasBase()ipe::CanvasBaseprotected
canvasHeight() constipe::CanvasBaseinline
canvasStyle() constipe::CanvasBaseinline
canvasTfm() constipe::CanvasBase
canvasWidth() constipe::CanvasBaseinline
cascade() constipe::CanvasBaseinline
center() constipe::CanvasBaseinline
computeFifi(double x, double y)ipe::CanvasBaseprotected
createBitmap(uint8_t *p, int w, int h)ipe::Canvasstatic
devToUser(const Vector &arg) constipe::CanvasBase
drawAxes(cairo_t *cc)ipe::CanvasBaseprotected
drawFifi(QPainter &q)ipe::Canvasprotected
ipe::CanvasBase::drawFifi(cairo_t *cr)ipe::CanvasBaseprotected
drawFrame(cairo_t *cc)ipe::CanvasBaseprotected
drawGrid(cairo_t *cc)ipe::CanvasBaseprotected
drawObjects(cairo_t *cc)ipe::CanvasBaseprotected
drawPaper(cairo_t *cc)ipe::CanvasBaseprotected
drawTool(Painter &painter)ipe::CanvasBaseprotected
EAlt enum valueipe::CanvasBase
ECommand enum valueipe::CanvasBase
EControl enum valueipe::CanvasBase
ECrossCursor enum valueipe::CanvasBase
EDotCursor enum valueipe::CanvasBase
EHandCursor enum valueipe::CanvasBase
EMeta enum valueipe::CanvasBase
EShift enum valueipe::CanvasBase
EStandardCursor enum valueipe::CanvasBase
finishTool()ipe::CanvasBase
getDpiForWindow(HWND hwnd)ipe::Canvasstatic
globalPos() constipe::CanvasBaseinline
iAdditionalModifiersipe::CanvasBaseprotected
iAutoOriginipe::CanvasBaseprotected
iAutoSnapipe::CanvasBaseprotected
iBHeightipe::CanvasBaseprotected
iBWidthipe::CanvasBaseprotected
iCascadeipe::CanvasBaseprotected
iDimmedipe::CanvasBaseprotected
iFifiModeipe::CanvasBaseprotected
iFifiVisibleipe::CanvasBaseprotected
iFontsipe::CanvasBaseprotected
iGlobalPosipe::CanvasBaseprotected
iHeightipe::CanvasBaseprotected
iMousePosipe::CanvasBaseprotected
init(HINSTANCE hInstance)ipe::Canvasstatic
invalidate()ipe::Canvasprotectedvirtual
invalidate(int x, int y, int w, int h)ipe::Canvasprotectedvirtual
iObserveripe::CanvasBaseprotected
iOldFifiipe::CanvasBaseprotected
iPageipe::CanvasBaseprotected
iPageNumberipe::CanvasBaseprotected
iPanipe::CanvasBaseprotected
iRepaintObjectsipe::CanvasBaseprotected
iResourcesipe::CanvasBaseprotected
iSelectionVisibleipe::CanvasBaseprotected
isInkModeipe::CanvasBaseprotected
iSnapipe::CanvasBaseprotected
iStyleipe::CanvasBaseprotected
iSurfaceipe::CanvasBaseprotected
iToolipe::CanvasBaseprotected
iType3Fontipe::CanvasBaseprotected
iUnsnappedMousePosipe::CanvasBaseprotected
iViewipe::CanvasBaseprotected
iWidthipe::CanvasBaseprotected
iZoomipe::CanvasBaseprotected
keyPressEvent(QKeyEvent *ev)ipe::Canvasprotectedvirtual
mouseButton(QMouseEvent *ev, int button, bool press)ipe::Canvasprotected
mouseDoubleClickEvent(QMouseEvent *ev)ipe::Canvasprotectedvirtual
mouseMoveEvent(QMouseEvent *ev)ipe::Canvasprotectedvirtual
mousePressEvent(QMouseEvent *ev)ipe::Canvasprotectedvirtual
mouseReleaseEvent(QMouseEvent *ev)ipe::Canvasprotectedvirtual
paintEvent(QPaintEvent *ev)ipe::Canvasprotectedvirtual
pan() constipe::CanvasBaseinline
pos() constipe::CanvasBaseinline
refreshSurface()ipe::CanvasBaseprotected
selectPageOrView(Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480)ipe::CanvasBasestatic
setAdditionalModifiers(int mod)ipe::CanvasBase
setAutoOrigin(const Vector &v)ipe::CanvasBase
setCanvasStyle(const Style &style)ipe::CanvasBase
setCursor(TCursor cursor, double w=1.0, Color *color=nullptr)ipe::Canvasvirtual
setDimmed(bool dimmed)ipe::CanvasBase
setFifiVisible(bool visible)ipe::CanvasBase
setInkMode(bool ink)ipe::CanvasBaseinline
setObserver(CanvasObserver *observer)ipe::CanvasBase
setPage(const Page *page, int pno, int view, const Cascade *sheet)ipe::CanvasBase
setPan(const Vector &v)ipe::CanvasBase
setResources(const PdfResources *resources)ipe::CanvasBase
setSelectionVisible(bool visible)ipe::CanvasBase
setSnap(const Snap &s)ipe::CanvasBase
setTool(Tool *tool)ipe::CanvasBase
setZoom(double zoom)ipe::CanvasBase
simpleSnapPos() constipe::CanvasBase
sizeHint() constipe::Canvasprotectedvirtual
snap() constipe::CanvasBaseinline
snapToPaperAndFrame()ipe::CanvasBaseprotected
tabletEvent(QTabletEvent *ev)ipe::Canvasprotectedvirtual
TCursor enum nameipe::CanvasBase
TModifiers enum nameipe::CanvasBase
tool()ipe::CanvasBaseinline
type3Font()ipe::CanvasBase
unsnappedPos() constipe::CanvasBaseinline
update()ipe::CanvasBase
updateTool()ipe::CanvasBase
userToDev(const Vector &arg) constipe::CanvasBase
wheelEvent(QWheelEvent *ev)ipe::Canvasprotectedvirtual
window() constipe::Canvasinline
windowId() constipe::Canvasinline
zoom() constipe::CanvasBaseinline
~Canvas()ipe::Canvas
~CanvasBase()ipe::CanvasBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_canvas_observer.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_observer.html --- ipe-7.2.20/build/doc/classipe_1_1_canvas_observer.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_observer.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,254 +0,0 @@ - - - - - - - -Ipelib: ipe::CanvasObserver Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::CanvasObserver Class Reference
-
-
- -

#include <ipecanvas.h>

- - - - - - - - - - - - - - -

-Public Member Functions

virtual ~CanvasObserver ()
 
virtual void canvasObserverWheelMoved (double xDegrees, double yDegrees, int kind)
 
virtual void canvasObserverMouseAction (int button)
 
virtual void canvasObserverPositionChanged ()
 
virtual void canvasObserverToolChanged (bool hasTool)
 
virtual void canvasObserverSizeChanged ()
 
-

Constructor & Destructor Documentation

- -

◆ ~CanvasObserver()

- -
-
- - - - - -
- - - - - - - -
CanvasObserver::~CanvasObserver ()
-
-virtual
-
- -
-
-

Member Function Documentation

- -

◆ canvasObserverWheelMoved()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void CanvasObserver::canvasObserverWheelMoved (double xDegrees,
double yDegrees,
int kind 
)
-
-virtual
-
-
- -

◆ canvasObserverMouseAction()

- -
-
- - - - - -
- - - - - - - - -
void CanvasObserver::canvasObserverMouseAction (int button)
-
-virtual
-
-
- -

◆ canvasObserverPositionChanged()

- -
-
- - - - - -
- - - - - - - -
void CanvasObserver::canvasObserverPositionChanged ()
-
-virtual
-
-
- -

◆ canvasObserverToolChanged()

- -
-
- - - - - -
- - - - - - - - -
void CanvasObserver::canvasObserverToolChanged (bool hasTool)
-
-virtual
-
- -
-
- -

◆ canvasObserverSizeChanged()

- -
-
- - - - - -
- - - - - - - -
void CanvasObserver::canvasObserverSizeChanged ()
-
-virtual
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_canvas_observer-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_observer-members.html --- ipe-7.2.20/build/doc/classipe_1_1_canvas_observer-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_canvas_observer-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::CanvasObserver Member List
-
-
- -

This is the complete list of members for ipe::CanvasObserver, including all inherited members.

- - - - - - - -
canvasObserverMouseAction(int button)ipe::CanvasObservervirtual
canvasObserverPositionChanged()ipe::CanvasObservervirtual
canvasObserverSizeChanged()ipe::CanvasObservervirtual
canvasObserverToolChanged(bool hasTool)ipe::CanvasObservervirtual
canvasObserverWheelMoved(double xDegrees, double yDegrees, int kind)ipe::CanvasObservervirtual
~CanvasObserver()ipe::CanvasObservervirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_cascade.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cascade.html --- ipe-7.2.20/build/doc/classipe_1_1_cascade.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cascade.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,732 +0,0 @@ - - - - - - - -Ipelib: ipe::Cascade Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Cascade Class Reference
-
-
- -

#include <ipestyle.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Cascade ()
 
 Cascade (const Cascade &rhs)
 
Cascadeoperator= (const Cascade &rhs)
 
 ~Cascade ()
 
int count () const
 
StyleSheetsheet (int index)
 
const StyleSheetsheet (int index) const
 
void insert (int index, StyleSheet *sheet)
 
void remove (int index)
 
void saveAsXml (Stream &stream) const
 
bool has (Kind kind, Attribute sym) const
 
Attribute find (Kind, Attribute sym) const
 
const SymbolfindSymbol (Attribute sym) const
 
const GradientfindGradient (Attribute sym) const
 
const TilingfindTiling (Attribute sym) const
 
const EffectfindEffect (Attribute sym) const
 
const LayoutfindLayout () const
 
const TextPaddingfindTextPadding () const
 
const StyleSheet::TitleStylefindTitleStyle () const
 
const StyleSheet::PageNumberStylefindPageNumberStyle () const
 
String findPreamble () const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
void allNames (Kind kind, AttributeSeq &seq) const
 
int findDefinition (Kind kind, Attribute sym) const
 
-

Detailed Description

-

A cascade of style sheets.

-

The StyleSheets of a document cascade in the sense that a document can refer to several StyleSheets, which are arranged in a stack. A lookup is done from top to bottom, and returns as soon as a match is found. Ipe always appends the built-in "standard" style sheet at the bottom of the cascade.

-

Constructor & Destructor Documentation

- -

◆ Cascade() [1/2]

- -
-
- - - - - - - -
Cascade::Cascade ()
-
- -

Create an empty cascade.

-

This does not add the standard style sheet.

- -

References ipe::size().

- -
-
- -

◆ Cascade() [2/2]

- -
-
- - - - - - - - -
Cascade::Cascade (const Cascaderhs)
-
- -

Copy constructor.

- -

References count().

- -
-
- -

◆ ~Cascade()

- -
-
- - - - - - - -
Cascade::~Cascade ()
-
- -

Destructor.

- -
-
-

Member Function Documentation

- -

◆ operator=()

- -
-
- - - - - - - - -
Cascade & Cascade::operator= (const Cascaderhs)
-
- -

Assignment operator.

- -

References count().

- -
-
- -

◆ count()

- -
-
- - - - - -
- - - - - - - -
int ipe::Cascade::count () const
-
-inline
-
- -

Return number of style sheets.

- -

Referenced by Cascade(), and operator=().

- -
-
- -

◆ sheet() [1/2]

- -
-
- - - - - -
- - - - - - - - -
StyleSheet* ipe::Cascade::sheet (int index)
-
-inline
-
- -

Return StyleSheet at index.

- -
-
- -

◆ sheet() [2/2]

- -
-
- - - - - -
- - - - - - - - -
const StyleSheet* ipe::Cascade::sheet (int index) const
-
-inline
-
- -

Return StyleSheet at index.

- -
-
- -

◆ insert()

- -
-
- - - - - - - - - - - - - - - - - - -
void Cascade::insert (int index,
StyleSheetsheet 
)
-
- -

Insert a style sheet into the cascade.

-

Takes ownership of sheet.

- -

Referenced by ipe::Document::Document(), and ipe::ImlParser::parseDocument().

- -
-
- -

◆ remove()

- -
-
- - - - - - - - -
void Cascade::remove (int index)
-
- -

Remove a style sheet from the cascade.

-

The old sheet is deleted.

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - - - - -
void Cascade::saveAsXml (Streamstream) const
-
- -
-
- -

◆ has()

- -
-
- - - - - - - - - - - - - - - - - - -
bool Cascade::has (Kind kind,
Attribute sym 
) const
-
- -
-
- -

◆ find()

- -
-
- - - - - - - - - - - - - - - - - - -
Attribute Cascade::find (Kind kind,
Attribute sym 
) const
-
-
- -

◆ findSymbol()

- -
-
- - - - - - - - -
const Symbol * Cascade::findSymbol (Attribute sym) const
-
-
- -

◆ findGradient()

- -
-
- - - - - - - - -
const Gradient * Cascade::findGradient (Attribute sym) const
-
-
- -

◆ findTiling()

- -
-
- - - - - - - - -
const Tiling * Cascade::findTiling (Attribute sym) const
-
- -

Referenced by ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ findEffect()

- -
-
- - - - - - - - -
const Effect * Cascade::findEffect (Attribute sym) const
-
- -
-
- -

◆ findLayout()

- -
-
- - - - - - - -
const Layout * Cascade::findLayout () const
-
- -

Find page layout (such as text margins).

- -

Referenced by ipe::PanTool::draw(), and ipe::Thumbnail::Thumbnail().

- -
-
- -

◆ findTextPadding()

- -
-
- - - - - - - -
const TextPadding * Cascade::findTextPadding () const
-
- -

Find text padding (for text bbox computation).

- -

Referenced by ipe::BBoxPainter::doDrawText().

- -
-
- -

◆ findTitleStyle()

- -
-
- - - - - - - -
const StyleSheet::TitleStyle * Cascade::findTitleStyle () const
-
- -

Get style of page titles (or 0 if none defined).

- -

Referenced by ipe::Page::applyTitleStyle().

- -
-
- -

◆ findPageNumberStyle()

- -
-
- - - - - - - -
const StyleSheet::PageNumberStyle * Cascade::findPageNumberStyle () const
-
- -

Return style of page numbering (or 0 if none defined).

- -
-
- -

◆ findPreamble()

- -
-
- - - - - - - -
String Cascade::findPreamble () const
-
- -

Return total LaTeX preamble (of the whole cascade).

- -
-
- -

◆ lineCap()

- -
-
- - - - - - - -
TLineCap Cascade::lineCap () const
-
-
- -

◆ lineJoin()

- -
-
- - - - - - - -
TLineJoin Cascade::lineJoin () const
-
-
- -

◆ fillRule()

- -
-
- - - - - - - -
TFillRule Cascade::fillRule () const
-
- -

References ipe::EDefaultRule, and ipe::EEvenOddRule.

- -

Referenced by ipe::Painter::Painter().

- -
-
- -

◆ allNames()

- -
-
- - - - - - - - - - - - - - - - - - -
void Cascade::allNames (Kind kind,
AttributeSeqseq 
) const
-
- -

References ipe::Attribute::NORMAL().

- -

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

- -
-
- -

◆ findDefinition()

- -
-
- - - - - - - - - - - - - - - - - - -
int Cascade::findDefinition (Kind kind,
Attribute sym 
) const
-
- -

Find stylesheet defining the attribute.

-

This method goes through the cascade looking for a definition of the symbolic attribute sym. It returns the index of the stylesheet defining the attribute, or -1 if the attribute is not defined.

-

The method panics if sym is not symbolic. It also works for ESymbol, EGradient, ETiling, and EEffect.

- -

References ipe::Attribute::isSymbolic().

- -

Referenced by ipe::Object::checkSymbol().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_cascade-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cascade-members.html --- ipe-7.2.20/build/doc/classipe_1_1_cascade-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_cascade-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,79 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Cascade Member List
-
-
- -

This is the complete list of members for ipe::Cascade, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
allNames(Kind kind, AttributeSeq &seq) constipe::Cascade
Cascade()ipe::Cascade
Cascade(const Cascade &rhs)ipe::Cascade
count() constipe::Cascadeinline
fillRule() constipe::Cascade
find(Kind, Attribute sym) constipe::Cascade
findDefinition(Kind kind, Attribute sym) constipe::Cascade
findEffect(Attribute sym) constipe::Cascade
findGradient(Attribute sym) constipe::Cascade
findLayout() constipe::Cascade
findPageNumberStyle() constipe::Cascade
findPreamble() constipe::Cascade
findSymbol(Attribute sym) constipe::Cascade
findTextPadding() constipe::Cascade
findTiling(Attribute sym) constipe::Cascade
findTitleStyle() constipe::Cascade
has(Kind kind, Attribute sym) constipe::Cascade
insert(int index, StyleSheet *sheet)ipe::Cascade
lineCap() constipe::Cascade
lineJoin() constipe::Cascade
operator=(const Cascade &rhs)ipe::Cascade
remove(int index)ipe::Cascade
saveAsXml(Stream &stream) constipe::Cascade
sheet(int index)ipe::Cascadeinline
sheet(int index) constipe::Cascadeinline
~Cascade()ipe::Cascade
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_closed_spline.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_closed_spline.html --- ipe-7.2.20/build/doc/classipe_1_1_closed_spline.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_closed_spline.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,498 +0,0 @@ - - - - - - - -Ipelib: ipe::ClosedSpline Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::ClosedSpline Class Reference
-
-
- -

#include <ipeshape.h>

- -

Inherits ipe::SubPath.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 ClosedSpline (const std::vector< Vector > &v)
 
virtual Type type () const
 
virtual const ClosedSplineasClosedSpline () const
 
void beziers (std::vector< Bezier > &bez) const
 
virtual void save (Stream &stream) const
 
virtual void draw (Painter &painter) const
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
- Public Member Functions inherited from ipe::SubPath
virtual ~SubPath ()=0
 
virtual bool closed () const
 
virtual const EllipseasEllipse () const
 
virtual const CurveasCurve () const
 
- - - -

-Public Attributes

std::vector< VectoriCP
 
- - - - -

-Additional Inherited Members

- Public Types inherited from ipe::SubPath
enum  Type { ECurve, -EEllipse, -EClosedSpline - }
 
-

Detailed Description

-

A closed B-spline curve.

-

Constructor & Destructor Documentation

- -

◆ ClosedSpline()

- -
-
- - - - - - - - -
ClosedSpline::ClosedSpline (const std::vector< Vector > & v)
-
- -
-
-

Member Function Documentation

- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
SubPath::Type ClosedSpline::type () const
-
-virtual
-
- -

Return type of this subpath.

- -

Implements ipe::SubPath.

- -

References ipe::SubPath::EClosedSpline.

- -
-
- -

◆ asClosedSpline()

- -
-
- - - - - -
- - - - - - - -
const ClosedSpline * ClosedSpline::asClosedSpline () const
-
-virtual
-
- -

Return this object as an ClosedSpline, or nullptr if it's not a closed spline.

- -

Reimplemented from ipe::SubPath.

- -
-
- -

◆ beziers()

- -
-
- - - - - - - - -
void ClosedSpline::beziers (std::vector< Bezier > & bez) const
-
- -

References ipe::Bezier::closedSpline().

- -
-
- -

◆ save()

- -
-
- - - - - -
- - - - - - - - -
void ClosedSpline::save (Streamstream) const
-
-virtual
-
- -

Save subpath to XML stream.

- -

Implements ipe::SubPath.

- -

References ipe::size().

- -
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void ClosedSpline::draw (Painterpainter) const
-
-virtual
-
- -

Draw subpath (does not call drawPath()).

- -

Implements ipe::SubPath.

- -

References ipe::Painter::closePath(), ipe::Painter::curveTo(), and ipe::Painter::moveTo().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void ClosedSpline::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-virtual
-
- -

Add subpath to box.

- -

Implements ipe::SubPath.

- -

References ipe::Rect::addPoint(), and ipe::Rect::addRect().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double ClosedSpline::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-virtual
-
- -

Return distance from v to subpath transformed by m.

- -

Implements ipe::SubPath.

- -

References ipe::Ellipse::distance().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ClosedSpline::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound,
bool cp 
) const
-
-virtual
-
- -

Snap to vertex.

- -

Implements ipe::SubPath.

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ClosedSpline::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Snap to boundary of subpath.

- -

Implements ipe::SubPath.

- -

References ipe::Shape::Shape().

- -
-
-

Member Data Documentation

- -

◆ iCP

- -
-
- - - - -
std::vector<Vector> ipe::ClosedSpline::iCP
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_closed_spline-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_closed_spline-members.html --- ipe-7.2.20/build/doc/classipe_1_1_closed_spline-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_closed_spline-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,72 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::ClosedSpline Member List
-
-
- -

This is the complete list of members for ipe::ClosedSpline, including all inherited members.

- - - - - - - - - - - - - - - - - - - - -
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::ClosedSplinevirtual
asClosedSpline() constipe::ClosedSplinevirtual
asCurve() constipe::SubPathvirtual
asEllipse() constipe::SubPathvirtual
beziers(std::vector< Bezier > &bez) constipe::ClosedSpline
closed() constipe::SubPathvirtual
ClosedSpline(const std::vector< Vector > &v)ipe::ClosedSpline
distance(const Vector &v, const Matrix &m, double bound) constipe::ClosedSplinevirtual
draw(Painter &painter) constipe::ClosedSplinevirtual
EClosedSpline enum valueipe::SubPath
ECurve enum valueipe::SubPath
EEllipse enum valueipe::SubPath
iCPipe::ClosedSpline
save(Stream &stream) constipe::ClosedSplinevirtual
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::ClosedSplinevirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) constipe::ClosedSplinevirtual
type() constipe::ClosedSplinevirtual
Type enum nameipe::SubPath
~SubPath()=0ipe::SubPathpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_color.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_color.html --- ipe-7.2.20/build/doc/classipe_1_1_color.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_color.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,418 +0,0 @@ - - - - - - - -Ipelib: ipe::Color Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -Related Functions | -List of all members
-
-
ipe::Color Class Reference
-
-
- -

#include <ipeattributes.h>

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Color ()
 
 Color (String str)
 
 Color (int r, int g, int b)
 
void save (Stream &stream) const
 
void saveRGB (Stream &stream) const
 
bool isGray () const
 
bool operator== (const Color &rhs) const
 
bool operator!= (const Color &rhs) const
 
- - - - - - - -

-Public Attributes

Fixed iRed
 
Fixed iGreen
 
Fixed iBlue
 
- - - - -

-Related Functions

(Note that these are not member functions.)

-
Streamoperator<< (Stream &stream, const Color &attr)
 
-

Detailed Description

-

An absolute RGB color.

-

Constructor & Destructor Documentation

- -

◆ Color() [1/3]

- -
-
- - - - - -
- - - - - - - -
ipe::Color::Color ()
-
-inline
-
- -

Default constructor.

- -

References isGray(), operator==(), save(), and saveRGB().

- -

Referenced by ipe::Attribute::makeColor().

- -
-
- -

◆ Color() [2/3]

- -
-
- - - - - -
- - - - - - - - -
Color::Color (String str)
-
-explicit
-
- -

Construct a color from a string.

-

If only a single number is given, this is a gray value, otherwise red, green, and blue components must be given.

- -

References ipe::Lex::eos(), iBlue, iGreen, and iRed.

- -
-
- -

◆ Color() [3/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Color::Color (int red,
int green,
int blue 
)
-
-explicit
-
- -

Construct a color.

-

Arguments red, green, blue range from 0 to 1000.

- -

References ipe::Fixed::fromInternal(), iBlue, iGreen, and iRed.

- -
-
-

Member Function Documentation

- -

◆ save()

- -
-
- - - - - - - - -
void Color::save (Streamstream) const
-
- -

Save to stream.

- -

References iBlue, iGreen, iRed, and isGray().

- -

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

- -
-
- -

◆ saveRGB()

- -
-
- - - - - - - - -
void Color::saveRGB (Streamstream) const
-
- -

Save to stream in long format.

-

The RGB components are saved separately even for gray colors.

- -

References iBlue, iGreen, and iRed.

- -

Referenced by Color(), and ipe::PdfPainter::drawAttributes().

- -
-
- -

◆ isGray()

- -
-
- - - - - - - -
bool Color::isGray () const
-
- -

is it an absolute gray value?

- -

References iBlue, iGreen, and iRed.

- -

Referenced by Color(), ipe::Latex::createLatexSource(), ipe::PdfPainter::drawColor(), and save().

- -
-
- -

◆ operator==()

- -
-
- - - - - - - - -
bool Color::operator== (const Colorrhs) const
-
- -

References ipe::Effect::Effect(), iBlue, iGreen, and iRed.

- -

Referenced by Color().

- -
-
- -

◆ operator!=()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Color::operator!= (const Colorrhs) const
-
-inline
-
- -
-
-

Friends And Related Function Documentation

- -

◆ operator<<()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream & operator<< (Streamstream,
const Colorattr 
)
-
-related
-
- -

References save().

- -
-
-

Member Data Documentation

- -

◆ iRed

- -
-
- - - - -
Fixed ipe::Color::iRed
-
-
- -

◆ iGreen

- -
-
- - - - -
Fixed ipe::Color::iGreen
-
-
- -

◆ iBlue

- -
-
- - - - -
Fixed ipe::Color::iBlue
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_color-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_color-members.html --- ipe-7.2.20/build/doc/classipe_1_1_color-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_color-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Color Member List
-
-
- -

This is the complete list of members for ipe::Color, including all inherited members.

- - - - - - - - - - - - - -
Color()ipe::Colorinline
Color(String str)ipe::Colorexplicit
Color(int r, int g, int b)ipe::Colorexplicit
iBlueipe::Color
iGreenipe::Color
iRedipe::Color
isGray() constipe::Color
operator!=(const Color &rhs) constipe::Colorinline
operator<<(Stream &stream, const Color &attr)ipe::Colorrelated
operator==(const Color &rhs) constipe::Color
save(Stream &stream) constipe::Color
saveRGB(Stream &stream) constipe::Color
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_curve.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve.html --- ipe-7.2.20/build/doc/classipe_1_1_curve.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,886 +0,0 @@ - - - - - - - -Ipelib: ipe::Curve Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -Friends | -List of all members
-
-
ipe::Curve Class Reference
-
-
- -

#include <ipeshape.h>

- -

Inherits ipe::SubPath.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Curve ()
 
virtual Type type () const
 
virtual bool closed () const
 
virtual const CurveasCurve () const
 
virtual void save (Stream &stream) const
 
virtual void draw (Painter &painter) const
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
int countSegments () const
 
int countSegmentsClosing () const
 
CurveSegment segment (int i) const
 
CurveSegment closingSegment () const
 
void appendSegment (const Vector &v0, const Vector &v1)
 
void appendArc (const Matrix &m, const Vector &v0, const Vector &v1)
 
void appendSpline (const std::vector< Vector > &v)
 
void appendOldSpline (const std::vector< Vector > &v)
 
void appendCardinalSpline (const std::vector< Vector > &v, float tension)
 
void appendSpiroSpline (const std::vector< Vector > &v)
 
void appendSpiroSplinePrecomputed (const std::vector< Vector > &v, int sep)
 
void setClosed (bool closed)
 
- Public Member Functions inherited from ipe::SubPath
virtual ~SubPath ()=0
 
virtual const EllipseasEllipse () const
 
virtual const ClosedSplineasClosedSpline () const
 
- - - -

-Friends

class CurveSegment
 
- - - - -

-Additional Inherited Members

- Public Types inherited from ipe::SubPath
enum  Type { ECurve, -EEllipse, -EClosedSpline - }
 
-

Detailed Description

-

Subpath consisting of a sequence of CurveSegment's.

-

Constructor & Destructor Documentation

- -

◆ Curve()

- -
-
- - - - - - - -
Curve::Curve ()
-
- -

Create an empty, open subpath.

- -

Referenced by ipe::CurveSegment::snapBnd().

- -
-
-

Member Function Documentation

- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
SubPath::Type Curve::type () const
-
-virtual
-
- -

Return type of this subpath.

- -

Implements ipe::SubPath.

- -
-
- -

◆ closed()

- -
-
- - - - - -
- - - - - - - -
virtual bool ipe::Curve::closed () const
-
-inlinevirtual
-
- -

Is this subpath closed?

-

Default implementation returns true.

- -

Reimplemented from ipe::SubPath.

- -

References ipe::CurveSegment::addToBBox(), ipe::CurveSegment::cp(), ipe::CurveSegment::distance(), ipe::CurveSegment::draw(), ipe::CurveSegment::snapBnd(), and ipe::CurveSegment::snapVtx().

- -
-
- -

◆ asCurve()

- -
-
- - - - - -
- - - - - - - -
const Curve * Curve::asCurve () const
-
-virtual
-
- -

Return this object as an Curve, or else nullptr.

- -

Reimplemented from ipe::SubPath.

- -
-
- -

◆ save()

- -
-
- - - - - -
- - - - - - - - -
void Curve::save (Streamstream) const
-
-virtual
-
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Curve::draw (Painterpainter) const
-
-virtual
-
- -

Draw subpath (does not call drawPath()).

- -

Implements ipe::SubPath.

- -

References ipe::Painter::closePath(), and ipe::Painter::moveTo().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Curve::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-virtual
-
- -

Add subpath to box.

- -

Implements ipe::SubPath.

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Curve::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-virtual
-
- -

Return distance from v to subpath transformed by m.

- -

Implements ipe::SubPath.

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Curve::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound,
bool cp 
) const
-
-virtual
-
- -

Snap to vertex.

- -

Implements ipe::SubPath.

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Curve::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Snap to boundary of subpath.

- -

Implements ipe::SubPath.

- -
-
- -

◆ countSegments()

- -
-
- - - - - -
- - - - - - - -
int ipe::Curve::countSegments () const
-
-inline
-
- -

Return number of segments. This does not include the closing segment for a closed path.

- -

Referenced by ipe::Path::clone(), and ipe::Shape::isSegment().

- -
-
- -

◆ countSegmentsClosing()

- -
-
- - - - - -
- - - - - - - -
int ipe::Curve::countSegmentsClosing () const
-
-inline
-
- -

Return number of segments including the closing segment.

- -
-
- -

◆ segment()

- -
-
- - - - - - - - -
CurveSegment Curve::segment (int i) const
-
- -

Return segment.

-

If i is negative, elements from the end are returned. If i == countSegments(), the closing segment of a closed path is returned.

- -

Referenced by ipe::Path::clone(), ipe::Path::draw(), and ipe::Shape::isSegment().

- -
-
- -

◆ closingSegment()

- -
-
- - - - - - - -
CurveSegment Curve::closingSegment () const
-
- -

Returns the closing segment of a closed path.

-

This method panics if the Curve is not closed.

- -

References ipe::SubPath::~SubPath().

- -
-
- -

◆ appendSegment()

- -
-
- - - - - - - - - - - - - - - - - - -
void Curve::appendSegment (const Vectorv0,
const Vectorv1 
)
-
- -

Append a straight segment to the subpath.

- -

References ipe::CurveSegment::ESegment.

- -

Referenced by ipe::Shape::load(), and ipe::Shape::Shape().

- -
-
- -

◆ appendArc()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Curve::appendArc (const Matrixm,
const Vectorv0,
const Vectorv1 
)
-
-
- -

◆ appendSpline()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Curve::appendSpline (const std::vector< Vector > & v)
-
-inline
-
- -

References ipe::CurveSegment::ESpline.

- -

Referenced by appendArc(), and ipe::Shape::load().

- -
-
- -

◆ appendOldSpline()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Curve::appendOldSpline (const std::vector< Vector > & v)
-
-inline
-
-
- -

◆ appendCardinalSpline()

- -
-
- - - - - - - - - - - - - - - - - - -
void Curve::appendCardinalSpline (const std::vector< Vector > & v,
float tension 
)
-
- -

Append a cardinal spline curve.

- -

References ipe::CurveSegment::ECardinalSpline.

- -

Referenced by ipe::Shape::load().

- -
-
- -

◆ appendSpiroSpline()

- -
-
- - - - - - - - -
void Curve::appendSpiroSpline (const std::vector< Vector > & v)
-
- -

Append a spiro spline curve.

- -

References ipe::CurveSegment::ESpiroSpline, ipe::size(), and ipe::Bezier::spiroSpline().

- -

Referenced by ipe::Shape::load().

- -
-
- -

◆ appendSpiroSplinePrecomputed()

- -
-
- - - - - - - - - - - - - - - - - - -
void Curve::appendSpiroSplinePrecomputed (const std::vector< Vector > & v,
int sep 
)
-
- -

Append a spiro spline curve with precomputed Bezier control points.

- -

References ipe::CurveSegment::ESpiroSpline, and ipe::size().

- -

Referenced by ipe::Shape::load().

- -
-
- -

◆ setClosed()

- -
-
- - - - - - - - -
void Curve::setClosed (bool closed)
-
- -

Set whether subpath is closed or not.

-

Must be called after all segments have been added to the path.

- -

Referenced by ipe::Shape::load(), and ipe::Shape::Shape().

- -
-
-

Friends And Related Function Documentation

- -

◆ CurveSegment

- -
-
- - - - - -
- - - - -
friend class CurveSegment
-
-friend
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_curve-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve-members.html --- ipe-7.2.20/build/doc/classipe_1_1_curve-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,83 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Curve Member List
-
-
- -

This is the complete list of members for ipe::Curve, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::Curvevirtual
appendArc(const Matrix &m, const Vector &v0, const Vector &v1)ipe::Curve
appendCardinalSpline(const std::vector< Vector > &v, float tension)ipe::Curve
appendOldSpline(const std::vector< Vector > &v)ipe::Curveinline
appendSegment(const Vector &v0, const Vector &v1)ipe::Curve
appendSpiroSpline(const std::vector< Vector > &v)ipe::Curve
appendSpiroSplinePrecomputed(const std::vector< Vector > &v, int sep)ipe::Curve
appendSpline(const std::vector< Vector > &v)ipe::Curveinline
asClosedSpline() constipe::SubPathvirtual
asCurve() constipe::Curvevirtual
asEllipse() constipe::SubPathvirtual
closed() constipe::Curveinlinevirtual
closingSegment() constipe::Curve
countSegments() constipe::Curveinline
countSegmentsClosing() constipe::Curveinline
Curve()ipe::Curve
CurveSegment classipe::Curvefriend
distance(const Vector &v, const Matrix &m, double bound) constipe::Curvevirtual
draw(Painter &painter) constipe::Curvevirtual
EClosedSpline enum valueipe::SubPath
ECurve enum valueipe::SubPath
EEllipse enum valueipe::SubPath
save(Stream &stream) constipe::Curvevirtual
segment(int i) constipe::Curve
setClosed(bool closed)ipe::Curve
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Curvevirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) constipe::Curvevirtual
Type enum nameipe::SubPath
type() constipe::Curvevirtual
~SubPath()=0ipe::SubPathpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_curve_segment.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve_segment.html --- ipe-7.2.20/build/doc/classipe_1_1_curve_segment.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve_segment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,591 +0,0 @@ - - - - - - - -Ipelib: ipe::CurveSegment Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -Friends | -List of all members
-
-
ipe::CurveSegment Class Reference
-
-
- -

#include <ipeshape.h>

- - - - -

-Public Types

enum  Type {
-  EArc, -ESegment, -ESpline, -EOldSpline, -
-  ECardinalSpline, -ESpiroSpline -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

Type type () const
 
int countCP () const
 
Vector cp (int i) const
 
Vector last () const
 
Matrix matrix () const
 
float tension () const
 
Arc arc () const
 
void beziers (std::vector< Bezier > &bez) const
 
void draw (Painter &painter) const
 
void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
double distance (const Vector &v, const Matrix &m, double bound) const
 
void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const
 
void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
- - - -

-Friends

class Curve
 
-

Detailed Description

-

A segment on an SubPath.

-

A segment is either an elliptic arc, a straight segment, or a spline curve, depending on its type(). This is a lightweight object, created on the fly by Curve::segment(). There is no public constructor, so the only way to create such an object is through that method.

-

The type() is one of the following:

- -

Member Enumeration Documentation

- -

◆ Type

- -
-
- - - - -
enum ipe::CurveSegment::Type
-
- - - - - - - -
Enumerator
EArc 
ESegment 
ESpline 
EOldSpline 
ECardinalSpline 
ESpiroSpline 
- -
-
-

Member Function Documentation

- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
CurveSegment::Type ipe::CurveSegment::type () const
-
-inline
-
- -

Type of segment.

- -

Referenced by ipe::Path::clone(), and ipe::Shape::isSegment().

- -
-
- -

◆ countCP()

- -
-
- - - - - -
- - - - - - - -
int ipe::CurveSegment::countCP () const
-
-inline
-
- -

Number of control points.

- -

Referenced by ipe::Path::clone().

- -
-
- -

◆ cp()

- -
-
- - - - - -
- - - - - - - - -
Vector ipe::CurveSegment::cp (int i) const
-
-inline
-
-
- -

◆ last()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::CurveSegment::last () const
-
-inline
-
- -

Return last control point.

- -

Referenced by ipe::Path::clone(), and cp().

- -
-
- -

◆ matrix()

- -
-
- - - - - -
- - - - - - - -
Matrix ipe::CurveSegment::matrix () const
-
-inline
-
- -

Matrix (if Type() == EArc).

- -

Referenced by ipe::Path::clone(), cp(), and ipe::Path::draw().

- -
-
- -

◆ tension()

- -
-
- - - - - - - -
float CurveSegment::tension () const
-
- -

Tension (if Type() == ECardinalSpline)

-

Panics if segment is not a cardinal spline.

- -

References ipe::ECardinalSpline.

- -

Referenced by ipe::Curve::appendOldSpline(), and cp().

- -
-
- -

◆ arc()

- -
-
- - - - - - - -
Arc CurveSegment::arc () const
-
- -

Return segment as Arc.

-

Panics if segment is not an arc.

- -

Referenced by cp().

- -
-
- -

◆ beziers()

- -
-
- - - - - - - - -
void CurveSegment::beziers (std::vector< Bezier > & bez) const
-
- -

Convert spline curve to a sequence of Bezier splines.

- -

References ipe::Bezier::cardinalSpline(), ipe::ECardinalSpline, ipe::ESpiroSpline, ipe::Bezier::oldSpline(), and ipe::Bezier::spline().

- -

Referenced by cp().

- -
-
- -

◆ draw()

- -
-
- - - - - - - - -
void CurveSegment::draw (Painterpainter) const
-
- -

Draw the segment.

-

Current position of the painter is already on first control point.

- -

References ipe::Painter::curveTo(), ipe::Painter::drawArc(), ipe::ECardinalSpline, ipe::ESpiroSpline, and ipe::Painter::lineTo().

- -

Referenced by ipe::Curve::closed(), cp(), ipe::Ellipse::matrix(), and ipe::Shape::subPath().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void CurveSegment::addToBBox (Rectbox,
const Matrixm,
bool cpf 
) const
-
- -

Add segment to bounding box.

-

Does not assume that first control point has already been added.

-

If cpf is true, then control points of splines, Bezier curves, and the center of arcs are included in the bbox (so that snapping can find them). Otherwise, a tight bounding box for the geometric object itself is computed.

- -

References ipe::Rect::addPoint(), ipe::Rect::addRect(), ipe::ECardinalSpline, and ipe::ESpiroSpline.

- -

Referenced by ipe::Curve::closed(), cp(), and ipe::Ellipse::matrix().

- -
-
- -

◆ distance()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
double CurveSegment::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
- -

Return distance to the segment.

- -

References ipe::Segment::distance(), ipe::ECardinalSpline, and ipe::ESpiroSpline.

- -

Referenced by ipe::Curve::closed(), cp(), and ipe::Ellipse::matrix().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CurveSegment::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound,
bool ctl 
) const
-
- -

Snap to vertex of the segment.

-

The method assumes that the first control point has already been tested.

- -

References ipe::ECardinalSpline, and ipe::ESpiroSpline.

- -

Referenced by ipe::Curve::closed(), cp(), and ipe::Ellipse::matrix().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CurveSegment::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-
-

Friends And Related Function Documentation

- -

◆ Curve

- -
-
- - - - - -
- - - - -
friend class Curve
-
-friend
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_curve_segment-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve_segment-members.html --- ipe-7.2.20/build/doc/classipe_1_1_curve_segment-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_curve_segment-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::CurveSegment Member List
-
-
- -

This is the complete list of members for ipe::CurveSegment, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::CurveSegment
arc() constipe::CurveSegment
beziers(std::vector< Bezier > &bez) constipe::CurveSegment
countCP() constipe::CurveSegmentinline
cp(int i) constipe::CurveSegmentinline
Curve classipe::CurveSegmentfriend
distance(const Vector &v, const Matrix &m, double bound) constipe::CurveSegment
draw(Painter &painter) constipe::CurveSegment
EArc enum valueipe::CurveSegment
ECardinalSpline enum valueipe::CurveSegment
EOldSpline enum valueipe::CurveSegment
ESegment enum valueipe::CurveSegment
ESpiroSpline enum valueipe::CurveSegment
ESpline enum valueipe::CurveSegment
last() constipe::CurveSegmentinline
matrix() constipe::CurveSegmentinline
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::CurveSegment
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) constipe::CurveSegment
tension() constipe::CurveSegment
Type enum nameipe::CurveSegment
type() constipe::CurveSegmentinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_data_source.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_data_source.html --- ipe-7.2.20/build/doc/classipe_1_1_data_source.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_data_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,234 +0,0 @@ - - - - - - - -Ipelib: ipe::DataSource Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::DataSource Class Referenceabstract
-
-
- -

#include <ipebase.h>

- -

Inherited by ipe::A85Source, ipe::Base64Source, ipe::BufferSource, ipe::FileSource, ipe::InflateSource, and StandardStyleSource.

- - - - - - - - - - - - -

-Public Member Functions

virtual ~DataSource ()=0
 
virtual int getChar ()=0
 
virtual int length () const
 
virtual void setPosition (int pos)
 
virtual int position () const
 
-

Detailed Description

-

Interface for getting data for parsing.

-

Constructor & Destructor Documentation

- -

◆ ~DataSource()

- -
-
- - - - - -
- - - - - - - -
DataSource::~DataSource ()
-
-pure virtual
-
- -

Pure virtual destructor.

- -

Referenced by ipe::FileStream::tell().

- -
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
virtual int ipe::DataSource::getChar ()
-
-pure virtual
-
-
- -

◆ length()

- -
-
- - - - - -
- - - - - - - -
int DataSource::length () const
-
-virtual
-
- -

Return length of input stream in characters.

-

Returns -1 if the stream is not seekable. Calling this function will invalidate the current position.

- -

Reimplemented in ipe::BufferSource, and ipe::FileSource.

- -

Referenced by ipe::PdfParser::getTrailer().

- -
-
- -

◆ setPosition()

- -
-
- - - - - -
- - - - - - - - -
void DataSource::setPosition (int pos)
-
-virtual
-
- -

Set position in stream.

-

Does nothing if the stream is not seekable.

- -

Reimplemented in ipe::BufferSource, and ipe::FileSource.

- -

Referenced by ipe::PdfParser::getTrailer().

- -
-
- -

◆ position()

- -
-
- - - - - -
- - - - - - - -
int DataSource::position () const
-
-virtual
-
- -

Return position in stream.

-

Returns -1 if the stream is not seekable.

- -

Reimplemented in ipe::BufferSource, and ipe::FileSource.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_data_source-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_data_source-members.html --- ipe-7.2.20/build/doc/classipe_1_1_data_source-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_data_source-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::DataSource Member List
-
-
- -

This is the complete list of members for ipe::DataSource, including all inherited members.

- - - - - - -
getChar()=0ipe::DataSourcepure virtual
length() constipe::DataSourcevirtual
position() constipe::DataSourcevirtual
setPosition(int pos)ipe::DataSourcevirtual
~DataSource()=0ipe::DataSourcepure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_deflate_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_deflate_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_deflate_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_deflate_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,279 +0,0 @@ - - - - - - - -Ipelib: ipe::DeflateStream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::DeflateStream Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::Stream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 DeflateStream (Stream &stream, int level)
 
virtual ~DeflateStream ()
 
virtual void putChar (char ch)
 
virtual void close ()
 
- Public Member Functions inherited from ipe::Stream
virtual ~Stream ()
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
- - - -

-Static Public Member Functions

static Buffer deflate (const char *data, int size, int &deflatedSize, int compressLevel)
 
-

Detailed Description

-

Filter stream adding flate compression.

-

Constructor & Destructor Documentation

- -

◆ DeflateStream()

- -
-
- - - - - - - - - - - - - - - - - - -
DeflateStream::DeflateStream (Streamstream,
int level 
)
-
- -
-
- -

◆ ~DeflateStream()

- -
-
- - - - - -
- - - - - - - -
DeflateStream::~DeflateStream ()
-
-virtual
-
- -
-
-

Member Function Documentation

- -

◆ putChar()

- -
-
- - - - - -
- - - - - - - - -
void DeflateStream::putChar (char ch)
-
-virtual
-
- -

Output character.

- -

Implements ipe::Stream.

- -

References ipe::Buffer::data(), deflate(), ipe::Stream::putRaw(), and ipe::Buffer::size().

- -
-
- -

◆ close()

- -
-
- - - - - -
- - - - - - - -
void DeflateStream::close ()
-
-virtual
-
- -

Close the stream. No more writing allowed!

- -

Reimplemented from ipe::Stream.

- -

References ipe::Stream::close(), ipe::Buffer::data(), deflate(), ipe::Stream::putRaw(), and ipe::Buffer::size().

- -

Referenced by ipe::PdfWriter::createPageView(), and ipe::Document::save().

- -
-
- -

◆ deflate()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Buffer DeflateStream::deflate (const char * data,
int size,
int & deflatedSize,
int compressLevel 
)
-
-static
-
- -

Deflate a buffer in a single run.

-

The returned buffer may be larger than necessary: deflatedSize is set to the number of bytes actually used.

- -

References ipe::Buffer::data().

- -

Referenced by close(), ipe::Bitmap::embed(), putChar(), and ipe::PdfWriter::~PdfWriter().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_deflate_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_deflate_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_deflate_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_deflate_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::DeflateStream Member List
-
-
- -

This is the complete list of members for ipe::DeflateStream, including all inherited members.

- - - - - - - - - - - - - - - - - -
close()ipe::DeflateStreamvirtual
deflate(const char *data, int size, int &deflatedSize, int compressLevel)ipe::DeflateStreamstatic
DeflateStream(Stream &stream, int level)ipe::DeflateStream
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)ipe::DeflateStreamvirtual
putCString(const char *s)ipe::Streamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::Streamvirtual
putString(String s)ipe::Streamvirtual
putXmlString(String s)ipe::Stream
~DeflateStream()ipe::DeflateStreamvirtual
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_document.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_document.html --- ipe-7.2.20/build/doc/classipe_1_1_document.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_document.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1224 +0,0 @@ - - - - - - - -Ipelib: ipe::Document Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Types | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Document Class Reference
-
-
- -

#include <ipedoc.h>

- - - - -

-Classes

struct  SProperties
 
- - - - - -

-Public Types

enum  LoadErrors { EVersionTooOld = -1, -EVersionTooRecent = -2, -EFileOpenError = -3, -ENotAnIpeFile = -4 - }
 
enum  {
-  ErrNone, -ErrNoText, -ErrNoDir, -ErrWritingSource, -
-  ErrRunLatex, -ErrLatex, -ErrLatexOutput -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Document ()
 
 Document (const Document &rhs)
 
Documentoperator= (const Document &rhs)=delete
 
 ~Document ()
 
bool save (TellStream &stream, FileFormat format, uint32_t flags) const
 
bool save (const char *fname, FileFormat format, uint32_t flags) const
 
bool exportPages (const char *fname, uint32_t flags, int fromPage, int toPage) const
 
bool exportView (const char *fname, FileFormat format, uint32_t flags, int pno, int vno) const
 
void saveAsXml (Stream &stream, bool usePdfBitmaps=false) const
 
int countPages () const
 
int countTotalViews () const
 
const Pagepage (int no) const
 
Pagepage (int no)
 
int findPage (String nameOrNumber) const
 
Pageset (int no, Page *page)
 
void insert (int no, Page *page)
 
void push_back (Page *page)
 
Pageremove (int no)
 
SProperties properties () const
 
void setProperties (const SProperties &info)
 
Cascadecascade ()
 
const Cascadecascade () const
 
CascadereplaceCascade (Cascade *cascade)
 
void setResources (PdfResources *resources)
 
const PdfResourcesresources () const noexcept
 
void findBitmaps (BitmapFinder &bm) const
 
bool checkStyle (AttributeSeq &seq) const
 
int runLatex (String docname, String &logFile)
 
int runLatex (String docname)
 
- - - - - - - - - - - -

-Static Public Member Functions

static FileFormat fileFormat (DataSource &source)
 
static FileFormat formatFromFilename (String fn)
 
static Documentload (DataSource &source, FileFormat format, int &reason)
 
static Documentload (const char *fname, int &reason)
 
static DocumentloadWithErrorReport (const char *fname)
 
-

Detailed Description

-

The model for an Ipe document.

-

The Document class represents the contents of an Ipe document, and all the methods necessary to load, save, and modify it.

-

Member Enumeration Documentation

- -

◆ LoadErrors

- -
-
- - - - -
enum ipe::Document::LoadErrors
-
- -

Errors that can happen while loading documents.

- - - - - -
Enumerator
EVersionTooOld 

The version of the file is too old.

-
EVersionTooRecent 

The file version is newer than this Ipelib.

-
EFileOpenError 

Error opening the file.

-
ENotAnIpeFile 

The file was not created by Ipe.

-
- -
-
- -

◆ anonymous enum

- -
-
- - - - -
anonymous enum
-
- -

Error codes returned by RunLatex.

- - - - - - - - -
Enumerator
ErrNone 
ErrNoText 
ErrNoDir 
ErrWritingSource 
ErrRunLatex 
ErrLatex 
ErrLatexOutput 
- -
-
-

Constructor & Destructor Documentation

- -

◆ Document() [1/2]

- -
-
- - - - - - - -
Document::Document ()
-
- -

Construct an empty document for filling by a client.

-

As constructed, it has no pages, A4 media, and only the standard style sheet.

- -

References ipe::Cascade::insert(), and ipe::StyleSheet::standard().

- -

Referenced by formatFromFilename().

- -
-
- -

◆ Document() [2/2]

- -
-
- - - - - - - - -
Document::Document (const Documentrhs)
-
- -

Copy constructor.

- -

References countPages(), ipe::DataSource::getChar(), and page().

- -
-
- -

◆ ~Document()

- -
-
- - - - - - - -
Document::~Document ()
-
- -

Destructor.

- -

References countPages(), and page().

- -
-
-

Member Function Documentation

- -

◆ operator=()

- -
-
- - - - - -
- - - - - - - - -
Document& ipe::Document::operator= (const Documentrhs)
-
-delete
-
- -
-
- -

◆ fileFormat()

- -
-
- - - - - -
- - - - - - - - -
FileFormat Document::fileFormat (DataSourcesource)
-
-static
-
- -

Determine format of file in source.

- -

References ipe::Pdf, ipe::String::substr(), ipe::Unknown, and ipe::Xml.

- -

Referenced by load().

- -
-
- -

◆ formatFromFilename()

- -
-
- - - - - -
- - - - - - - - -
FileFormat Document::formatFromFilename (String fn)
-
-static
-
-
- -

◆ load() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Document * Document::load (DataSourcesource,
FileFormat format,
int & reason 
)
-
-static
-
- -

Construct a document from an input stream.

-

Returns 0 if the stream couldn't be parsed, and a reason explaining that in reason. If reason is positive, it is a file (stream) offset where parsing failed. If reason is negative, it is an error code, see Document::LoadErrors.

- -

References ENotAnIpeFile, ipe::Pdf, and ipe::Xml.

- -

Referenced by load(), and loadWithErrorReport().

- -
-
- -

◆ load() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Document * Document::load (const char * fname,
int & reason 
)
-
-static
-
-
- -

◆ loadWithErrorReport()

- -
-
- - - - - -
- - - - - - - - -
Document * Document::loadWithErrorReport (const char * fname)
-
-static
-
-
- -

◆ save() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool Document::save (TellStreamstream,
FileFormat format,
uint32_t flags 
) const
-
-
- -

◆ save() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool Document::save (const char * fname,
FileFormat format,
uint32_t flags 
) const
-
- -

References ipe::Platform::fopen(), and save().

- -
-
- -

◆ exportPages()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Document::exportPages (const char * fname,
uint32_t flags,
int fromPage,
int toPage 
) const
-
-
- -

◆ exportView()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Document::exportView (const char * fname,
FileFormat format,
uint32_t flags,
int pno,
int vno 
) const
-
-
- -

◆ saveAsXml()

- -
-
- - - - - - - - - - - - - - - - - - -
void Document::saveAsXml (Streamstream,
bool usePdfBitmaps = false 
) const
-
-
- -

◆ countPages()

- -
-
- - - - - -
- - - - - - - -
int ipe::Document::countPages () const
-
-inline
-
- -

Return number of pages of document.

- -

Referenced by checkStyle(), countTotalViews(), Document(), ipe::PageSelector::fill(), findBitmaps(), findPage(), runLatex(), saveAsXml(), and ~Document().

- -
-
- -

◆ countTotalViews()

- -
-
- - - - - - - -
int Document::countTotalViews () const
-
- -

Return total number of views in all pages.

- -

References countPages(), ipe::Page::countViews(), and page().

- -
-
- -

◆ page() [1/2]

- -
-
- - - - - -
- - - - - - - - -
const Page* ipe::Document::page (int no) const
-
-inline
-
- -

Return page (const version).

-

The first page is no 0.

- -

Referenced by checkStyle(), countTotalViews(), Document(), ipe::PageSelector::fill(), findBitmaps(), findPage(), insert(), runLatex(), saveAsXml(), set(), and ~Document().

- -
-
- -

◆ page() [2/2]

- -
-
- - - - - -
- - - - - - - - -
Page* ipe::Document::page (int no)
-
-inline
-
- -

Return page.

-

The first page is no 0.

- -
-
- -

◆ findPage()

- -
-
- - - - - - - - -
int Document::findPage (String s) const
-
- -

Return page index given a section title or page number.

-

Input page numbers are 1-based strings. Returns -1 if page not found.

- -

References countPages(), ipe::String::empty(), ipe::Lex::getInt(), page(), and ipe::Page::section().

- -
-
- -

◆ set()

- -
-
- - - - - - - - - - - - - - - - - - -
Page * Document::set (int no,
Pagepage 
)
-
- -

Replace page.

-

Returns the original page.

- -

References page().

- -
-
- -

◆ insert()

- -
-
- - - - - - - - - - - - - - - - - - -
void Document::insert (int no,
Pagepage 
)
-
- -

Insert a new page.

-

The page is inserted at index no.

- -

References page().

- -
-
- -

◆ push_back()

- -
-
- - - - - - - - -
void Document::push_back (Pagepage)
-
- -

Append a new page.

- -

Referenced by ipe::ImlParser::parseDocument().

- -
-
- -

◆ remove()

- -
-
- - - - - - - - -
Page * Document::remove (int no)
-
- -

Remove a page.

-

Returns the page that has been removed.

- -
-
- -

◆ properties()

- -
-
- - - - - -
- - - - - - - -
SProperties ipe::Document::properties () const
-
-inline
-
- -

Return document properties.

- -

Referenced by ipe::ImlParser::parseDocument(), and runLatex().

- -
-
- -

◆ setProperties()

- -
-
- - - - - - - - -
void Document::setProperties (const SPropertiesinfo)
-
- -

Set document properties.

- -

Referenced by ipe::ImlParser::parseDocument().

- -
-
- -

◆ cascade() [1/2]

- -
-
- - - - - -
- - - - - - - -
Cascade* ipe::Document::cascade ()
-
-inline
-
-
- -

◆ cascade() [2/2]

- -
-
- - - - - -
- - - - - - - -
const Cascade* ipe::Document::cascade () const
-
-inline
-
- -

Return stylesheet cascade (const version).

- -
-
- -

◆ replaceCascade()

- -
-
- - - - - - - - -
Cascade * Document::replaceCascade (Cascadesheets)
-
- -

Replace the entire style sheet cascade.

-

Takes ownership of cascade, and returns the original cascade.

- -
-
- -

◆ setResources()

- -
-
- - - - - - - - -
void Document::setResources (PdfResourcesresources)
-
- -

Update the PDF resources (after running latex).

-

Takes ownership.

- -

References resources().

- -

Referenced by runLatex().

- -
-
- -

◆ resources()

- -
-
- - - - - -
- - - - - - - -
const PdfResources* ipe::Document::resources () const
-
-inlinenoexcept
-
- -

Return the current PDF resources.

- -

Referenced by setResources().

- -
-
- -

◆ findBitmaps()

- -
-
- - - - - - - - -
void Document::findBitmaps (BitmapFinderbm) const
-
- -

Create a list of all bitmaps in the document.

- -

References ipe::Object::accept(), countPages(), ipe::ESymbol, ipe::BitmapFinder::iBitmaps, ipe::Symbol::iObject, page(), and ipe::BitmapFinder::scanPage().

- -

Referenced by saveAsXml().

- -
-
- -

◆ checkStyle()

- -
-
- - - - - - - - -
bool Document::checkStyle (AttributeSeqseq) const
-
- -

Check all symbolic attributes in the document.

-

This function verifies that all symbolic attributes in the document are defined in the style sheet. It appends to seq all symbolic attributes (in no particular order, but without duplicates) that are NOT defined.

-

Returns true if there are no undefined symbolic attributes in the document.

- -

References cascade(), ipe::Object::checkStyle(), ipe::Page::count(), countPages(), ipe::Page::object(), and page().

- -
-
- -

◆ runLatex() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
int Document::runLatex (String docname,
StringlogFile 
)
-
-
- -

◆ runLatex() [2/2]

- -
-
- - - - - - - - -
int Document::runLatex (String docname)
-
- -

Run Pdflatex (suitable for console applications)

-

Success/error is reported on stderr.

- -

References ErrLatex, ErrLatexOutput, ErrNoDir, ErrNone, ErrNoText, ErrRunLatex, ErrWritingSource, and runLatex().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_document-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_document-members.html --- ipe-7.2.20/build/doc/classipe_1_1_document-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_document-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,99 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Document Member List
-
-
- -

This is the complete list of members for ipe::Document, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
cascade()ipe::Documentinline
cascade() constipe::Documentinline
checkStyle(AttributeSeq &seq) constipe::Document
countPages() constipe::Documentinline
countTotalViews() constipe::Document
Document()ipe::Document
Document(const Document &rhs)ipe::Document
EFileOpenError enum valueipe::Document
ENotAnIpeFile enum valueipe::Document
ErrLatex enum valueipe::Document
ErrLatexOutput enum valueipe::Document
ErrNoDir enum valueipe::Document
ErrNone enum valueipe::Document
ErrNoText enum valueipe::Document
ErrRunLatex enum valueipe::Document
ErrWritingSource enum valueipe::Document
EVersionTooOld enum valueipe::Document
EVersionTooRecent enum valueipe::Document
exportPages(const char *fname, uint32_t flags, int fromPage, int toPage) constipe::Document
exportView(const char *fname, FileFormat format, uint32_t flags, int pno, int vno) constipe::Document
fileFormat(DataSource &source)ipe::Documentstatic
findBitmaps(BitmapFinder &bm) constipe::Document
findPage(String nameOrNumber) constipe::Document
formatFromFilename(String fn)ipe::Documentstatic
insert(int no, Page *page)ipe::Document
load(DataSource &source, FileFormat format, int &reason)ipe::Documentstatic
load(const char *fname, int &reason)ipe::Documentstatic
LoadErrors enum nameipe::Document
loadWithErrorReport(const char *fname)ipe::Documentstatic
operator=(const Document &rhs)=deleteipe::Document
page(int no) constipe::Documentinline
page(int no)ipe::Documentinline
properties() constipe::Documentinline
push_back(Page *page)ipe::Document
remove(int no)ipe::Document
replaceCascade(Cascade *cascade)ipe::Document
resources() const noexceptipe::Documentinline
runLatex(String docname, String &logFile)ipe::Document
runLatex(String docname)ipe::Document
save(TellStream &stream, FileFormat format, uint32_t flags) constipe::Document
save(const char *fname, FileFormat format, uint32_t flags) constipe::Document
saveAsXml(Stream &stream, bool usePdfBitmaps=false) constipe::Document
set(int no, Page *page)ipe::Document
setProperties(const SProperties &info)ipe::Document
setResources(PdfResources *resources)ipe::Document
~Document()ipe::Document
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ellipse.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ellipse.html --- ipe-7.2.20/build/doc/classipe_1_1_ellipse.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ellipse.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,494 +0,0 @@ - - - - - - - -Ipelib: ipe::Ellipse Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Ellipse Class Reference
-
-
- -

#include <ipeshape.h>

- -

Inherits ipe::SubPath.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Ellipse (const Matrix &m)
 
virtual Type type () const
 
virtual const EllipseasEllipse () const
 
Matrix matrix () const
 
virtual void save (Stream &stream) const
 
virtual void draw (Painter &painter) const
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
- Public Member Functions inherited from ipe::SubPath
virtual ~SubPath ()=0
 
virtual bool closed () const
 
virtual const ClosedSplineasClosedSpline () const
 
virtual const CurveasCurve () const
 
- - - - -

-Additional Inherited Members

- Public Types inherited from ipe::SubPath
enum  Type { ECurve, -EEllipse, -EClosedSpline - }
 
-

Detailed Description

-

An ellipse subpath.

-

Constructor & Destructor Documentation

- -

◆ Ellipse()

- -
-
- - - - - - - - -
Ellipse::Ellipse (const Matrixm)
-
- -

Referenced by ipe::Shape::load(), and ipe::Shape::Shape().

- -
-
-

Member Function Documentation

- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
SubPath::Type Ellipse::type () const
-
-virtual
-
- -

Return type of this subpath.

- -

Implements ipe::SubPath.

- -

References ipe::SubPath::EEllipse.

- -

Referenced by ipe::Shape::load().

- -
-
- -

◆ asEllipse()

- -
-
- - - - - -
- - - - - - - -
const Ellipse * Ellipse::asEllipse () const
-
-virtual
-
- -

Return this object as an Ellipse, or nullptr if it's not an ellipse.

- -

Reimplemented from ipe::SubPath.

- -
-
- -

◆ matrix()

- -
-
- - - - - -
- - - - - - - -
Matrix ipe::Ellipse::matrix () const
-
-inline
-
- -

Return matrix that transforms unit circle to the ellipse.

- -

References ipe::CurveSegment::addToBBox(), ipe::CurveSegment::cp(), ipe::CurveSegment::distance(), ipe::CurveSegment::draw(), ipe::CurveSegment::snapBnd(), and ipe::CurveSegment::snapVtx().

- -

Referenced by save().

- -
-
- -

◆ save()

- -
-
- - - - - -
- - - - - - - - -
void Ellipse::save (Streamstream) const
-
-virtual
-
- -

Save subpath to XML stream.

- -

Implements ipe::SubPath.

- -

References matrix().

- -
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Ellipse::draw (Painterpainter) const
-
-virtual
-
- -

Draw subpath (does not call drawPath()).

- -

Implements ipe::SubPath.

- -

References ipe::Painter::drawArc().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Ellipse::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-virtual
-
- -

Add subpath to box.

- -

Implements ipe::SubPath.

- -

References ipe::Rect::addRect().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Ellipse::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-virtual
-
- -

Return distance from v to subpath transformed by m.

- -

Implements ipe::SubPath.

- -

References ipe::Arc::distance().

- -

Referenced by ipe::ClosedSpline::distance().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Ellipse::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound,
bool cp 
) const
-
-virtual
-
- -

snaps to center of ellipse.

- -

Implements ipe::SubPath.

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Ellipse::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Snap to boundary of subpath.

- -

Implements ipe::SubPath.

- -

References ipe::Arc::distance().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ellipse-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ellipse-members.html --- ipe-7.2.20/build/doc/classipe_1_1_ellipse-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ellipse-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,71 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Ellipse Member List
-
-
- -

This is the complete list of members for ipe::Ellipse, including all inherited members.

- - - - - - - - - - - - - - - - - - - -
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::Ellipsevirtual
asClosedSpline() constipe::SubPathvirtual
asCurve() constipe::SubPathvirtual
asEllipse() constipe::Ellipsevirtual
closed() constipe::SubPathvirtual
distance(const Vector &v, const Matrix &m, double bound) constipe::Ellipsevirtual
draw(Painter &painter) constipe::Ellipsevirtual
EClosedSpline enum valueipe::SubPath
ECurve enum valueipe::SubPath
EEllipse enum valueipe::SubPath
Ellipse(const Matrix &m)ipe::Ellipse
matrix() constipe::Ellipseinline
save(Stream &stream) constipe::Ellipsevirtual
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Ellipsevirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) constipe::Ellipsevirtual
type() constipe::Ellipsevirtual
Type enum nameipe::SubPath
~SubPath()=0ipe::SubPathpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_face.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_face.html --- ipe-7.2.20/build/doc/classipe_1_1_face.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_face.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,278 +0,0 @@ - - - - - - - -Ipelib: ipe::Face Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Face Class Reference
-
-
- -

#include <ipefonts.h>

- - - - - - - - - - - - - - - - -

-Public Member Functions

 Face (const PdfDict *d, const PdfResourceBase *resources) noexcept
 
 ~Face () noexcept
 
bool matches (const PdfDict *d) const noexcept
 
FontType type () const noexcept
 
int width (int ch) const noexcept
 
int glyphIndex (int ch) noexcept
 
cairo_font_face_t * cairoFont () noexcept
 
-

Detailed Description

-

A typeface (aka font), actually loaded (from a font file or PDF file).

-

Constructor & Destructor Documentation

- -

◆ Face()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Face::Face (const PdfDictd,
const PdfResourceBaseresources 
)
-
-noexcept
-
-
- -

◆ ~Face()

- -
-
- - - - - -
- - - - - - - -
Face::~Face ()
-
-noexcept
-
- -
-
-

Member Function Documentation

- -

◆ matches()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Face::matches (const PdfDictd) const
-
-inlinenoexcept
-
- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
FontType ipe::Face::type () const
-
-inlinenoexcept
-
- -

Referenced by ipe::CairoPainter::executeStream().

- -
-
- -

◆ width()

- -
-
- - - - - -
- - - - - - - - -
int Face::width (int ch) const
-
-noexcept
-
- -

References ipe::size().

- -
-
- -

◆ glyphIndex()

- -
-
- - - - - -
- - - - - - - - -
int Face::glyphIndex (int ch)
-
-noexcept
-
-
- -

◆ cairoFont()

- -
-
- - - - - -
- - - - - - - -
cairo_font_face_t* ipe::Face::cairoFont ()
-
-inlinenoexcept
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_face-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_face-members.html --- ipe-7.2.20/build/doc/classipe_1_1_face-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_face-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Face Member List
-
-
- -

This is the complete list of members for ipe::Face, including all inherited members.

- - - - - - - - -
cairoFont() noexceptipe::Faceinline
Face(const PdfDict *d, const PdfResourceBase *resources) noexceptipe::Face
glyphIndex(int ch) noexceptipe::Face
matches(const PdfDict *d) const noexceptipe::Faceinline
type() const noexceptipe::Faceinline
width(int ch) const noexceptipe::Face
~Face() noexceptipe::Face
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_file_source.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_source.html --- ipe-7.2.20/build/doc/classipe_1_1_file_source.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,220 +0,0 @@ - - - - - - - -Ipelib: ipe::FileSource Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::FileSource Class Reference
-
-
- -

#include <ipebase.h>

- -

Inherits ipe::DataSource.

- - - - - - - - - - - - - - - -

-Public Member Functions

 FileSource (std::FILE *file)
 
virtual int getChar () override
 
virtual int length () const override
 
virtual void setPosition (int pos) override
 
virtual int position () const override
 
- Public Member Functions inherited from ipe::DataSource
virtual ~DataSource ()=0
 
-

Detailed Description

-

Data source for parsing from a file.

-

Constructor & Destructor Documentation

- -

◆ FileSource()

- -
-
- - - - - - - - -
FileSource::FileSource (std::FILE * file)
-
- -
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
int FileSource::getChar ()
-
-overridevirtual
-
- -

Get one more character, or EOF.

- -

Implements ipe::DataSource.

- -
-
- -

◆ length()

- -
-
- - - - - -
- - - - - - - -
int FileSource::length () const
-
-overridevirtual
-
- -

Return length of input stream in characters.

-

Returns -1 if the stream is not seekable. Calling this function will invalidate the current position.

- -

Reimplemented from ipe::DataSource.

- -
-
- -

◆ setPosition()

- -
-
- - - - - -
- - - - - - - - -
void FileSource::setPosition (int pos)
-
-overridevirtual
-
- -

Set position in stream.

-

Does nothing if the stream is not seekable.

- -

Reimplemented from ipe::DataSource.

- -
-
- -

◆ position()

- -
-
- - - - - -
- - - - - - - -
int FileSource::position () const
-
-overridevirtual
-
- -

Return position in stream.

-

Returns -1 if the stream is not seekable.

- -

Reimplemented from ipe::DataSource.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_file_source-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_source-members.html --- ipe-7.2.20/build/doc/classipe_1_1_file_source-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_source-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::FileSource Member List
-
-
- -

This is the complete list of members for ipe::FileSource, including all inherited members.

- - - - - - - -
FileSource(std::FILE *file)ipe::FileSource
getChar() overrideipe::FileSourcevirtual
length() const overrideipe::FileSourcevirtual
position() const overrideipe::FileSourcevirtual
setPosition(int pos) overrideipe::FileSourcevirtual
~DataSource()=0ipe::DataSourcepure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_file_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_file_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,288 +0,0 @@ - - - - - - - -Ipelib: ipe::FileStream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::FileStream Class Reference
-
-
- -

#include <ipebase.h>

- -

Inherits ipe::TellStream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 FileStream (std::FILE *file)
 
virtual void putChar (char ch)
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
virtual long tell () const
 
- Public Member Functions inherited from ipe::Stream
virtual ~Stream ()
 
virtual void close ()
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
-

Detailed Description

-

Stream writing into an open file.

-

Constructor & Destructor Documentation

- -

◆ FileStream()

- -
-
- - - - - - - - -
FileStream::FileStream (std::FILE * file)
-
- -

Constructor.

- -

Referenced by ipe::StringStream::tell().

- -
-
-

Member Function Documentation

- -

◆ putChar()

- -
-
- - - - - -
- - - - - - - - -
void FileStream::putChar (char ch)
-
-virtual
-
- -

Output character.

- -

Implements ipe::Stream.

- -
-
- -

◆ putString()

- -
-
- - - - - -
- - - - - - - - -
void FileStream::putString (String s)
-
-virtual
-
- -

Output string.

-

Default implementation uses PutChar.

- -

Reimplemented from ipe::Stream.

- -

References ipe::String::size().

- -
-
- -

◆ putCString()

- -
-
- - - - - -
- - - - - - - - -
void FileStream::putCString (const char * s)
-
-virtual
-
- -

Output C string.

-

Default implementation uses PutChar.

- -

Reimplemented from ipe::Stream.

- -
-
- -

◆ putRaw()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void FileStream::putRaw (const char * data,
int size 
)
-
-virtual
-
- -

Output raw character data.

-

Default implementation uses PutChar.

- -

Reimplemented from ipe::Stream.

- -

References ipe::String::size().

- -
-
- -

◆ tell()

- -
-
- - - - - -
- - - - - - - -
long FileStream::tell () const
-
-virtual
-
- -

Implements ipe::TellStream.

- -

References ipe::DataSource::~DataSource().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_file_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_file_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_file_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::FileStream Member List
-
-
- -

This is the complete list of members for ipe::FileStream, including all inherited members.

- - - - - - - - - - - - - - - - -
close()ipe::Streamvirtual
FileStream(std::FILE *file)ipe::FileStream
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)ipe::FileStreamvirtual
putCString(const char *s)ipe::FileStreamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::FileStreamvirtual
putString(String s)ipe::FileStreamvirtual
putXmlString(String s)ipe::Stream
tell() constipe::FileStreamvirtual
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_fixed.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fixed.html --- ipe-7.2.20/build/doc/classipe_1_1_fixed.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fixed.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,509 +0,0 @@ - - - - - - - -Ipelib: ipe::Fixed Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -Friends | -Related Functions | -List of all members
-
-
ipe::Fixed Class Reference
-
-
- -

#include <ipebase.h>

- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Fixed (int val)
 
 Fixed ()
 
int toInt () const
 
double toDouble () const
 
int internal () const
 
Fixed mult (int a, int b) const
 
bool operator== (const Fixed &rhs) const
 
bool operator!= (const Fixed &rhs) const
 
bool operator< (const Fixed &rhs) const
 
bool isInteger () const
 
- - - - - -

-Static Public Member Functions

static Fixed fromInternal (int32_t val)
 
static Fixed fromDouble (double val)
 
- - - -

-Friends

Streamoperator<< (Stream &stream, const Fixed &f)
 
- - - - -

-Related Functions

(Note that these are not member functions.)

-
Streamoperator<< (Stream &stream, const Fixed &f)
 
-

Detailed Description

-

Fixed point number with three (decimal) fractional digits.

-

Constructor & Destructor Documentation

- -

◆ Fixed() [1/2]

- -
-
- - - - - -
- - - - - - - - -
ipe::Fixed::Fixed (int val)
-
-inlineexplicit
-
- -
-
- -

◆ Fixed() [2/2]

- -
-
- - - - - -
- - - - - - - -
ipe::Fixed::Fixed ()
-
-inlineexplicit
-
- -
-
-

Member Function Documentation

- -

◆ fromInternal()

- -
-
- - - - - -
- - - - - - - - -
Fixed ipe::Fixed::fromInternal (int32_t val)
-
-inlinestatic
-
-
- -

◆ fromDouble()

- -
-
- - - - - -
- - - - - - - - -
Fixed Fixed::fromDouble (double val)
-
-static
-
- -

References fromInternal().

- -

Referenced by ipe::Text::getAttribute().

- -
-
- -

◆ toInt()

- -
-
- - - - - -
- - - - - - - -
int ipe::Fixed::toInt () const
-
-inline
-
- -
-
- -

◆ toDouble()

- -
-
- - - - - -
- - - - - - - -
double ipe::Fixed::toDouble () const
-
-inline
-
-
- -

◆ internal()

- -
-
- - - - - -
- - - - - - - -
int ipe::Fixed::internal () const
-
-inline
-
-
- -

◆ mult()

- -
-
- - - - - - - - - - - - - - - - - - -
Fixed Fixed::mult (int a,
int b 
) const
-
- -

Return value times (a/b)

- -

Referenced by ipe::Latex::createLatexSource(), and ipe::String::unicode().

- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Fixed::operator== (const Fixedrhs) const
-
-inline
-
- -
-
- -

◆ operator!=()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Fixed::operator!= (const Fixedrhs) const
-
-inline
-
- -
-
- -

◆ operator<()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Fixed::operator< (const Fixedrhs) const
-
-inline
-
- -
-
- -

◆ isInteger()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Fixed::isInteger () const
-
-inline
-
- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
-

Friends And Related Function Documentation

- -

◆ operator<< [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream& operator<< (Streamstream,
const Fixedf 
)
-
-friend
-
- -
-
- -

◆ operator<<() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream & operator<< (Streamstream,
const Fixedf 
)
-
-related
-
- -

References ipe::Lex::Lex().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_fixed-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fixed-members.html --- ipe-7.2.20/build/doc/classipe_1_1_fixed-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fixed-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Fixed Member List
-
-
- -

This is the complete list of members for ipe::Fixed, including all inherited members.

- - - - - - - - - - - - - - - -
Fixed(int val)ipe::Fixedinlineexplicit
Fixed()ipe::Fixedinlineexplicit
fromDouble(double val)ipe::Fixedstatic
fromInternal(int32_t val)ipe::Fixedinlinestatic
internal() constipe::Fixedinline
isInteger() constipe::Fixedinline
mult(int a, int b) constipe::Fixed
operator!=(const Fixed &rhs) constipe::Fixedinline
operator<(const Fixed &rhs) constipe::Fixedinline
operator<<(Stream &stream, const Fixed &f)ipe::Fixedfriend
operator<<(Stream &stream, const Fixed &f)ipe::Fixedrelated
operator==(const Fixed &rhs) constipe::Fixedinline
toDouble() constipe::Fixedinline
toInt() constipe::Fixedinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_fonts.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fonts.html --- ipe-7.2.20/build/doc/classipe_1_1_fonts.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fonts.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,232 +0,0 @@ - - - - - - - -Ipelib: ipe::Fonts Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Fonts Class Reference
-
-
- -

#include <ipefonts.h>

- - - - - - - - - - -

-Public Member Functions

 Fonts (const PdfResourceBase *resources)
 
FacegetFace (const PdfDict *d)
 
const PdfResourceBaseresources () const noexcept
 
bool hasType3Font () const noexcept
 
- - - - - -

-Static Public Member Functions

static cairo_font_face_t * screenFont ()
 
static String freetypeVersion ()
 
-

Detailed Description

-

Provides the fonts used to render text.

-

Constructor & Destructor Documentation

- -

◆ Fonts()

- -
-
- - - - - - - - -
Fonts::Fonts (const PdfResourceBaseresources)
-
- -
-
-

Member Function Documentation

- -

◆ getFace()

- -
-
- - - - - - - - -
Face * Fonts::getFace (const PdfDictd)
-
- -

Get a typeface.

-

Corresponds to a Freetype "face", or a PDF font resource. A Face can be loaded at various sizes (transformations), resulting in individual FaceSize's.

- -

Referenced by ipe::CairoPainter::executeStream().

- -
-
- -

◆ screenFont()

- -
-
- - - - - -
- - - - - - - -
cairo_font_face_t * Fonts::screenFont ()
-
-static
-
- -

Return a Cairo font to render to the screen w/o Latex font.

- -

Referenced by ipe::CairoPainter::doDrawText().

- -
-
- -

◆ freetypeVersion()

- -
-
- - - - - -
- - - - - - - -
String Fonts::freetypeVersion ()
-
-static
-
- -
-
- -

◆ resources()

- -
-
- - - - - -
- - - - - - - -
const PdfResourceBase* ipe::Fonts::resources () const
-
-inlinenoexcept
-
- -

Referenced by ipe::CairoPainter::executeStream().

- -
-
- -

◆ hasType3Font()

- -
-
- - - - - -
- - - - - - - -
bool Fonts::hasType3Font () const
-
-noexcept
-
- -

References ipe::Type3.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_fonts-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fonts-members.html --- ipe-7.2.20/build/doc/classipe_1_1_fonts-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_fonts-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Fonts Member List
-
-
- -

This is the complete list of members for ipe::Fonts, including all inherited members.

- - - - - - - -
Fonts(const PdfResourceBase *resources)ipe::Fonts
freetypeVersion()ipe::Fontsstatic
getFace(const PdfDict *d)ipe::Fonts
hasType3Font() const noexceptipe::Fonts
resources() const noexceptipe::Fontsinline
screenFont()ipe::Fontsstatic
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_group.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_group.html --- ipe-7.2.20/build/doc/classipe_1_1_group.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_group.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1285 +0,0 @@ - - - - - - - -Ipelib: ipe::Group Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Types | -Public Member Functions | -List of all members
-
-
ipe::Group Class Reference
-
-
- -

#include <ipegroup.h>

- -

Inherits ipe::Object.

- - - - - - - -

-Public Types

typedef List::const_iterator const_iterator
 
- Public Types inherited from ipe::Object
enum  Type {
-  EGroup, -EPath, -EText, -EImage, -
-  EReference -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Group ()
 
 Group (const Group &rhs)
 
virtual ~Group ()
 
 Group (const XmlAttributes &attr)
 
Groupoperator= (const Group &rhs)
 
virtual Objectclone () const
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual Type type () const
 
virtual TPinned pinned () const
 
virtual void accept (Visitor &visitor) const
 
virtual void saveAsXml (Stream &stream, String layer) const
 
virtual void draw (Painter &painter) const
 
virtual void drawSimple (Painter &painter) const
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapCtl (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
const Shapeclip () const
 
void setClip (const Shape &clip)
 
String url () const
 
void setUrl (String url)
 
int count () const
 
const Objectobject (int i) const
 
const_iterator begin () const
 
const_iterator end () const
 
void push_back (Object *)
 
void saveComponentsAsXml (Stream &stream) const
 
virtual void checkStyle (const Cascade *sheet, AttributeSeq &seq) const
 
virtual Attribute getAttribute (Property prop) const noexcept
 
virtual bool setAttribute (Property prop, Attribute value)
 
- Public Member Functions inherited from ipe::Object
virtual ~Object ()=0
 
virtual TextasText ()
 
virtual PathasPath ()
 
virtual ImageasImage ()
 
virtual ReferenceasReference ()
 
void setPinned (TPinned pin)
 
TTransformations transformations () const
 
void setTransformations (TTransformations trans)
 
virtual void setMatrix (const Matrix &matrix)
 
const Matrixmatrix () const
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::Object
 Object ()
 
 Object (const AllAttributes &attr)
 
 Object (const Object &rhs)
 
 Object (const XmlAttributes &attr)
 
void saveAttributesAsXml (Stream &stream, String layer) const
 
- Static Protected Member Functions inherited from ipe::Object
static void checkSymbol (Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)
 
- Protected Attributes inherited from ipe::Object
Matrix iMatrix
 
TPinned iPinned: 8
 
TTransformations iTransformations: 8
 
-

Detailed Description

-

The group object.

-

Ipe objects can be grouped together, and the resulting composite can be used like any Ipe object.

-

This is an application of the "Composite" pattern.

-

Member Typedef Documentation

- -

◆ const_iterator

- -
-
- - - - -
typedef List::const_iterator ipe::Group::const_iterator
-
- -
-
-

Constructor & Destructor Documentation

- -

◆ Group() [1/3]

- -
-
- - - - - -
- - - - - - - -
Group::Group ()
-
-explicit
-
- -

Create empty group (objects can be added later).

- -

Referenced by clone().

- -
-
- -

◆ Group() [2/3]

- -
-
- - - - - - - - -
Group::Group (const Grouprhs)
-
- -

Copy constructor. Constant time — components are not copied!

- -
-
- -

◆ ~Group()

- -
-
- - - - - -
- - - - - - - -
Group::~Group ()
-
-virtual
-
- -

Destructor.

- -
-
- -

◆ Group() [3/3]

- -
-
- - - - - -
- - - - - - - - -
Group::Group (const XmlAttributesattr)
-
-explicit
-
- -

Create empty group with these attributes (objects can be added later).

- -

References clip(), ipe::Shape::countSubPaths(), ipe::ENoPin, ipe::XmlAttributes::has(), ipe::Shape::load(), and ipe::Attribute::NORMAL().

- -
-
-

Member Function Documentation

- -

◆ operator=()

- -
-
- - - - - - - - -
Group & Group::operator= (const Grouprhs)
-
- -

Assignment operator (constant-time).

- -
-
- -

◆ clone()

- -
-
- - - - - -
- - - - - - - -
Object * Group::clone () const
-
-virtual
-
- -

Clone a group object (constant-time).

- -

Implements ipe::Object.

- -

References Group().

- -
-
- -

◆ asGroup() [1/2]

- -
-
- - - - - -
- - - - - - - -
Group * Group::asGroup ()
-
-virtual
-
- -

Return pointer to this object.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ asGroup() [2/2]

- -
-
- - - - - -
- - - - - - - -
const Group * Group::asGroup () const
-
-virtual
-
- -

Return pointer to this object.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
Object::Type Group::type () const
-
-virtual
-
- -

Implements ipe::Object.

- -

References ipe::Object::EGroup.

- -
-
- -

◆ pinned()

- -
-
- - - - - -
- - - - - - - -
TPinned Group::pinned () const
-
-virtual
-
- -

Return total pinning status of group and its elements.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::pinned().

- -
-
- -

◆ accept()

- -
-
- - - - - -
- - - - - - - - -
void Group::accept (Visitorvisitor) const
-
-virtual
-
- -

Call visitGroup of visitor.

- -

Implements ipe::Object.

- -

References ipe::Visitor::visitGroup().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Group::saveAsXml (Streamstream,
String layer 
) const
-
-virtual
-
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Group::draw (Painterpainter) const
-
-virtual
-
-
- -

◆ drawSimple()

- -
-
- - - - - -
- - - - - - - - -
void Group::drawSimple (Painterpainter) const
-
-virtual
-
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Group::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-virtual
-
- -

Extend box to include the object transformed by m.

-

For objects in a page, don't call this directly. The Page caches the bounding box of each object, so it is far more efficient to call Page::bbox.

-

Control points that lie outside the visual object are included if cp is true.

-

If called with an empty box and cp == false, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).

- -

Implements ipe::Object.

- -

References ipe::Rect::addRect(), begin(), ipe::Rect::clipTo(), end(), and ipe::Object::matrix().

- -

Referenced by draw().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Group::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-virtual
-
-

Return distance of transformed object to point v. If larger than bound, can just return bound.

- -

Implements ipe::Object.

- -

References begin(), end(), and ipe::Object::matrix().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Group::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute vertex snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References begin(), end(), and ipe::Object::matrix().

- -
-
- -

◆ snapCtl()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Group::snapCtl (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute control point snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References begin(), end(), and ipe::Object::matrix().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Group::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute boundary snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References begin(), end(), and ipe::Object::matrix().

- -
-
- -

◆ clip()

- -
-
- - - - - -
- - - - - - - -
const Shape& ipe::Group::clip () const
-
-inline
-
- -

References setClip().

- -

Referenced by Group(), and setClip().

- -
-
- -

◆ setClip()

- -
-
- - - - - - - - -
void Group::setClip (const Shapeclip)
-
- -

Set clip path for this group.

-

Any previously set clip path is deleted.

- -

References clip().

- -

Referenced by clip().

- -
-
- -

◆ url()

- -
-
- - - - - -
- - - - - - - -
String ipe::Group::url () const
-
-inline
-
- -

References setUrl().

- -

Referenced by ipe::PdfWriter::createPageView(), and setUrl().

- -
-
- -

◆ setUrl()

- -
-
- - - - - - - - -
void Group::setUrl (String url)
-
- -

Set link destination to use this group as a hyperlink.

- -

References url().

- -

Referenced by url().

- -
-
- -

◆ count()

- -
-
- - - - - -
- - - - - - - -
int ipe::Group::count () const
-
-inline
-
- -

Return number of component objects.

- -
-
- -

◆ object()

- -
-
- - - - - -
- - - - - - - - -
const Object* ipe::Group::object (int i) const
-
-inline
-
- -

Return object at index i.

- -
-
- -

◆ begin()

- -
-
- - - - - -
- - - - - - - -
const_iterator ipe::Group::begin () const
-
-inline
-
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
const_iterator ipe::Group::end () const
-
-inline
-
-
- -

◆ push_back()

- -
-
- - - - - - - - -
void Group::push_back (Objectobj)
-
- -

Add an object.

-

Takes ownership of the object. This will panic if the object shares its implementation! The method is only useful right after construction of the group.

- -

References ipe::Object::pinned().

- -

Referenced by end(), and ipe::ImlParser::parseObject().

- -
-
- -

◆ saveComponentsAsXml()

- -
-
- - - - - - - - -
void Group::saveComponentsAsXml (Streamstream) const
-
- -

Save all the components, one by one, in XML format.

- -

References begin(), and end().

- -

Referenced by end(), and saveAsXml().

- -
-
- -

◆ checkStyle()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Group::checkStyle (const Cascadesheet,
AttributeSeqseq 
) const
-
-virtual
-
- -

Check all symbolic attributes.

- -

Reimplemented from ipe::Object.

- -

References begin(), and end().

- -

Referenced by end().

- -
-
- -

◆ getAttribute()

- -
-
- - - - - -
- - - - - - - - -
Attribute Group::getAttribute (Property prop) const
-
-virtualnoexcept
-
- -

Get setting of an attribute of this object.

-

If object does not have this attribute, returnes "undefined" attribute.

- -

Reimplemented from ipe::Object.

- -

References ipe::EPropDecoration, and ipe::Object::getAttribute().

- -

Referenced by end().

- -
-
- -

◆ setAttribute()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Group::setAttribute (Property prop,
Attribute value 
)
-
-virtual
-
- -

Set attribute on all children.

- -

Reimplemented from ipe::Object.

- -

References ipe::EPropDecoration, ipe::EPropPinned, ipe::EPropTransformations, and ipe::Object::setAttribute().

- -

Referenced by end().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_group-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_group-members.html --- ipe-7.2.20/build/doc/classipe_1_1_group-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_group-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,111 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Group Member List
-
-
- -

This is the complete list of members for ipe::Group, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept(Visitor &visitor) constipe::Groupvirtual
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::Groupvirtual
asGroup()ipe::Groupvirtual
asGroup() constipe::Groupvirtual
asImage()ipe::Objectvirtual
asPath()ipe::Objectvirtual
asReference()ipe::Objectvirtual
asText()ipe::Objectvirtual
begin() constipe::Groupinline
checkStyle(const Cascade *sheet, AttributeSeq &seq) constipe::Groupvirtual
checkSymbol(Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)ipe::Objectprotectedstatic
clip() constipe::Groupinline
clone() constipe::Groupvirtual
const_iterator typedefipe::Group
count() constipe::Groupinline
distance(const Vector &v, const Matrix &m, double bound) constipe::Groupvirtual
draw(Painter &painter) constipe::Groupvirtual
drawSimple(Painter &painter) constipe::Groupvirtual
EGroup enum valueipe::Object
EImage enum valueipe::Object
end() constipe::Groupinline
EPath enum valueipe::Object
EReference enum valueipe::Object
EText enum valueipe::Object
getAttribute(Property prop) const noexceptipe::Groupvirtual
Group()ipe::Groupexplicit
Group(const Group &rhs)ipe::Group
Group(const XmlAttributes &attr)ipe::Groupexplicit
iMatrixipe::Objectprotected
iPinnedipe::Objectprotected
iTransformationsipe::Objectprotected
matrix() constipe::Objectinline
Object()ipe::Objectexplicitprotected
Object(const AllAttributes &attr)ipe::Objectexplicitprotected
Object(const Object &rhs)ipe::Objectprotected
Object(const XmlAttributes &attr)ipe::Objectexplicitprotected
object(int i) constipe::Groupinline
operator=(const Group &rhs)ipe::Group
pinned() constipe::Groupvirtual
push_back(Object *)ipe::Group
saveAsXml(Stream &stream, String layer) constipe::Groupvirtual
saveAttributesAsXml(Stream &stream, String layer) constipe::Objectprotected
saveComponentsAsXml(Stream &stream) constipe::Group
setAttribute(Property prop, Attribute value)ipe::Groupvirtual
setClip(const Shape &clip)ipe::Group
setMatrix(const Matrix &matrix)ipe::Objectvirtual
setPinned(TPinned pin)ipe::Object
setTransformations(TTransformations trans)ipe::Object
setUrl(String url)ipe::Group
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Groupvirtual
snapCtl(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Groupvirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Groupvirtual
transformations() constipe::Objectinline
Type enum nameipe::Object
type() constipe::Groupvirtual
url() constipe::Groupinline
~Group()ipe::Groupvirtual
~Object()=0ipe::Objectpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_image.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_image.html --- ipe-7.2.20/build/doc/classipe_1_1_image.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_image.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,857 +0,0 @@ - - - - - - - -Ipelib: ipe::Image Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Image Class Reference
-
-
- -

#include <ipeimage.h>

- -

Inherits ipe::Object.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Image (const Rect &rect, Bitmap bitmap)
 
 Image (const XmlAttributes &attr, String data)
 
 Image (const XmlAttributes &attr, Bitmap bitmap)
 
virtual Objectclone () const override
 
virtual ImageasImage () override
 
virtual Type type () const override
 
virtual void saveAsXml (Stream &stream, String layer) const override
 
virtual void draw (Painter &painter) const override
 
virtual void drawSimple (Painter &painter) const override
 
virtual void accept (Visitor &visitor) const override
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const override
 
virtual void addToBBox (Rect &box, const Matrix &m, bool) const override
 
virtual void snapCtl (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const override
 
Rect rect () const
 
Bitmap bitmap () const
 
virtual bool setAttribute (Property prop, Attribute value) override
 
virtual Attribute getAttribute (Property prop) const noexcept override
 
void setOpacity (Attribute opaq)
 
Attribute opacity () const
 
- Public Member Functions inherited from ipe::Object
virtual ~Object ()=0
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual TextasText ()
 
virtual PathasPath ()
 
virtual ReferenceasReference ()
 
virtual TPinned pinned () const
 
void setPinned (TPinned pin)
 
TTransformations transformations () const
 
void setTransformations (TTransformations trans)
 
virtual void setMatrix (const Matrix &matrix)
 
const Matrixmatrix () const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void checkStyle (const Cascade *sheet, AttributeSeq &seq) const
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from ipe::Object
enum  Type {
-  EGroup, -EPath, -EText, -EImage, -
-  EReference -
- }
 
- Protected Member Functions inherited from ipe::Object
 Object ()
 
 Object (const AllAttributes &attr)
 
 Object (const Object &rhs)
 
 Object (const XmlAttributes &attr)
 
void saveAttributesAsXml (Stream &stream, String layer) const
 
- Static Protected Member Functions inherited from ipe::Object
static void checkSymbol (Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)
 
- Protected Attributes inherited from ipe::Object
Matrix iMatrix
 
TPinned iPinned: 8
 
TTransformations iTransformations: 8
 
-

Detailed Description

-

The image object.

-

Constructor & Destructor Documentation

- -

◆ Image() [1/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Image::Image (const Rectrect,
Bitmap bitmap 
)
-
-explicit
-
- -

Create a new image.

- -

Referenced by clone().

- -
-
- -

◆ Image() [2/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Image::Image (const XmlAttributesattr,
String data 
)
-
-explicit
-
- -

Create from XML stream.

- -
-
- -

◆ Image() [3/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Image::Image (const XmlAttributesattr,
Bitmap bitmap 
)
-
-explicit
-
- -

Create from XML stream with given bitmap.

- -

References ipe::Rect::addPoint(), ipe::XmlAttributes::has(), ipe::Attribute::OPAQUE(), ipe::Vector::x, and ipe::Vector::y.

- -
-
-

Member Function Documentation

- -

◆ clone()

- -
-
- - - - - -
- - - - - - - -
Object * Image::clone () const
-
-overridevirtual
-
- -

Clone object.

- -

Implements ipe::Object.

- -

References Image().

- -
-
- -

◆ asImage()

- -
-
- - - - - -
- - - - - - - -
Image * Image::asImage ()
-
-overridevirtual
-
- -

Return pointer to this object.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
Object::Type Image::type () const
-
-overridevirtual
-
- -

Implements ipe::Object.

- -

References ipe::Object::EImage.

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Image::saveAsXml (Streamstream,
String layer 
) const
-
-overridevirtual
-
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Image::draw (Painterpainter) const
-
-overridevirtual
-
-
- -

◆ drawSimple()

- -
-
- - - - - -
- - - - - - - - -
void Image::drawSimple (Painterpainter) const
-
-overridevirtual
-
-
- -

◆ accept()

- -
-
- - - - - -
- - - - - - - - -
void Image::accept (Visitorvisitor) const
-
-overridevirtual
-
- -

Call VisitImage of visitor.

- -

Implements ipe::Object.

- -

References ipe::Visitor::visitImage().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Image::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-overridevirtual
-
-

Return distance of transformed object to point v. If larger than bound, can just return bound.

- -

Implements ipe::Object.

- -

References ipe::Rect::addPoint(), ipe::Rect::bottomLeft(), ipe::Rect::bottomRight(), ipe::Rect::certainClearance(), ipe::Object::matrix(), ipe::Rect::topLeft(), and ipe::Rect::topRight().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Image::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-overridevirtual
-
- -

Extend box to include the object transformed by m.

-

For objects in a page, don't call this directly. The Page caches the bounding box of each object, so it is far more efficient to call Page::bbox.

-

Control points that lie outside the visual object are included if cp is true.

-

If called with an empty box and cp == false, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).

- -

Implements ipe::Object.

- -

References ipe::Rect::addPoint(), ipe::Rect::bottomLeft(), ipe::Rect::bottomRight(), ipe::Object::matrix(), ipe::Rect::topLeft(), and ipe::Rect::topRight().

- -
-
- -

◆ snapCtl()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Image::snapCtl (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-overridevirtual
-
- -

Compute control point snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References ipe::Rect::bottomLeft(), ipe::Rect::bottomRight(), ipe::Object::matrix(), ipe::Rect::topLeft(), and ipe::Rect::topRight().

- -
-
- -

◆ rect()

- -
-
- - - - - -
- - - - - - - -
Rect ipe::Image::rect () const
-
-inline
-
- -

Return the rectangle occupied by the image on the paper.

-

The transformation matrix is applied to this, of course.

- -

Referenced by saveAsXml().

- -
-
- -

◆ bitmap()

- -
-
- - - - - -
- - - - - - - -
Bitmap ipe::Image::bitmap () const
-
-inline
-
- -

Return Bitmap of the image.

- -

Referenced by ipe::BitmapFinder::visitImage().

- -
-
- -

◆ setAttribute()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Image::setAttribute (Property prop,
Attribute value 
)
-
-overridevirtual
-
- -

Set an attribute on this object.

-

Returns true if an attribute was actually changed.

- -

Reimplemented from ipe::Object.

- -

References ipe::EPropOpacity, opacity(), ipe::Object::setAttribute(), and setOpacity().

- -
-
- -

◆ getAttribute()

- -
-
- - - - - -
- - - - - - - - -
Attribute Image::getAttribute (Property prop) const
-
-overridevirtualnoexcept
-
- -

Get setting of an attribute of this object.

-

If object does not have this attribute, returnes "undefined" attribute.

- -

Reimplemented from ipe::Object.

- -

References ipe::EPropOpacity, ipe::Object::getAttribute(), and opacity().

- -
-
- -

◆ setOpacity()

- -
-
- - - - - - - - -
void Image::setOpacity (Attribute opaq)
-
- -

Set opacity of the object.

- -

Referenced by setAttribute().

- -
-
- -

◆ opacity()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Image::opacity () const
-
-inline
-
- -

Return opacity of the opject.

- -

Referenced by getAttribute(), and setAttribute().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_image-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_image-members.html --- ipe-7.2.20/build/doc/classipe_1_1_image-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_image-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,102 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Image Member List
-
-
- -

This is the complete list of members for ipe::Image, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept(Visitor &visitor) const overrideipe::Imagevirtual
addToBBox(Rect &box, const Matrix &m, bool) const overrideipe::Imagevirtual
asGroup()ipe::Objectvirtual
asGroup() constipe::Objectvirtual
asImage() overrideipe::Imagevirtual
asPath()ipe::Objectvirtual
asReference()ipe::Objectvirtual
asText()ipe::Objectvirtual
bitmap() constipe::Imageinline
checkStyle(const Cascade *sheet, AttributeSeq &seq) constipe::Objectvirtual
checkSymbol(Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)ipe::Objectprotectedstatic
clone() const overrideipe::Imagevirtual
distance(const Vector &v, const Matrix &m, double bound) const overrideipe::Imagevirtual
draw(Painter &painter) const overrideipe::Imagevirtual
drawSimple(Painter &painter) const overrideipe::Imagevirtual
EGroup enum valueipe::Object
EImage enum valueipe::Object
EPath enum valueipe::Object
EReference enum valueipe::Object
EText enum valueipe::Object
getAttribute(Property prop) const noexcept overrideipe::Imagevirtual
Image(const Rect &rect, Bitmap bitmap)ipe::Imageexplicit
Image(const XmlAttributes &attr, String data)ipe::Imageexplicit
Image(const XmlAttributes &attr, Bitmap bitmap)ipe::Imageexplicit
iMatrixipe::Objectprotected
iPinnedipe::Objectprotected
iTransformationsipe::Objectprotected
matrix() constipe::Objectinline
Object()ipe::Objectexplicitprotected
Object(const AllAttributes &attr)ipe::Objectexplicitprotected
Object(const Object &rhs)ipe::Objectprotected
Object(const XmlAttributes &attr)ipe::Objectexplicitprotected
opacity() constipe::Imageinline
pinned() constipe::Objectvirtual
rect() constipe::Imageinline
saveAsXml(Stream &stream, String layer) const overrideipe::Imagevirtual
saveAttributesAsXml(Stream &stream, String layer) constipe::Objectprotected
setAttribute(Property prop, Attribute value) overrideipe::Imagevirtual
setMatrix(const Matrix &matrix)ipe::Objectvirtual
setOpacity(Attribute opaq)ipe::Image
setPinned(TPinned pin)ipe::Object
setTransformations(TTransformations trans)ipe::Object
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
snapCtl(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const overrideipe::Imagevirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
transformations() constipe::Objectinline
type() const overrideipe::Imagevirtual
Type enum nameipe::Object
~Object()=0ipe::Objectpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_iml_parser.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_iml_parser.html --- ipe-7.2.20/build/doc/classipe_1_1_iml_parser.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_iml_parser.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,473 +0,0 @@ - - - - - - - -Ipelib: ipe::ImlParser Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -List of all members
-
-
ipe::ImlParser Class Reference
-
-
- -

#include <ipeiml.h>

- -

Inherits ipe::XmlParser.

- -

Inherited by PdfStreamParser.

- - - - -

-Public Types

enum  Errors { ESuccess = 0, -EVersionTooOld, -EVersionTooRecent, -ESyntaxError - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 ImlParser (DataSource &source)
 
int parseDocument (Document &doc)
 
bool parsePage (Page &page)
 
bool parseView (Page &page, AttributeMap &map)
 
ObjectparseObject (String tag, Page *page=nullptr, int *currentLayer=nullptr)
 
ObjectparseObject (String tag, String &layer)
 
StyleSheetparseStyleSheet ()
 
bool parseStyle (StyleSheet &sheet)
 
PageparsePageSelection ()
 
virtual Buffer pdfStream (int objNum)
 
bool parseBitmap ()
 
- Public Member Functions inherited from ipe::XmlParser
 XmlParser (DataSource &source)
 
virtual ~XmlParser ()
 
int parsePosition () const
 
String parseToTag ()
 
bool parseAttributes (XmlAttributes &attr, bool qm=false)
 
bool parsePCDATA (String tag, String &pcdata)
 
bool isTagChar (int ch)
 
void getChar ()
 
bool eos ()
 
void skipWhitespace ()
 
- - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::XmlParser
String parseToTagX ()
 
- Protected Attributes inherited from ipe::XmlParser
DataSourceiSource
 
String iTopElement
 
int iCh
 
int iPos
 
-

Detailed Description

-

XML Parser for Ipe documents and style sheets.

-

A recursive descent parser for the XML streams.

-

After experimenting with various XML parsing frameworks, this turned out to work best for Ipe.

-

Member Enumeration Documentation

- -

◆ Errors

- -
-
- - - - -
enum ipe::ImlParser::Errors
-
- - - - - -
Enumerator
ESuccess 
EVersionTooOld 
EVersionTooRecent 
ESyntaxError 
- -
-
-

Constructor & Destructor Documentation

- -

◆ ImlParser()

- -
-
- - - - - -
- - - - - - - - -
ImlParser::ImlParser (DataSourcesource)
-
-explicit
-
- -
-
-

Member Function Documentation

- -

◆ parseDocument()

- -
-
- - - - - - - - -
int ImlParser::parseDocument (Documentdoc)
-
-
- -

◆ parsePage()

- -
-
- - - - - - - - -
bool ImlParser::parsePage (Pagepage)
-
-
- -

◆ parseView()

- -
-
- - - - - - - - - - - - - - - - - - -
bool ImlParser::parseView (Pagepage,
AttributeMapmap 
)
-
-
- -

◆ parseObject() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Object * ImlParser::parseObject (String tag,
Pagepage = nullptr,
int * currentLayer = nullptr 
)
-
- -

parse an Object.

-

On calling, stream must be just past the tag.

- -

References ipe::Page::countLayers(), ipe::String::empty(), and ipe::Page::layer().

- -

Referenced by parseObject(), parsePage(), and parseStyle().

- -
-
- -

◆ parseObject() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - -
Object * ImlParser::parseObject (String tag,
Stringlayer 
)
-
-
- -

◆ parseStyleSheet()

- -
-
- - - - - - - -
StyleSheet * ImlParser::parseStyleSheet ()
-
- -

parse a complete style sheet.

-

On calling, stream must be before the 'ipestyle' tag. A <?xml> tag is allowed.

- -

References ipe::XmlParser::parseAttributes(), parseStyle(), and ipe::XmlParser::parseToTag().

- -

Referenced by ipe::StyleSheet::standard().

- -
-
- -

◆ parseStyle()

- -
-
- - - - - - - - -
bool ImlParser::parseStyle (StyleSheetsheet)
-
- -

Parse a style sheet.

-

On calling, stream must be just past the style tag.

- -

References ipe::StyleSheet::add(), ipe::StyleSheet::addEffect(), ipe::StyleSheet::addGradient(), ipe::StyleSheet::addSymbol(), ipe::StyleSheet::addTiling(), ipe::Attribute::BLACK(), ipe::Gradient::Stop::color, ipe::Angle::Degrees(), ipe::EAlignBaseline, ipe::EAlignLeft, ipe::EAngleSize, ipe::EArrowSize, ipe::Gradient::EAxial, ipe::EColor, ipe::EDashStyle, ipe::EEvenOddRule, ipe::EGridSize, ipe::Reference::EHasFill, ipe::Reference::EHasPen, ipe::Reference::EHasSize, ipe::Reference::EHasStroke, ipe::ELabelStyle, ipe::String::empty(), ipe::EOpacity, ipe::Lex::eos(), ipe::EPen, ipe::Gradient::ERadial, ipe::ESymbolSize, ipe::ETextSize, ipe::ETextStretch, ipe::ETextStyle, ipe::ETransformationsRigidMotions, ipe::ETransformationsTranslations, ipe::EWindRule, ipe::Reference::flagsFromName(), ipe::Lex::getDouble(), ipe::Lex::getInt(), ipe::XmlAttributes::has(), ipe::Tiling::iAngle, ipe::TextPadding::iBottom, ipe::StyleSheet::TitleStyle::iColor, ipe::StyleSheet::PageNumberStyle::iColor, ipe::Layout::iCrop, ipe::StyleSheet::TitleStyle::iDefined, ipe::StyleSheet::PageNumberStyle::iDefined, ipe::Effect::iDuration, ipe::Effect::iEffect, ipe::Gradient::iExtend, ipe::Layout::iFrameSize, ipe::StyleSheet::TitleStyle::iHorizontalAlignment, ipe::StyleSheet::PageNumberStyle::iHorizontalAlignment, ipe::TextPadding::iLeft, ipe::Gradient::iMatrix, ipe::Layout::iOrigin, ipe::Layout::iPaperSize, ipe::Layout::iParagraphSkip, ipe::StyleSheet::TitleStyle::iPos, ipe::StyleSheet::PageNumberStyle::iPos, ipe::Gradient::iRadius, ipe::TextPadding::iRight, ipe::Attribute::isColor(), ipe::Fixed::isInteger(), ipe::StyleSheet::TitleStyle::iSize, ipe::StyleSheet::PageNumberStyle::iSize, ipe::Symbol::iSnap, ipe::Attribute::isNumber(), ipe::Attribute::isSymbolic(), ipe::Tiling::iStep, ipe::Gradient::iStops, ipe::StyleSheet::PageNumberStyle::iText, ipe::TextPadding::iTop, ipe::Symbol::iTransformations, ipe::Effect::iTransitionTime, ipe::Gradient::iType, ipe::Gradient::iV, ipe::StyleSheet::TitleStyle::iVerticalAlignment, ipe::StyleSheet::PageNumberStyle::iVerticalAlignment, ipe::Tiling::iWidth, ipe::Symbol::iXForm, ipe::Attribute::makeColor(), ipe::Attribute::makeDashStyle(), ipe::Text::makeHAlign(), ipe::Attribute::makeScalar(), ipe::Attribute::makeTextSize(), ipe::Text::makeVAlign(), ipe::Attribute::NORMAL(), ipe::Attribute::number(), ipe::Gradient::Stop::offset, ipe::XmlParser::parseAttributes(), parseBitmap(), parseObject(), ipe::XmlParser::parsePCDATA(), ipe::XmlParser::parseToTag(), ipe::StyleSheet::setFillRule(), ipe::StyleSheet::setLayout(), ipe::StyleSheet::setLineCap(), ipe::StyleSheet::setLineJoin(), ipe::StyleSheet::setName(), ipe::StyleSheet::setPageNumberStyle(), ipe::StyleSheet::setPreamble(), ipe::StyleSheet::setTextPadding(), ipe::StyleSheet::setTitleStyle(), ipe::size(), ipe::Lex::skipWhitespace(), ipe::XmlAttributes::slash(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by parseDocument(), and parseStyleSheet().

- -
-
- -

◆ parsePageSelection()

- -
-
- - - - - - - -
Page * ImlParser::parsePageSelection ()
-
- -

parse an <ipepage> element (used on clipboard).

- -

References ipe::XmlParser::parseAttributes(), parseBitmap(), parsePage(), and ipe::XmlParser::parseToTag().

- -
-
- -

◆ pdfStream()

- -
-
- - - - - -
- - - - - - - - -
Buffer ImlParser::pdfStream (int objNum)
-
-virtual
-
- -

XML contents can refer to data in PDF.

-

If the XML stream is embedded in a PDF file, XML contents can refer to PDF objects. A derived parser must implement this method to access PDF data.

-

It is assumed that PDF object objNum is a stream. Its contents (uncompressed!) is returned in a buffer.

- -

Referenced by parseBitmap().

- -
-
- -

◆ parseBitmap()

- -
-
- - - - - - - -
bool ImlParser::parseBitmap ()
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_iml_parser-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_iml_parser-members.html --- ipe-7.2.20/build/doc/classipe_1_1_iml_parser-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_iml_parser-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,84 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::ImlParser Member List
-
-
- -

This is the complete list of members for ipe::ImlParser, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
eos()ipe::XmlParserinline
Errors enum nameipe::ImlParser
ESuccess enum valueipe::ImlParser
ESyntaxError enum valueipe::ImlParser
EVersionTooOld enum valueipe::ImlParser
EVersionTooRecent enum valueipe::ImlParser
getChar()ipe::XmlParserinline
iChipe::XmlParserprotected
ImlParser(DataSource &source)ipe::ImlParserexplicit
iPosipe::XmlParserprotected
iSourceipe::XmlParserprotected
isTagChar(int ch)ipe::XmlParserinline
iTopElementipe::XmlParserprotected
parseAttributes(XmlAttributes &attr, bool qm=false)ipe::XmlParser
parseBitmap()ipe::ImlParser
parseDocument(Document &doc)ipe::ImlParser
parseObject(String tag, Page *page=nullptr, int *currentLayer=nullptr)ipe::ImlParser
parseObject(String tag, String &layer)ipe::ImlParser
parsePage(Page &page)ipe::ImlParser
parsePageSelection()ipe::ImlParser
parsePCDATA(String tag, String &pcdata)ipe::XmlParser
parsePosition() constipe::XmlParserinline
parseStyle(StyleSheet &sheet)ipe::ImlParser
parseStyleSheet()ipe::ImlParser
parseToTag()ipe::XmlParser
parseToTagX()ipe::XmlParserprotected
parseView(Page &page, AttributeMap &map)ipe::ImlParser
pdfStream(int objNum)ipe::ImlParservirtual
skipWhitespace()ipe::XmlParser
XmlParser(DataSource &source)ipe::XmlParser
~XmlParser()ipe::XmlParservirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_inflate_source.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_inflate_source.html --- ipe-7.2.20/build/doc/classipe_1_1_inflate_source.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_inflate_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,164 +0,0 @@ - - - - - - - -Ipelib: ipe::InflateSource Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::InflateSource Class Reference
-
-
- -

#include <ipeutils.h>

- -

Inherits ipe::DataSource.

- - - - - - - - - - - - - - - - - -

-Public Member Functions

 InflateSource (DataSource &source)
 
virtual ~InflateSource ()
 
virtual int getChar ()
 
- Public Member Functions inherited from ipe::DataSource
virtual ~DataSource ()=0
 
virtual int length () const
 
virtual void setPosition (int pos)
 
virtual int position () const
 
-

Detailed Description

-

Filter source adding flate decompression.

-

Constructor & Destructor Documentation

- -

◆ InflateSource()

- -
-
- - - - - - - - -
InflateSource::InflateSource (DataSourcesource)
-
- -

References ipe::Buffer::data().

- -
-
- -

◆ ~InflateSource()

- -
-
- - - - - -
- - - - - - - -
InflateSource::~InflateSource ()
-
-virtual
-
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
int InflateSource::getChar ()
-
-virtual
-
- -

Get one more character, or EOF.

- -

Implements ipe::DataSource.

- -

References ipe::Buffer::data(), ipe::Buffer::size(), ipe::Ipelet::~Ipelet(), and ipe::IpeletHelper::~IpeletHelper().

- -

Referenced by ipe::PdfDict::inflate().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_inflate_source-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_inflate_source-members.html --- ipe-7.2.20/build/doc/classipe_1_1_inflate_source-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_inflate_source-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::InflateSource Member List
-
-
- -

This is the complete list of members for ipe::InflateSource, including all inherited members.

- - - - - - - - -
getChar()ipe::InflateSourcevirtual
InflateSource(DataSource &source)ipe::InflateSource
length() constipe::DataSourcevirtual
position() constipe::DataSourcevirtual
setPosition(int pos)ipe::DataSourcevirtual
~DataSource()=0ipe::DataSourcepure virtual
~InflateSource()ipe::InflateSourcevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ipelet_helper.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet_helper.html --- ipe-7.2.20/build/doc/classipe_1_1_ipelet_helper.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet_helper.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,282 +0,0 @@ - - - - - - - -Ipelib: ipe::IpeletHelper Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -List of all members
-
-
ipe::IpeletHelper Class Referenceabstract
-
-
- -

#include <ipelet.h>

- - - - -

-Public Types

enum  {
-  EOkButton, -EOkCancelButtons, -EYesNoCancelButtons, -EDiscardCancelButtons, -
-  ESaveDiscardCancelButtons -
- }
 
- - - - - - - - - - - -

-Public Member Functions

virtual ~IpeletHelper ()=0
 
virtual void message (const char *msg)=0
 
virtual int messageBox (const char *text, const char *details, int buttons)=0
 
virtual bool getString (const char *prompt, String &str)=0
 
virtual String getParameter (const char *key)=0
 
-

Detailed Description

-

Service provider for Ipelets.

-

C++ Ipelets can ask Ipe to perform various services and request information using this class.

-

Member Enumeration Documentation

- -

◆ anonymous enum

- -
-
- - - - -
anonymous enum
-
- - - - - - -
Enumerator
EOkButton 
EOkCancelButtons 
EYesNoCancelButtons 
EDiscardCancelButtons 
ESaveDiscardCancelButtons 
- -
-
-

Constructor & Destructor Documentation

- -

◆ ~IpeletHelper()

- -
-
- - - - - -
- - - - - - - -
IpeletHelper::~IpeletHelper ()
-
-pure virtual
-
- -

Pure virtual destructor.

- -

Referenced by ipe::InflateSource::getChar().

- -
-
-

Member Function Documentation

- -

◆ message()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::IpeletHelper::message (const char * msg)
-
-pure virtual
-
- -

Show a message in the status bar.

- -
-
- -

◆ messageBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual int ipe::IpeletHelper::messageBox (const char * text,
const char * details,
int buttons 
)
-
-pure virtual
-
- -

Pop up a modal message box.

-

The details can be null.

-

Choose one of EOkButton, EOkCancelButtons, EYesNoCancelButtons, EDiscardCancelButtons, ESaveDiscardCancelButtons for buttons.

-

Returns 1 for Ok or Yes, 0 for No, -1 for Cancel.

- -
-
- -

◆ getString()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual bool ipe::IpeletHelper::getString (const char * prompt,
Stringstr 
)
-
-pure virtual
-
-

Pop up a modal dialog asking the user to enter a string. Returns true if the user didn't cancel the dialog.

- -
-
- -

◆ getParameter()

- -
-
- - - - - -
- - - - - - - - -
virtual String ipe::IpeletHelper::getParameter (const char * key)
-
-pure virtual
-
-

Retrieve a parameter value from a table in the Lua wrapper code. If no table has been passed, or the key is not in the table, or its value is not a string or a number, then an empty string is returned.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ipelet_helper-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet_helper-members.html --- ipe-7.2.20/build/doc/classipe_1_1_ipelet_helper-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet_helper-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::IpeletHelper Member List
-
-
- -

This is the complete list of members for ipe::IpeletHelper, including all inherited members.

- - - - - - - - - - - -
EDiscardCancelButtons enum valueipe::IpeletHelper
EOkButton enum valueipe::IpeletHelper
EOkCancelButtons enum valueipe::IpeletHelper
ESaveDiscardCancelButtons enum valueipe::IpeletHelper
EYesNoCancelButtons enum valueipe::IpeletHelper
getParameter(const char *key)=0ipe::IpeletHelperpure virtual
getString(const char *prompt, String &str)=0ipe::IpeletHelperpure virtual
message(const char *msg)=0ipe::IpeletHelperpure virtual
messageBox(const char *text, const char *details, int buttons)=0ipe::IpeletHelperpure virtual
~IpeletHelper()=0ipe::IpeletHelperpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ipelet.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet.html --- ipe-7.2.20/build/doc/classipe_1_1_ipelet.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,174 +0,0 @@ - - - - - - - -Ipelib: ipe::Ipelet Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Ipelet Class Referenceabstract
-
-
- -

#include <ipelet.h>

- - - - - - - - -

-Public Member Functions

virtual ~Ipelet ()=0
 
virtual int ipelibVersion () const =0
 
virtual bool run (int function, IpeletData *data, IpeletHelper *helper)=0
 
-

Detailed Description

-

Abstract base class for Ipelets.

-

Constructor & Destructor Documentation

- -

◆ ~Ipelet()

- -
-
- - - - - -
- - - - - - - -
Ipelet::~Ipelet ()
-
-pure virtual
-
- -

Pure virtual destructor.

- -

Referenced by ipe::InflateSource::getChar().

- -
-
-

Member Function Documentation

- -

◆ ipelibVersion()

- -
-
- - - - - -
- - - - - - - -
virtual int ipe::Ipelet::ipelibVersion () const
-
-pure virtual
-
- -

Return the version of Ipelib the Ipelet was linked against.

- -
-
- -

◆ run()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool ipe::Ipelet::run (int function,
IpeletDatadata,
IpeletHelperhelper 
)
-
-pure virtual
-
- -

Run a function from the Ipelet.

-

Return true if page was changed and undo registration is necessary.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ipelet-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet-members.html --- ipe-7.2.20/build/doc/classipe_1_1_ipelet-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ipelet-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,56 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Ipelet Member List
-
-
- -

This is the complete list of members for ipe::Ipelet, including all inherited members.

- - - - -
ipelibVersion() const =0ipe::Ipeletpure virtual
run(int function, IpeletData *data, IpeletHelper *helper)=0ipe::Ipeletpure virtual
~Ipelet()=0ipe::Ipeletpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_latex.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_latex.html --- ipe-7.2.20/build/doc/classipe_1_1_latex.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_latex.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,365 +0,0 @@ - - - - - - - -Ipelib: ipe::Latex Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -Friends | -List of all members
-
-
ipe::Latex Class Reference
-
-
- -

#include <ipelatex.h>

- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Latex (const Cascade *sheet, LatexType latexType)
 
 ~Latex ()
 
int scanObject (const Object *obj)
 
int scanPage (Page *page)
 
void addPageNumber (int pno, int vno, int npages, int nviews)
 
int createLatexSource (Stream &stream, String preamble)
 
bool readPdf (DataSource &source)
 
bool updateTextObjects ()
 
PdfResourcestakeResources ()
 
- - - -

-Friends

class ipe::TextCollectingVisitor
 
-

Detailed Description

-

Object that converts latex source to PDF format.

-

This object is responsible for creating the PDF representation of text objects.

-

Constructor & Destructor Documentation

- -

◆ Latex()

- -
-
- - - - - - - - - - - - - - - - - - -
Latex::Latex (const Cascadesheet,
LatexType latexType 
)
-
- -

Create a converter object.

- -
-
- -

◆ ~Latex()

- -
-
- - - - - - - -
Latex::~Latex ()
-
- -

Destructor.

- -
-
-

Member Function Documentation

- -

◆ scanObject()

- -
-
- - - - - - - - -
int Latex::scanObject (const Objectobj)
-
-

Scan an object and insert all text objects into Latex's list. Returns total number of text objects found so far.

- -

References ipe::Object::accept().

- -

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

- -
-
- -

◆ scanPage()

- -
-
- - - - - - - - -
int Latex::scanPage (Pagepage)
-
-

Scan a page and insert all text objects into Latex's list. Returns total number of text objects found so far.

- -

References ipe::Object::accept(), ipe::Text::accept(), ipe::Page::applyTitleStyle(), ipe::Page::count(), ipe::Page::invalidateBBox(), ipe::Page::object(), and ipe::Page::titleText().

- -

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

- -
-
- -

◆ addPageNumber()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Latex::addPageNumber (int pno,
int vno,
int npages,
int nviews 
)
-
-
- -

◆ createLatexSource()

- -
-
- - - - - - - - - - - - - - - - - - -
int Latex::createLatexSource (Streamstream,
String preamble 
)
-
-
- -

◆ readPdf()

- -
-
- - - - - - - - -
bool Latex::readPdf (DataSourcesource)
-
- -

Read the PDF file created by Pdflatex.

-

Must have performed the call to Pdflatex, and pass the name of the resulting output file.

- -

References ipe::PdfObj::array(), ipe::PdfArray::count(), ipe::PdfDict::count(), ipe::PdfObj::dict(), ipe::PdfDict::get(), ipe::PdfDict::key(), ipe::PdfArray::obj(), ipe::PdfObj::ref(), ipe::PdfRef::value(), and ipe::PdfDict::value().

- -

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

- -
-
- -

◆ updateTextObjects()

- -
-
- - - - - - - -
bool Latex::updateTextObjects ()
-
- -

Notify all text objects about their updated PDF code.

-

Returns true if successful.

- -

References ipe::String::z().

- -

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

- -
-
- -

◆ takeResources()

- -
-
- - - - - - - -
PdfResources * Latex::takeResources ()
-
- -

Return the newly created PdfResources and pass ownership to caller.

- -

References ipe::Group::begin(), ipe::Group::end(), ipe::TextCollectingVisitor, and ipe::Text::size().

- -

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

- -
-
-

Friends And Related Function Documentation

- -

◆ ipe::TextCollectingVisitor

- -
-
- - - - - -
- - - - -
friend class ipe::TextCollectingVisitor
-
-friend
-
- -

Referenced by takeResources().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_latex-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_latex-members.html --- ipe-7.2.20/build/doc/classipe_1_1_latex-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_latex-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Latex Member List
-
-
- -

This is the complete list of members for ipe::Latex, including all inherited members.

- - - - - - - - - - - -
addPageNumber(int pno, int vno, int npages, int nviews)ipe::Latex
createLatexSource(Stream &stream, String preamble)ipe::Latex
ipe::TextCollectingVisitor classipe::Latexfriend
Latex(const Cascade *sheet, LatexType latexType)ipe::Latex
readPdf(DataSource &source)ipe::Latex
scanObject(const Object *obj)ipe::Latex
scanPage(Page *page)ipe::Latex
takeResources()ipe::Latex
updateTextObjects()ipe::Latex
~Latex()ipe::Latex
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_lex.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_lex.html --- ipe-7.2.20/build/doc/classipe_1_1_lex.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_lex.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,500 +0,0 @@ - - - - - - - -Ipelib: ipe::Lex Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Lex Class Reference
-
-
- -

#include <ipebase.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Lex (String str)
 
String token ()
 
String nextToken ()
 
int getInt ()
 
int getHexByte ()
 
Fixed getFixed ()
 
unsigned long int getHexNumber ()
 
double getDouble ()
 
char getChar ()
 
void skipWhitespace ()
 
Lexoperator>> (int &i)
 
Lexoperator>> (double &d)
 
Lexoperator>> (Fixed &d)
 
void mark ()
 
void fromMark ()
 
bool eos () const
 
-

Detailed Description

-

Lexical analyser. Seeded with a string.

-

Constructor & Destructor Documentation

- -

◆ Lex()

- -
-
- - - - - -
- - - - - - - - -
Lex::Lex (String str)
-
-explicit
-
- -

Construct lexical analyzer from a string.

- -

Referenced by ipe::Fixed::operator<<().

- -
-
-

Member Function Documentation

- -

◆ token()

- -
-
- - - - - - - -
String Lex::token ()
-
- -

Return NextToken, but without extracting it.

- -

Referenced by ipe::Shape::load().

- -
-
- -

◆ nextToken()

- -
-
- - - - - - - -
String Lex::nextToken ()
-
- -

Extract next token.

-

Skips any whitespace before the token. Returns empty string if end of string is reached.

- -

Referenced by ipe::Shape::load(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ getInt()

- -
-
- - - - - - - -
int Lex::getInt ()
-
-
- -

◆ getHexByte()

- -
-
- - - - - - - -
int Lex::getHexByte ()
-
- -

Extract byte in hex (skipping whitespace).

- -

Referenced by ipe::Bitmap::Bitmap(), and ipe::PdfString::decode().

- -
-
- -

◆ getFixed()

- -
-
- - - - - - - -
Fixed Lex::getFixed ()
-
- -

Extract Fixed token (skipping whitespace).

- -

References ipe::Fixed::fromInternal(), ipe::String::size(), ipe::String::substr(), and ipe::String::z().

- -
-
- -

◆ getHexNumber()

- -
-
- - - - - - - -
unsigned long int Lex::getHexNumber ()
-
- -

Extract hexadecimal token (skipping whitespace).

- -

References ipe::String::z().

- -

Referenced by ipe::Bitmap::Bitmap().

- -
-
- -

◆ getDouble()

- -
-
- - - - - - - -
double Lex::getDouble ()
-
- -

Extract double token (skipping whitespace).

- -

References ipe::Platform::toDouble().

- -

Referenced by ipe::ImlParser::parseStyle(), and ipe::Text::Text().

- -
-
- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
char ipe::Lex::getChar ()
-
-inline
-
- -

Extract next character (not skipping anything).

- -
-
- -

◆ skipWhitespace()

- -
-
- - - - - - - -
void Lex::skipWhitespace ()
-
-
- -

◆ operator>>() [1/3]

- -
-
- - - - - -
- - - - - - - - -
Lex& ipe::Lex::operator>> (int & i)
-
-inline
-
- -

Operator syntax for getInt().

- -
-
- -

◆ operator>>() [2/3]

- -
-
- - - - - -
- - - - - - - - -
Lex& ipe::Lex::operator>> (double & d)
-
-inline
-
- -

Operator syntax for getDouble().

- -
-
- -

◆ operator>>() [3/3]

- -
-
- - - - - -
- - - - - - - - -
Lex& ipe::Lex::operator>> (Fixedd)
-
-inline
-
- -

Operator syntax for getFixed().

- -
-
- -

◆ mark()

- -
-
- - - - - -
- - - - - - - -
void ipe::Lex::mark ()
-
-inline
-
- -

Mark the current position.

- -
-
- -

◆ fromMark()

- -
-
- - - - - -
- - - - - - - -
void ipe::Lex::fromMark ()
-
-inline
-
- -

Reset reader to the marked position.

- -
-
- -

◆ eos()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Lex::eos () const
-
-inline
-
- -

Return true if at end of string (not even whitespace left).

- -

Referenced by ipe::Color::Color(), ipe::PdfString::decode(), ipe::Shape::load(), ipe::ImlParser::parseBitmap(), ipe::ImlParser::parsePage(), and ipe::ImlParser::parseStyle().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_lex-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_lex-members.html --- ipe-7.2.20/build/doc/classipe_1_1_lex-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_lex-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Lex Member List
-
-
- -

This is the complete list of members for ipe::Lex, including all inherited members.

- - - - - - - - - - - - - - - - - -
eos() constipe::Lexinline
fromMark()ipe::Lexinline
getChar()ipe::Lexinline
getDouble()ipe::Lex
getFixed()ipe::Lex
getHexByte()ipe::Lex
getHexNumber()ipe::Lex
getInt()ipe::Lex
Lex(String str)ipe::Lexexplicit
mark()ipe::Lexinline
nextToken()ipe::Lex
operator>>(int &i)ipe::Lexinline
operator>>(double &d)ipe::Lexinline
operator>>(Fixed &d)ipe::Lexinline
skipWhitespace()ipe::Lex
token()ipe::Lex
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_linear.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_linear.html --- ipe-7.2.20/build/doc/classipe_1_1_linear.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_linear.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,495 +0,0 @@ - - - - - - - -Ipelib: ipe::Linear Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -Related Functions | -List of all members
-
-
ipe::Linear Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Linear ()
 
 Linear (Angle angle)
 
 Linear (double m11, double m21, double m12, double m22)
 
 Linear (String str)
 
Linear inverse () const
 
bool isIdentity () const
 
Vector operator* (const Vector &rhs) const
 
bool operator== (const Linear &rhs) const
 
double determinant () const
 
- - - -

-Public Attributes

double a [4]
 
- - - - - - - - -

-Related Functions

(Note that these are not member functions.)

-
Streamoperator<< (Stream &stream, const Linear &rhs)
 
Vector operator* (const Vector &rhs) const
 
Linear operator* (const Linear &lhs, const Linear &rhs)
 
-

Detailed Description

-

Linear transformation in the plane (2x2 matrix).

-

Constructor & Destructor Documentation

- -

◆ Linear() [1/4]

- -
-
- - - - - -
- - - - - - - -
ipe::Linear::Linear ()
-
-inline
-
- -

Create identity matrix.

- -

Referenced by ipe::Segment::snap().

- -
-
- -

◆ Linear() [2/4]

- -
-
- - - - - -
- - - - - - - - -
Linear::Linear (Angle angle)
-
-explicit
-
- -

Create matrix representing a rotation by angle.

- -
-
- -

◆ Linear() [3/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ipe::Linear::Linear (double m11,
double m21,
double m12,
double m22 
)
-
-inlineexplicit
-
- -

Create linear matrix with given coefficients.

- -
-
- -

◆ Linear() [4/4]

- -
-
- - - - - -
- - - - - - - - -
Linear::Linear (String str)
-
-explicit
-
- -

Parse string.

- -
-
-

Member Function Documentation

- -

◆ inverse()

- -
-
- - - - - - - -
Linear Linear::inverse () const
-
- -

Return inverse.

- -

References a, and ipe::Matrix::Matrix().

- -

Referenced by ipe::Arc::bbox().

- -
-
- -

◆ isIdentity()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Linear::isIdentity () const
-
-inline
-
- -

Is this the identity matrix?

- -
-
- -

◆ operator*()

- -
-
- - - - - -
- - - - - - - - -
Vector ipe::Linear::operator* (const Vectorrhs) const
-
-inline
-
- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Linear::operator== (const Linearrhs) const
-
-inline
-
- -

Check for equality of two linear matrices.

- -

References a.

- -
-
- -

◆ determinant()

- -
-
- - - - - -
- - - - - - - -
double ipe::Linear::determinant () const
-
-inline
-
- -

Return determinant of a linear matrix.

- -
-
-

Friends And Related Function Documentation

- -

◆ operator<<()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream & operator<< (Streamstream,
const Linearrhs 
)
-
-related
-
- -
-
- -

◆ operator*() [1/2]

- -
-
- - - - - -
- - - - - - - - -
Vector operator* (const Vectorrhs) const
-
-related
-
- -

Linear matrix times vector.

- -

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

- -
-
- -

◆ operator*() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Linear operator* (const Linearlhs,
const Linearrhs 
)
-
-related
-
- -

Linear matrix multiplication.

- -

References a.

- -
-
-

Member Data Documentation

- -

◆ a

- -
-
- - - - -
double ipe::Linear::a[4]
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_linear-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_linear-members.html --- ipe-7.2.20/build/doc/classipe_1_1_linear-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_linear-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Linear Member List
-
-
- -

This is the complete list of members for ipe::Linear, including all inherited members.

- - - - - - - - - - - - - - -
aipe::Linear
determinant() constipe::Linearinline
inverse() constipe::Linear
isIdentity() constipe::Linearinline
Linear()ipe::Linearinline
Linear(Angle angle)ipe::Linearexplicit
Linear(double m11, double m21, double m12, double m22)ipe::Linearinlineexplicit
Linear(String str)ipe::Linearexplicit
operator*(const Vector &rhs) constipe::Linearinline
operator*(const Vector &rhs) constipe::Linearrelated
operator*(const Linear &lhs, const Linear &rhs)ipe::Linearrelated
operator<<(Stream &stream, const Linear &rhs)ipe::Linearrelated
operator==(const Linear &rhs) constipe::Linearinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_line.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_line.html --- ipe-7.2.20/build/doc/classipe_1_1_line.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_line.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,378 +0,0 @@ - - - - - - - -Ipelib: ipe::Line Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::Line Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Line ()
 
 Line (const Vector &p, const Vector &dir)
 
double side (const Vector &p) const
 
Vector normal () const
 
double distance (const Vector &v) const
 
bool intersects (const Line &line, Vector &pt)
 
Vector project (const Vector &v) const
 
Vector dir () const
 
- - - -

-Static Public Member Functions

static Line through (const Vector &p, const Vector &q)
 
- - - -

-Public Attributes

Vector iP
 
-

Detailed Description

-

A directed line.

-

Constructor & Destructor Documentation

- -

◆ Line() [1/2]

- -
-
- - - - - -
- - - - - - - -
ipe::Line::Line ()
-
-inlineexplicit
-
- -

Create default line (x-axis).

- -
-
- -

◆ Line() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Line::Line (const Vectorp,
const Vectordir 
)
-
-explicit
-
- -

Construct a line from p with direction dir.

-

Asserts unit length of dir.

- -

References ipe::Vector::sqLen().

- -
-
-

Member Function Documentation

- -

◆ through()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Line Line::through (const Vectorp,
const Vectorq 
)
-
-static
-
- -

Construct a line through two points.

- -

Referenced by ipe::Bezier::straight().

- -
-
- -

◆ side()

- -
-
- - - - - - - - -
double Line::side (const Vectorp) const
-
- -

Result is > 0, = 0, < 0 if point lies to the left, on, to the right.

- -

Referenced by ipe::Bezier::intersect().

- -
-
- -

◆ normal()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Line::normal () const
-
-inline
-
- -

Return a normal vector pointing to the left of the directed line.

- -
-
- -

◆ distance()

- -
-
- - - - - - - - -
double Line::distance (const Vectorv) const
-
- -

Returns distance between line and v.

- -

References dir(), iP, ipe::Vector::len(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by ipe::Bezier::straight().

- -
-
- -

◆ intersects()

- -
-
- - - - - - - - - - - - - - - - - - -
bool Line::intersects (const Lineline,
Vectorpt 
)
-
- -

Does this line intersect line? If so, computes intersection point.

- -

Referenced by ipe::Snap::snap().

- -
-
- -

◆ project()

- -
-
- - - - - - - - -
Vector Line::project (const Vectorv) const
-
- -

Orthogonally project point v onto the line.

- -

Referenced by ipe::Snap::setEdge(), and ipe::Snap::snap().

- -
-
- -

◆ dir()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Line::dir () const
-
-inline
-
- -

Return direction of line.

- -

Referenced by distance(), ipe::Arc::intersect(), and ipe::Snap::setEdge().

- -
-
-

Member Data Documentation

- -

◆ iP

- -
-
- - - - -
Vector ipe::Line::iP
-
- -

Point on the line.

- -

Referenced by distance(), and ipe::Arc::intersect().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_line-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_line-members.html --- ipe-7.2.20/build/doc/classipe_1_1_line-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_line-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Line Member List
-
-
- -

This is the complete list of members for ipe::Line, including all inherited members.

- - - - - - - - - - - -
dir() constipe::Lineinline
distance(const Vector &v) constipe::Line
intersects(const Line &line, Vector &pt)ipe::Line
iPipe::Line
Line()ipe::Lineinlineexplicit
Line(const Vector &p, const Vector &dir)ipe::Lineexplicit
normal() constipe::Lineinline
project(const Vector &v) constipe::Line
side(const Vector &p) constipe::Line
through(const Vector &p, const Vector &q)ipe::Linestatic
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_matrix.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_matrix.html --- ipe-7.2.20/build/doc/classipe_1_1_matrix.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_matrix.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,749 +0,0 @@ - - - - - - - -Ipelib: ipe::Matrix Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -Related Functions | -List of all members
-
-
ipe::Matrix Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Matrix ()
 
 Matrix (const Linear &linear)
 
 Matrix (const Linear &linear, const Vector &t)
 
 Matrix (double m11, double m21, double m12, double m22, double t1, double t2)
 
 Matrix (const Vector &v)
 
 Matrix (String str)
 
Matrix inverse () const
 
Vector operator* (const Vector &rhs) const
 
Bezier operator* (const Bezier &rhs) const
 
Vector translation () const
 
Linear linear () const
 
double determinant () const
 
bool isIdentity () const
 
bool operator== (const Matrix &rhs) const
 
- - - -

-Public Attributes

double a [6]
 
- - - - - - - - - - - - -

-Related Functions

(Note that these are not member functions.)

-
Streamoperator<< (Stream &stream, const Matrix &rhs)
 
Bezier operator* (const Bezier &rhs) const
 
Vector operator* (const Vector &rhs) const
 
Matrix operator* (const Matrix &lhs, const Matrix &rhs)
 
Arc operator* (const Matrix &lhs, const Arc &rhs)
 
-

Detailed Description

-

Homogeneous transformation in the plane.

-

Constructor & Destructor Documentation

- -

◆ Matrix() [1/6]

- -
-
- - - - - -
- - - - - - - -
ipe::Matrix::Matrix ()
-
-inline
-
- -

Create identity matrix.

- -

Referenced by ipe::Linear::inverse().

- -
-
- -

◆ Matrix() [2/6]

- -
-
- - - - - -
- - - - - - - - -
ipe::Matrix::Matrix (const Linearlinear)
-
-inline
-
- -

Create linear matrix.

- -

References ipe::Linear::a.

- -
-
- -

◆ Matrix() [3/6]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
ipe::Matrix::Matrix (const Linearlinear,
const Vectort 
)
-
-inlineexplicit
-
- -

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

- -
-
- -

◆ Matrix() [4/6]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ipe::Matrix::Matrix (double m11,
double m21,
double m12,
double m22,
double t1,
double t2 
)
-
-inlineexplicit
-
- -

Create matrix with given coefficients.

- -
-
- -

◆ Matrix() [5/6]

- -
-
- - - - - -
- - - - - - - - -
ipe::Matrix::Matrix (const Vectorv)
-
-inlineexplicit
-
- -

Create translation matrix.

- -

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

- -
-
- -

◆ Matrix() [6/6]

- -
-
- - - - - -
- - - - - - - - -
Matrix::Matrix (String str)
-
-explicit
-
- -

Parse string.

- -
-
-

Member Function Documentation

- -

◆ inverse()

- -
-
- - - - - - - -
Matrix Matrix::inverse () const
-
-
- -

◆ operator*() [1/2]

- -
-
- - - - - -
- - - - - - - - -
Vector ipe::Matrix::operator* (const Vectorrhs) const
-
-inline
-
- -
-
- -

◆ operator*() [2/2]

- -
-
- - - - - -
- - - - - - - - -
Bezier ipe::Matrix::operator* (const Bezierrhs) const
-
-inline
-
- -
-
- -

◆ translation()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Matrix::translation () const
-
-inline
-
- -

Return translation component.

- -

Referenced by ipe::Text::checkStyle(), ipe::CairoPainter::doDrawText(), ipe::Path::draw(), and ipe::Painter::untransform().

- -
-
- -

◆ linear()

- -
-
- - - - - -
- - - - - - - -
Linear ipe::Matrix::linear () const
-
-inline
-
- -

Return linear transformation component of this affine transformation.

- -

Referenced by ipe::Path::clone(), ipe::Path::draw(), ipe::CairoPainter::executeStream(), ipe::Arc::intersect(), and ipe::Snap::setEdge().

- -
-
- -

◆ determinant()

- -
-
- - - - - -
- - - - - - - -
double ipe::Matrix::determinant () const
-
-inline
-
- -

Return determinant of the matrix.

- -

Referenced by ipe::Shape::load().

- -
-
- -

◆ isIdentity()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Matrix::isIdentity () const
-
-inline
-
- -

Is this the identity matrix?

- -

Referenced by ipe::StyleSheet::saveAsXml(), ipe::Object::saveAttributesAsXml(), and ipe::Page::setLayerMatrix().

- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Matrix::operator== (const Matrixrhs) const
-
-inline
-
- -

Check for equality of two matrices.

- -

References a.

- -
-
-

Friends And Related Function Documentation

- -

◆ operator<<()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream & operator<< (Streamstream,
const Matrixrhs 
)
-
-related
-
- -
-
- -

◆ operator*() [1/4]

- -
-
- - - - - -
- - - - - - - - -
Bezier operator* (const Bezierrhs) const
-
-related
-
- -

Transform Bezier spline.

- -

References ipe::Bezier::iV.

- -
-
- -

◆ operator*() [2/4]

- -
-
- - - - - -
- - - - - - - - -
Vector operator* (const Vectorrhs) const
-
-related
-
- -

Matrix times vector.

- -

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

- -
-
- -

◆ operator*() [3/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Matrix operator* (const Matrixlhs,
const Matrixrhs 
)
-
-related
-
- -

Matrix multiplication.

- -

References a.

- -
-
- -

◆ operator*() [4/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Arc operator* (const Matrixlhs,
const Arcrhs 
)
-
-related
-
- -

Transform arc.

- -

References ipe::Arc::Arc(), ipe::Arc::iAlpha, ipe::Arc::iBeta, and ipe::Arc::iM.

- -
-
-

Member Data Documentation

- -

◆ a

- -
-
- - - - -
double ipe::Matrix::a[6]
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_matrix-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_matrix-members.html --- ipe-7.2.20/build/doc/classipe_1_1_matrix-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_matrix-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,73 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Matrix Member List
-
-
- -

This is the complete list of members for ipe::Matrix, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - -
aipe::Matrix
determinant() constipe::Matrixinline
inverse() constipe::Matrix
isIdentity() constipe::Matrixinline
linear() constipe::Matrixinline
Matrix()ipe::Matrixinline
Matrix(const Linear &linear)ipe::Matrixinline
Matrix(const Linear &linear, const Vector &t)ipe::Matrixinlineexplicit
Matrix(double m11, double m21, double m12, double m22, double t1, double t2)ipe::Matrixinlineexplicit
Matrix(const Vector &v)ipe::Matrixinlineexplicit
Matrix(String str)ipe::Matrixexplicit
operator*(const Vector &rhs) constipe::Matrixinline
operator*(const Bezier &rhs) constipe::Matrixinline
operator*(const Bezier &rhs) constipe::Matrixrelated
operator*(const Vector &rhs) constipe::Matrixrelated
operator*(const Matrix &lhs, const Matrix &rhs)ipe::Matrixrelated
operator*(const Matrix &lhs, const Arc &rhs)ipe::Matrixrelated
operator<<(Stream &stream, const Matrix &rhs)ipe::Matrixrelated
operator==(const Matrix &rhs) constipe::Matrixinline
translation() constipe::Matrixinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_object_factory.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object_factory.html --- ipe-7.2.20/build/doc/classipe_1_1_object_factory.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object_factory.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,162 +0,0 @@ - - - - - - - -Ipelib: ipe::ObjectFactory Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Static Public Member Functions | -List of all members
-
-
ipe::ObjectFactory Class Reference
-
-
- -

#include <ipefactory.h>

- - - - - - -

-Static Public Member Functions

static ObjectcreateObject (String name, const XmlAttributes &attr, String data)
 
static ObjectcreateImage (String name, const XmlAttributes &attr, Bitmap bitmap)
 
-

Detailed Description

-

Factory for Ipe leaf objects.

-

Member Function Documentation

- -

◆ createObject()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Object * ObjectFactory::createObject (String name,
const XmlAttributesattr,
String data 
)
-
-static
-
- -

Create an Ipe object by calling the right constructor.

- -

Referenced by ipe::ImlParser::parseObject().

- -
-
- -

◆ createImage()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Object * ObjectFactory::createImage (String name,
const XmlAttributesattr,
Bitmap bitmap 
)
-
-static
-
- -

Create an Image with a given bitmap.

- -

Referenced by ipe::ImlParser::parseObject().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_object_factory-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object_factory-members.html --- ipe-7.2.20/build/doc/classipe_1_1_object_factory-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object_factory-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,55 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::ObjectFactory Member List
-
-
- -

This is the complete list of members for ipe::ObjectFactory, including all inherited members.

- - - -
createImage(String name, const XmlAttributes &attr, Bitmap bitmap)ipe::ObjectFactorystatic
createObject(String name, const XmlAttributes &attr, String data)ipe::ObjectFactorystatic
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_object.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object.html --- ipe-7.2.20/build/doc/classipe_1_1_object.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1441 +0,0 @@ - - - - - - - -Ipelib: ipe::Object Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -Protected Member Functions | -Static Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::Object Class Referenceabstract
-
-
- -

#include <ipeobject.h>

- -

Inherited by ipe::Group, ipe::Image, ipe::Path, ipe::Reference, and ipe::Text.

- - - - -

-Public Types

enum  Type {
-  EGroup, -EPath, -EText, -EImage, -
-  EReference -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual ~Object ()=0
 
virtual void accept (Visitor &visitor) const =0
 
virtual Objectclone () const =0
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual TextasText ()
 
virtual PathasPath ()
 
virtual ImageasImage ()
 
virtual ReferenceasReference ()
 
virtual Type type () const =0
 
virtual TPinned pinned () const
 
void setPinned (TPinned pin)
 
TTransformations transformations () const
 
void setTransformations (TTransformations trans)
 
virtual void setMatrix (const Matrix &matrix)
 
const Matrixmatrix () const
 
virtual bool setAttribute (Property prop, Attribute value)
 
virtual Attribute getAttribute (Property prop) const noexcept
 
virtual void saveAsXml (Stream &stream, String layer) const =0
 
virtual void draw (Painter &painter) const =0
 
virtual void drawSimple (Painter &painter) const =0
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const =0
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const =0
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapCtl (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void checkStyle (const Cascade *sheet, AttributeSeq &seq) const
 
- - - - - - - - - - - -

-Protected Member Functions

 Object ()
 
 Object (const AllAttributes &attr)
 
 Object (const Object &rhs)
 
 Object (const XmlAttributes &attr)
 
void saveAttributesAsXml (Stream &stream, String layer) const
 
- - - -

-Static Protected Member Functions

static void checkSymbol (Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)
 
- - - - - - - -

-Protected Attributes

Matrix iMatrix
 
TPinned iPinned: 8
 
TTransformations iTransformations: 8
 
-

Detailed Description

-

Base class for all Ipe objects, composite or leaf.

-

All objects are derived from this class. It provides functionality common to all objects, and carries the standard attributes.

-

All Object's provide a constant time copy constructor (and a virtual Object::clone() method). Objects of non-constant size realize this by separating the implementation and using reference counting. In particular, copying a composite object does not create new copies of the components.

-

Object has only three attributes: the transformation matrix, the pinning status, and the allowed transformations.

-

If an object is pinned, it cannot be moved at all (or only in the non-pinned direction) from the Ipe user interface.

-

Restricting the allowed transformations works somewhat differently: It doesn't stop transformations being applied to the object, but they only effect the position of the reference point (the origin of the object coordinate system), and (if transformations() == ETransformationsRigidMotions) the orientation of the object coordinate system.

-

Member Enumeration Documentation

- -

◆ Type

- -
-
- - - - -
enum ipe::Object::Type
-
- - - - - - -
Enumerator
EGroup 
EPath 
EText 
EImage 
EReference 
- -
-
-

Constructor & Destructor Documentation

- -

◆ ~Object()

- -
-
- - - - - -
- - - - - - - -
Object::~Object ()
-
-pure virtual
-
- -

Pure virtual destructor.

- -
-
- -

◆ Object() [1/4]

- -
-
- - - - - -
- - - - - - - -
Object::Object ()
-
-explicitprotected
-
-

Create object with identity matrix, no pinning, all transformations.

- -

References ipe::ENoPin, ipe::ETransformationsAffine, iPinned, and iTransformations.

- -

Referenced by matrix().

- -
-
- -

◆ Object() [2/4]

- -
-
- - - - - -
- - - - - - - - -
Object::Object (const AllAttributesattr)
-
-explicitprotected
-
-

Create object by taking pinning/transforming from attr and setting identity matrix.

- -

References iPinned, ipe::AllAttributes::iPinned, iTransformations, and ipe::AllAttributes::iTransformations.

- -
-
- -

◆ Object() [3/4]

- -
-
- - - - - -
- - - - - - - - -
Object::Object (const Objectrhs)
-
-protected
-
- -

Copy constructor.

- -

References iMatrix, iPinned, and iTransformations.

- -
-
- -

◆ Object() [4/4]

- -
-
- - - - - -
- - - - - - - - -
Object::Object (const XmlAttributesattr)
-
-explicitprotected
-
- -

Construct from XML stream.

- -
-
-

Member Function Documentation

- -

◆ accept()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::Object::accept (Visitorvisitor) const
-
-pure virtual
-
-
- -

◆ clone()

- -
-
- - - - - -
- - - - - - - -
virtual Object* ipe::Object::clone () const
-
-pure virtual
-
- -

Make a copy of this object (constant-time).

- -

Implemented in ipe::Group, ipe::Reference, ipe::Text, ipe::Path, and ipe::Image.

- -

Referenced by ipe::Symbol::operator=(), and ipe::Symbol::Symbol().

- -
-
- -

◆ asGroup() [1/2]

- -
-
- - - - - -
- - - - - - - -
Group * Object::asGroup ()
-
-virtual
-
- -

Return pointer to this object if it is an Group, nullptr otherwise.

- -

Reimplemented in ipe::Group.

- -

Referenced by ipe::PdfWriter::createPageView().

- -
-
- -

◆ asGroup() [2/2]

- -
-
- - - - - -
- - - - - - - -
const Group * Object::asGroup () const
-
-virtual
-
- -

Return pointer to this object if it is an Group, nullptr otherwise.

- -

Reimplemented in ipe::Group.

- -
-
- -

◆ asText()

- -
-
- - - - - -
- - - - - - - -
Text * Object::asText ()
-
-virtual
-
- -

Return pointer to this object if it is an Text, nullptr otherwise.

- -

Reimplemented in ipe::Text.

- -
-
- -

◆ asPath()

- -
-
- - - - - -
- - - - - - - -
Path * Object::asPath ()
-
-virtual
-
- -

Return pointer to this object if it is an Path, nullptr otherwise.

- -

Reimplemented in ipe::Path.

- -
-
- -

◆ asImage()

- -
-
- - - - - -
- - - - - - - -
Image * Object::asImage ()
-
-virtual
-
- -

Return pointer to this object if it is an Image , nullptr otherwise.

- -

Reimplemented in ipe::Image.

- -
-
- -

◆ asReference()

- -
-
- - - - - -
- - - - - - - -
Reference * Object::asReference ()
-
-virtual
-
- -

Return pointer to this object if it is an Ref, nullptr otherwise.

- -

Reimplemented in ipe::Reference.

- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
virtual Type ipe::Object::type () const
-
-pure virtual
-
- -

Implemented in ipe::Group, ipe::Reference, ipe::Text, ipe::Path, and ipe::Image.

- -
-
- -

◆ pinned()

- -
-
- - - - - -
- - - - - - - -
TPinned Object::pinned () const
-
-virtual
-
- -

Return pinning mode of the object.

- -

Reimplemented in ipe::Group.

- -

References iPinned.

- -

Referenced by getAttribute(), ipe::Group::pinned(), ipe::Group::push_back(), and ipe::TransformTool::TransformTool().

- -
-
- -

◆ setPinned()

- -
-
- - - - - - - - -
void Object::setPinned (TPinned pin)
-
- -

Set pinning mode of the object.

- -

References iPinned.

- -
-
- -

◆ transformations()

- -
-
- - - - - -
- - - - - - - -
TTransformations ipe::Object::transformations () const
-
-inline
-
-
- -

◆ setTransformations()

- -
-
- - - - - - - - -
void Object::setTransformations (TTransformations trans)
-
- -

Set allowed transformations of the object.

- -

References iTransformations.

- -

Referenced by ipe::Text::setAttribute(), and transformations().

- -
-
- -

◆ setMatrix()

- -
-
- - - - - -
- - - - - - - - -
void Object::setMatrix (const Matrixmatrix)
-
-virtual
-
- -

Set the transformation matrix.

-

Don't use this on an Object in a Page, because it wouldn't invalidate its bounding box. Call Page::transform instead.

- -

Reimplemented in ipe::Path.

- -

References iMatrix, and matrix().

- -

Referenced by ipe::Page::applyTitleStyle(), ipe::Path::setMatrix(), ipe::Page::transform(), and transformations().

- -
-
- -

◆ matrix()

- -
-
- - - - - -
- - - - - - - -
const Matrix& ipe::Object::matrix () const
-
-inline
-
-
- -

◆ setAttribute()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Object::setAttribute (Property prop,
Attribute value 
)
-
-virtual
-
-
- -

◆ getAttribute()

- -
-
- - - - - -
- - - - - - - - -
Attribute Object::getAttribute (Property prop) const
-
-virtualnoexcept
-
- -

Get setting of an attribute of this object.

-

If object does not have this attribute, returnes "undefined" attribute.

- -

Reimplemented in ipe::Path, ipe::Group, ipe::Reference, ipe::Text, and ipe::Image.

- -

References ipe::EPropPinned, ipe::EPropTransformations, iTransformations, pinned(), and ipe::Attribute::UNDEFINED().

- -

Referenced by ipe::Image::getAttribute(), ipe::Text::getAttribute(), ipe::Reference::getAttribute(), ipe::Group::getAttribute(), ipe::Path::getAttribute(), and matrix().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void ipe::Object::saveAsXml (Streamstream,
String layer 
) const
-
-pure virtual
-
- -

Save the object in XML format.

- -

Implemented in ipe::Path, ipe::Group, ipe::Reference, ipe::Text, and ipe::Image.

- -

Referenced by matrix().

- -
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::Object::draw (Painterpainter) const
-
-pure virtual
-
-
- -

◆ drawSimple()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::Object::drawSimple (Painterpainter) const
-
-pure virtual
-
- -

Draw simple version for selecting and transforming.

- -

Implemented in ipe::Path, ipe::Group, ipe::Reference, ipe::Text, and ipe::Image.

- -

Referenced by ipe::PanTool::draw(), ipe::SelectTool::draw(), ipe::TransformTool::draw(), ipe::Reference::drawSimple(), and matrix().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual double ipe::Object::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-pure virtual
-
-

Return distance of transformed object to point v. If larger than bound, can just return bound.

- -

Implemented in ipe::Path, ipe::Group, ipe::Text, ipe::Reference, and ipe::Image.

- -

Referenced by ipe::Page::distance(), and matrix().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::Object::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-pure virtual
-
- -

Extend box to include the object transformed by m.

-

For objects in a page, don't call this directly. The Page caches the bounding box of each object, so it is far more efficient to call Page::bbox.

-

Control points that lie outside the visual object are included if cp is true.

-

If called with an empty box and cp == false, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).

- -

Implemented in ipe::Path, ipe::Group, ipe::Text, ipe::Reference, and ipe::Image.

- -

Referenced by matrix(), and ipe::SelectTool::mouseButton().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Object::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute vertex snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented in ipe::Path, ipe::Group, and ipe::Reference.

- -

Referenced by matrix(), and ipe::Page::snapVtx().

- -
-
- -

◆ snapCtl()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Object::snapCtl (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute control point snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented in ipe::Path, ipe::Group, ipe::Text, and ipe::Image.

- -

Referenced by matrix(), and ipe::Page::snapCtl().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Object::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute boundary snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented in ipe::Path, ipe::Group, and ipe::Reference.

- -

References ipe::Visitor::~Visitor().

- -

Referenced by matrix(), and ipe::Page::snapBnd().

- -
-
- -

◆ checkStyle()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Object::checkStyle (const Cascadesheet,
AttributeSeqseq 
) const
-
-virtual
-
- -

Check all symbolic attributes.

- -

Reimplemented in ipe::Group, ipe::Path, ipe::Reference, and ipe::Text.

- -

Referenced by ipe::Document::checkStyle(), and matrix().

- -
-
- -

◆ saveAttributesAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Object::saveAttributesAsXml (Streamstream,
String layer 
) const
-
-protected
-
-
- -

◆ checkSymbol()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Object::checkSymbol (Kind kind,
Attribute attr,
const Cascadesheet,
AttributeSeqseq 
)
-
-staticprotected
-
-

Check whether attribute is either absolute or defined in the style sheet cascade sheet. Add attr to seq if this is not the case.

- -

References ipe::Cascade::findDefinition(), and ipe::Attribute::isSymbolic().

- -

Referenced by ipe::Text::checkStyle(), ipe::Reference::checkStyle(), ipe::Path::checkStyle(), and matrix().

- -
-
-

Member Data Documentation

- -

◆ iMatrix

- -
-
- - - - - -
- - - - -
Matrix ipe::Object::iMatrix
-
-protected
-
- -

Referenced by matrix(), Object(), saveAttributesAsXml(), and setMatrix().

- -
-
- -

◆ iPinned

- -
-
- - - - - -
- - - - -
TPinned ipe::Object::iPinned
-
-protected
-
-
- -

◆ iTransformations

- -
-
- - - - - -
- - - - -
TTransformations ipe::Object::iTransformations
-
-protected
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_object-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object-members.html --- ipe-7.2.20/build/doc/classipe_1_1_object-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_object-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,95 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Object Member List
-
-
- -

This is the complete list of members for ipe::Object, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept(Visitor &visitor) const =0ipe::Objectpure virtual
addToBBox(Rect &box, const Matrix &m, bool cp) const =0ipe::Objectpure virtual
asGroup()ipe::Objectvirtual
asGroup() constipe::Objectvirtual
asImage()ipe::Objectvirtual
asPath()ipe::Objectvirtual
asReference()ipe::Objectvirtual
asText()ipe::Objectvirtual
checkStyle(const Cascade *sheet, AttributeSeq &seq) constipe::Objectvirtual
checkSymbol(Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)ipe::Objectprotectedstatic
clone() const =0ipe::Objectpure virtual
distance(const Vector &v, const Matrix &m, double bound) const =0ipe::Objectpure virtual
draw(Painter &painter) const =0ipe::Objectpure virtual
drawSimple(Painter &painter) const =0ipe::Objectpure virtual
EGroup enum valueipe::Object
EImage enum valueipe::Object
EPath enum valueipe::Object
EReference enum valueipe::Object
EText enum valueipe::Object
getAttribute(Property prop) const noexceptipe::Objectvirtual
iMatrixipe::Objectprotected
iPinnedipe::Objectprotected
iTransformationsipe::Objectprotected
matrix() constipe::Objectinline
Object()ipe::Objectexplicitprotected
Object(const AllAttributes &attr)ipe::Objectexplicitprotected
Object(const Object &rhs)ipe::Objectprotected
Object(const XmlAttributes &attr)ipe::Objectexplicitprotected
pinned() constipe::Objectvirtual
saveAsXml(Stream &stream, String layer) const =0ipe::Objectpure virtual
saveAttributesAsXml(Stream &stream, String layer) constipe::Objectprotected
setAttribute(Property prop, Attribute value)ipe::Objectvirtual
setMatrix(const Matrix &matrix)ipe::Objectvirtual
setPinned(TPinned pin)ipe::Object
setTransformations(TTransformations trans)ipe::Object
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
snapCtl(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
transformations() constipe::Objectinline
Type enum nameipe::Object
type() const =0ipe::Objectpure virtual
~Object()=0ipe::Objectpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_page.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page.html --- ipe-7.2.20/build/doc/classipe_1_1_page.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2712 +0,0 @@ - - - - - - - -Ipelib: ipe::Page Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Types | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Page Class Reference
-
-
- -

#include <ipepage.h>

- - - - -

-Public Types

enum  SnapMode { SnapMode::Never, -SnapMode::Visible, -SnapMode::Always - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Page ()
 
void saveAsXml (Stream &stream) const
 
void saveAsIpePage (Stream &stream) const
 
void saveSelection (Stream &stream) const
 
int countLayers () const noexcept
 
String layer (int index) const noexcept
 
bool isLocked (int i) const noexcept
 
SnapMode snapping (int i) const noexcept
 
bool objSnapsInView (int objNo, int view) const noexcept
 
void setLocked (int i, bool flag)
 
void setSnapping (int i, SnapMode mode)
 
void moveLayer (int index, int newIndex)
 
int findLayer (String name) const
 
void addLayer (String name)
 
void addLayer ()
 
void removeLayer (String name)
 
void renameLayer (String oldName, String newName)
 
void setLayerData (int index, String data)
 
String layerData (int index) const
 
int countViews () const
 
int countMarkedViews () const
 
Attribute effect (int index) const
 
void setEffect (int index, Attribute sym)
 
String active (int index) const
 
void setActive (int index, String name)
 
String viewName (int index) const noexcept
 
void setViewName (int index, String name) noexcept
 
bool markedView (int index) const
 
void setMarkedView (int index, bool marked)
 
void insertView (int i, String active)
 
void removeView (int i)
 
void clearViews ()
 
int findView (String viewNumberOrName) const
 
const AttributeMapviewMap (int index) const
 
void setViewMap (int index, const AttributeMap &map)
 
bool visible (int view, int layer) const
 
bool objectVisible (int view, int objno) const
 
std::vector< MatrixlayerMatrices (int view) const
 
void clearLayerMatrices (int view)
 
void setLayerMatrix (int view, int layer, const Matrix &m)
 
void setVisible (int view, String layer, bool vis)
 
String title () const
 
void setTitle (String title)
 
String section (int level) const
 
void setSection (int level, bool useTitle, String name)
 
bool sectionUsesTitle (int level) const
 
const TexttitleText () const
 
void applyTitleStyle (const Cascade *sheet)
 
bool marked () const
 
void setMarked (bool marked)
 
String notes () const
 
void setNotes (String notes)
 
int count () const
 
void objectsPerLayer (std::vector< int > &objcounts) const
 
Objectobject (int i)
 
const Objectobject (int i) const
 
TSelect select (int i) const
 
int layerOf (int i) const
 
void setSelect (int i, TSelect sel)
 
void setLayerOf (int i, int layer)
 
Rect pageBBox (const Cascade *sheet) const
 
Rect viewBBox (const Cascade *sheet, int view) const
 
Rect bbox (int i) const
 
void transform (int i, const Matrix &m)
 
double distance (int i, const Vector &v, double bound) const
 
void snapVtx (int i, const Vector &mouse, Vector &pos, double &bound) const
 
void snapCtl (int i, const Vector &mouse, Vector &pos, double &bound) const
 
void snapBnd (int i, const Vector &mouse, Vector &pos, double &bound) const
 
void invalidateBBox (int i) const
 
void insert (int i, TSelect sel, int layer, Object *obj)
 
void append (TSelect sel, int layer, Object *obj)
 
void remove (int i)
 
void replace (int i, Object *obj)
 
bool setAttribute (int i, Property prop, Attribute value)
 
int primarySelection () const
 
bool hasSelection () const
 
void deselectAll ()
 
void ensurePrimarySelection ()
 
- - - -

-Static Public Member Functions

static Pagebasic ()
 
-

Detailed Description

-

An Ipe document page.

-

Its main ingredients are a sequence of Objects (with selection state, layer, and a cached bounding box), a set of Layers, and a sequence of Views.

-

Each object on a Page belongs to one of the layers of the page. Layers are orthogonal to the back-to-front ordering of objects (in particular, they are not "layered" - the word is a misnomer). The "layer" is really just another attribute of the object.

- -

A Page is presented in a number of views. Each view presents some of the layers of the page. In addition, each view has an active layer (where objects are added when this view is shown in the UI), and possibly a transition effect (Acrobat Reader eye candy).

-

A Page can be copied and assigned. The operation takes time linear in the number of top-level object on the page.

-

Member Enumeration Documentation

- -

◆ SnapMode

- -
-
- - - - - -
- - - - -
enum ipe::Page::SnapMode
-
-strong
-
- - - - -
Enumerator
Never 
Visible 
Always 
- -
-
-

Constructor & Destructor Documentation

- -

◆ Page()

- -
-
- - - - - -
- - - - - - - -
Page::Page ()
-
-explicit
-
- -

The default constructor creates a new empty page.

-

This page still needs a layer and a view to be usable!

- -

Referenced by basic().

- -
-
-

Member Function Documentation

- -

◆ basic()

- -
-
- - - - - -
- - - - - - - -
Page * Page::basic ()
-
-static
-
- -

Create a new empty page with standard settings.

-

This is an empty page with layer 'alpha' and a single view.

- -

References addLayer(), insertView(), Page(), and setVisible().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - - - - -
void Page::saveAsXml (Streamstream) const
-
-
- -

◆ saveAsIpePage()

- -
-
- - - - - - - - -
void Page::saveAsIpePage (Streamstream) const
-
- -

Copy whole page with bitmaps as <ipepage> into the stream.

- -

References ipe::BitmapFinder::iBitmaps, saveAsXml(), ipe::Bitmap::saveAsXml(), ipe::BitmapFinder::scanPage(), and ipe::Bitmap::setObjNum().

- -
-
- -

◆ saveSelection()

- -
-
- - - - - - - - -
void Page::saveSelection (Streamstream) const
-
- -

Copy selected objects as <ipeselection> into the stream.

- -

References count(), ipe::BitmapFinder::iBitmaps, layer(), layerOf(), ipe::Bitmap::saveAsXml(), select(), and ipe::Bitmap::setObjNum().

- -
-
- -

◆ countLayers()

- -
-
- - - - - -
- - - - - - - -
int ipe::Page::countLayers () const
-
-inlinenoexcept
-
-
- -

◆ layer()

- -
-
- - - - - -
- - - - - - - - -
String ipe::Page::layer (int index) const
-
-inlinenoexcept
-
-
- -

◆ isLocked()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Page::isLocked (int i) const
-
-inlinenoexcept
-
-
- -

◆ snapping()

- -
-
- - - - - -
- - - - - - - - -
SnapMode ipe::Page::snapping (int i) const
-
-inlinenoexcept
-
- -

Does layer i have snapping?

- -

References addLayer(), findLayer(), moveLayer(), objSnapsInView(), removeLayer(), renameLayer(), setLayerData(), setLocked(), and setSnapping().

- -

Referenced by objSnapsInView().

- -
-
- -

◆ objSnapsInView()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Page::objSnapsInView (int objNo,
int view 
) const
-
-noexcept
-
- -

Snapping occurs if the layer is visible and has snapping enabled.

- -

References Always, layer(), layerOf(), Never, snapping(), Visible, and visible().

- -

Referenced by ipe::Snap::simpleSnap(), and snapping().

- -
-
- -

◆ setLocked()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setLocked (int i,
bool flag 
)
-
- -

Set locking of layer i.

- -

Referenced by ipe::ImlParser::parsePage(), and snapping().

- -
-
- -

◆ setSnapping()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setSnapping (int i,
SnapMode mode 
)
-
- -

Set snapping of layer i.

- -

Referenced by ipe::ImlParser::parsePage(), and snapping().

- -
-
- -

◆ moveLayer()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::moveLayer (int index,
int newIndex 
)
-
- -

Moves the position of a layer in the layer list.

- -

References layer().

- -

Referenced by snapping().

- -
-
- -

◆ findLayer()

- -
-
- - - - - - - - -
int Page::findLayer (String name) const
-
-
- -

◆ addLayer() [1/2]

- -
-
- - - - - - - - -
void Page::addLayer (String name)
-
- -

Add a new layer.

- -

References countViews().

- -

Referenced by basic(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ addLayer() [2/2]

- -
-
- - - - - - - -
void Page::addLayer ()
-
- -

Add a new layer with unique name.

- -

References findLayer().

- -

Referenced by snapping().

- -
-
- -

◆ removeLayer()

- -
-
- - - - - - - - -
void Page::removeLayer (String name)
-
- -

Removes an empty layer from the page.

-

All objects are adjusted. Panics if there are objects in the deleted layer, of if it is the only layer.

- -

References findLayer().

- -

Referenced by snapping().

- -
-
- -

◆ renameLayer()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::renameLayer (String oldName,
String newName 
)
-
- -

Rename a layer.

- -

References findLayer().

- -

Referenced by snapping().

- -
-
- -

◆ setLayerData()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setLayerData (int index,
String data 
)
-
- -

Set free data field of the layer.

- -

Referenced by ipe::ImlParser::parsePage(), and snapping().

- -
-
- -

◆ layerData()

- -
-
- - - - - -
- - - - - - - - -
String ipe::Page::layerData (int index) const
-
-inline
-
- -

Return layer data.

- -
-
- -

◆ countViews()

- -
-
- - - - - -
- - - - - - - -
int ipe::Page::countViews () const
-
-inline
-
-
- -

◆ countMarkedViews()

- -
-
- - - - - - - -
int Page::countMarkedViews () const
-
- -

References count(), countViews(), and markedView().

- -

Referenced by countViews().

- -
-
- -

◆ effect()

- -
-
- - - - - -
- - - - - - - - -
Attribute ipe::Page::effect (int index) const
-
-inline
-
- -

Return effect of view.

- -

References setEffect().

- -

Referenced by ipe::PdfWriter::createPageView(), and saveAsXml().

- -
-
- -

◆ setEffect()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setEffect (int index,
Attribute sym 
)
-
- -

Set effect of view.

-

Panics if sym is not symbolic.

- -

References ipe::Attribute::isSymbolic().

- -

Referenced by effect(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ active()

- -
-
- - - - - -
- - - - - - - - -
String ipe::Page::active (int index) const
-
-inline
-
- -

Return active layer of view.

- -

References setActive().

- -

Referenced by insertView(), markedView(), and saveAsXml().

- -
-
- -

◆ setActive()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setActive (int index,
String name 
)
-
- -

Set active layer of view.

- -

References findLayer(), and layer().

- -

Referenced by active(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ viewName()

- -
-
- - - - - -
- - - - - - - - -
String ipe::Page::viewName (int index) const
-
-inlinenoexcept
-
- -

Return name of view.

- -

Referenced by ipe::PageSelector::fill(), findView(), and saveAsXml().

- -
-
- -

◆ setViewName()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void ipe::Page::setViewName (int index,
String name 
)
-
-inlinenoexcept
-
- -

Set name of view.

- -

Referenced by ipe::ImlParser::parsePage().

- -
-
- -

◆ markedView()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Page::markedView (int index) const
-
-inline
-
- -

Return if view is marked.

- -

References active(), clearViews(), findView(), insertView(), marked(), removeView(), and setMarkedView().

- -

Referenced by countMarkedViews(), and saveAsXml().

- -
-
- -

◆ setMarkedView()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setMarkedView (int index,
bool marked 
)
-
- -

Set if view is marked.

- -

References marked().

- -

Referenced by markedView(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ insertView()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::insertView (int i,
String active 
)
-
- -

Insert a new view at index i.

- -

References active(), and countLayers().

- -

Referenced by basic(), markedView(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ removeView()

- -
-
- - - - - - - - -
void Page::removeView (int i)
-
- -

Remove the view at index i.

- -

References countLayers().

- -

Referenced by markedView().

- -
-
- -

◆ clearViews()

- -
-
- - - - - - - -
void Page::clearViews ()
-
- -

Remove all views of this page.

- -

Referenced by markedView().

- -
-
- -

◆ findView()

- -
-
- - - - - - - - -
int Page::findView (String s) const
-
- -

Return index of view with given number or name.

-

Input numbers are one-based. Returns -1 if no such view exists.

- -

References countViews(), ipe::String::empty(), ipe::Lex::getInt(), and viewName().

- -

Referenced by markedView().

- -
-
- -

◆ viewMap()

- -
-
- - - - - -
- - - - - - - - -
const AttributeMap& ipe::Page::viewMap (int index) const
-
-inline
-
-
- -

◆ setViewMap()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::setViewMap (int index,
const AttributeMapmap 
)
-
- -

Set the attribute mapping for the view.

- -

References ipe::ENotSelected.

- -

Referenced by ipe::ImlParser::parsePage(), and viewMap().

- -
-
- -

◆ visible()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool ipe::Page::visible (int view,
int layer 
) const
-
-inline
-
- -

Is layer visible in view?

- -

References layer().

- -

Referenced by ipe::PdfWriter::createPageView(), objSnapsInView(), pageBBox(), and saveAsXml().

- -
-
- -

◆ objectVisible()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool ipe::Page::objectVisible (int view,
int objno 
) const
-
-inline
-
-
- -

◆ layerMatrices()

- -
-
- - - - - - - - -
std::vector< Matrix > Page::layerMatrices (int view) const
-
- -

Return matrices for all layers.

- -

References countLayers(), findLayer(), and ipe::size().

- -

Referenced by objectVisible(), ipe::Thumbnail::render(), ipe::Thumbnail::saveRender(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ clearLayerMatrices()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Page::clearLayerMatrices (int view)
-
-inline
-
-
- -

◆ setLayerMatrix()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Page::setLayerMatrix (int view,
int layer,
const Matrixm 
)
-
- -

Set matrix for the given layer in this view.

- -

References ipe::Matrix::isIdentity(), and layer().

- -

Referenced by clearLayerMatrices(), and ipe::ImlParser::parseView().

- -
-
- -

◆ setVisible()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Page::setVisible (int view,
String layer,
bool vis 
)
-
- -

Set visibility of layer layer in view view.

- -

References findLayer().

- -

Referenced by basic(), clearLayerMatrices(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ title()

- -
-
- - - - - - - -
String Page::title () const
-
- -

Return title of this page.

- -

Referenced by applyTitleStyle(), clearLayerMatrices(), ipe::PageSelector::fill(), saveAsXml(), section(), setTitle(), and titleText().

- -
-
- -

◆ setTitle()

- -
-
- - - - - - - - -
void Page::setTitle (String title)
-
- -

Set the title of this page.

-

An empty title is not displayed.

- -

References ipe::Text::setText(), and title().

- -

Referenced by clearLayerMatrices(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ section()

- -
-
- - - - - - - - -
String Page::section (int level) const
-
- -

Return section title at level.

-

Level 0 is the section, level 1 the subsection.

- -

References title().

- -

Referenced by clearLayerMatrices(), and ipe::Document::findPage().

- -
-
- -

◆ setSection()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Page::setSection (int level,
bool useTitle,
String name 
)
-
- -

Set the section title at level.

-

Level 0 is the section, level 1 the subsection.

-

If useTitle is true, then name is ignored, and the section title will be copied from the page title (and further changes to the page title are automatically reflected).

- -

Referenced by clearLayerMatrices(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ sectionUsesTitle()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Page::sectionUsesTitle (int level) const
-
-inline
-
- -

Does this section title reflect the page title?

- -

References applyTitleStyle(), and titleText().

- -
-
- -

◆ titleText()

- -
-
- - - - - - - -
const Text * Page::titleText () const
-
- -

Return Text object representing the title text.

-

Return 0 if no title is set. Ownership of object remains with Page.

- -

References title().

- -

Referenced by ipe::Thumbnail::saveRender(), ipe::Latex::scanPage(), sectionUsesTitle(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ applyTitleStyle()

- -
-
- - - - - - - - -
void Page::applyTitleStyle (const Cascadesheet)
-
-
- -

◆ marked()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Page::marked () const
-
-inline
-
- -

Return if page is marked for printing.

- -

References setMarked().

- -

Referenced by markedView(), setMarked(), and setMarkedView().

- -
-
- -

◆ setMarked()

- -
-
- - - - - - - - -
void Page::setMarked (bool marked)
-
- -

Set if page is marked for printing.

- -

References marked().

- -

Referenced by marked(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ notes()

- -
-
- - - - - -
- - - - - - - -
String ipe::Page::notes () const
-
-inline
-
- -

Return notes for this page.

- -

References setNotes().

- -

Referenced by ipe::PdfWriter::createPageView(), and setNotes().

- -
-
- -

◆ setNotes()

- -
-
- - - - - - - - -
void Page::setNotes (String notes)
-
- -

Set the notes of this page.

- -

References notes().

- -

Referenced by notes(), and ipe::ImlParser::parsePage().

- -
-
- -

◆ count()

- -
-
- - - - - -
- - - - - - - -
int ipe::Page::count () const
-
-inline
-
-
- -

◆ objectsPerLayer()

- -
-
- - - - - - - - -
void Page::objectsPerLayer (std::vector< int > & objcounts) const
-
- -

Return number of objects in each layer.

- -

References countLayers().

- -

Referenced by count().

- -
-
- -

◆ object() [1/2]

- -
-
- - - - - -
- - - - - - - - -
Object* ipe::Page::object (int i)
-
-inline
-
-
- -

◆ object() [2/2]

- -
-
- - - - - -
- - - - - - - - -
const Object* ipe::Page::object (int i) const
-
-inline
-
- -

Return object at index i (const version).

- -
-
- -

◆ select()

- -
-
- - - - - -
- - - - - - - - -
TSelect ipe::Page::select (int i) const
-
-inline
-
-
- -

◆ layerOf()

- -
-
- - - - - -
- - - - - - - - -
int ipe::Page::layerOf (int i) const
-
-inline
-
-
- -

◆ setSelect()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void ipe::Page::setSelect (int i,
TSelect sel 
)
-
-inline
-
- -

Set selection status of object at index i.

- -

Referenced by deselectAll(), ensurePrimarySelection(), and ipe::SelectTool::mouseButton().

- -
-
- -

◆ setLayerOf()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void ipe::Page::setLayerOf (int i,
int layer 
)
-
-inline
-
-
- -

◆ pageBBox()

- -
-
- - - - - - - - -
Rect Page::pageBBox (const Cascadesheet) const
-
- -

Returns a precise bounding box for the artwork on the page.

-

This is meant to be used as the bounding box in PDF output. It is computed by rendering all objects on the page that are visible in at least one view, plus all objects in a layer named "BBOX" (even if that is not visible), using a BBoxPainter.

- -

References ipe::BBoxPainter::bbox(), count(), countLayers(), countViews(), layer(), layerOf(), and visible().

- -

Referenced by ipe::PdfWriter::createPageView(), ipe::Thumbnail::saveRender(), and setLayerOf().

- -
-
- -

◆ viewBBox()

- -
-
- - - - - - - - - - - - - - - - - - -
Rect Page::viewBBox (const Cascadesheet,
int view 
) const
-
- -

Returns a precise bounding box for the artwork in the view.

-

This is meant to be used as the bounding box in PDF and EPS output. It is computed by rendering all objects in the page using a BBoxPainter.

- -

References ipe::BBoxPainter::bbox(), count(), and objectVisible().

- -

Referenced by ipe::PdfWriter::createPageView(), and setLayerOf().

- -
-
- -

◆ bbox()

- -
-
- - - - - - - - -
Rect Page::bbox (int i) const
-
- -

Return a bounding box for the object at index i.

-

This is a bounding box including the control points of the object. If you need a tight bounding box, you'll need to use the Object directly.

-

The Page caches the box the first time it is computed.

-

Make sure you call Page::transform instead of Object::setMatrix, as the latter would not invalidate the bounding box.

- -

Referenced by ipe::PdfWriter::createPageView(), distance(), setLayerOf(), snapBnd(), snapCtl(), snapVtx(), and ipe::TransformTool::TransformTool().

- -
-
- -

◆ transform()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::transform (int i,
const Matrixm 
)
-
- -

Transform the object at index i.

-

Use this function instead of calling Object::setMatrix directly, as the latter doesn't invalidate the cached bounding box.

- -

References invalidateBBox(), object(), and ipe::Object::setMatrix().

- -

Referenced by setLayerOf().

- -
-
- -

◆ distance()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
double Page::distance (int i,
const Vectorv,
double bound 
) const
-
- -

Return distance between object at index i and v.

-

But may just return bound if the distance is larger. This function uses the cached bounded box, and is faster than calling Object::distance directly.

- -

References bbox(), ipe::Object::distance(), and object().

- -

Referenced by ipe::SelectTool::SelectTool(), and setLayerOf().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Page::snapVtx (int i,
const Vectormouse,
Vectorpos,
double & bound 
) const
-
- -

Compute possible vertex snapping position for object at index i.

-

Looks only for positions closer than bound. If successful, modifies pos and bound.

- -

References bbox(), object(), and ipe::Object::snapVtx().

- -

Referenced by setLayerOf(), and ipe::Snap::simpleSnap().

- -
-
- -

◆ snapCtl()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Page::snapCtl (int i,
const Vectormouse,
Vectorpos,
double & bound 
) const
-
- -

Compute possible control point snapping position for object at index i.

-

Looks only for positions closer than bound. If successful, modifies pos and bound.

- -

References bbox(), object(), and ipe::Object::snapCtl().

- -

Referenced by setLayerOf(), and ipe::Snap::simpleSnap().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Page::snapBnd (int i,
const Vectormouse,
Vectorpos,
double & bound 
) const
-
- -

Compute possible boundary snapping position for object at index i.

-

Looks only for positions closer than bound. If successful, modifies pos and bound.

- -

References bbox(), object(), and ipe::Object::snapBnd().

- -

Referenced by setLayerOf(), and ipe::Snap::simpleSnap().

- -
-
- -

◆ invalidateBBox()

- -
-
- - - - - - - - -
void Page::invalidateBBox (int i) const
-
- -

Invalidate the bounding box at index i (the object is somehow changed).

- -

Referenced by replace(), ipe::Latex::scanPage(), setAttribute(), setLayerOf(), and transform().

- -
-
- -

◆ insert()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Page::insert (int i,
TSelect select,
int layer,
Objectobj 
)
-
- -

Insert a new object at index i.

-

Takes ownership of the object.

- -

References layer(), and select().

- -

Referenced by ipe::ImlParser::parsePage(), and setLayerOf().

- -
-
- -

◆ append()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Page::append (TSelect select,
int layer,
Objectobj 
)
-
- -

Append a new object.

-

Takes ownership of the object.

- -

References layer(), and select().

- -

Referenced by setLayerOf().

- -
-
- -

◆ remove()

- -
-
- - - - - - - - -
void Page::remove (int i)
-
- -

Remove the object at index i.

- -
-
- -

◆ replace()

- -
-
- - - - - - - - - - - - - - - - - - -
void Page::replace (int i,
Objectobj 
)
-
- -

Replace the object at index i.

-

Takes ownership of obj.

- -

References invalidateBBox().

- -

Referenced by setLayerOf().

- -
-
- -

◆ setAttribute()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool Page::setAttribute (int i,
Property prop,
Attribute value 
)
-
- -

Set attribute prop of object at index i to value.

-

This method automatically invalidates the bounding box if a ETextSize property is actually changed.

- -

References ipe::EPropTextSize, ipe::EPropTransformations, invalidateBBox(), object(), and ipe::Object::setAttribute().

- -

Referenced by setLayerOf().

- -
-
- -

◆ primarySelection()

- -
-
- - - - - - - -
int Page::primarySelection () const
-
- -

Return index of primary selection.

-

Returns -1 if there is no primary selection.

- -

References count(), ipe::EPrimarySelected, and select().

- -

Referenced by ipe::SelectTool::mouseButton(), and setLayerOf().

- -
-
- -

◆ hasSelection()

- -
-
- - - - - - - -
bool Page::hasSelection () const
-
- -

Returns true iff any object on the page is selected.

- -

References count(), and select().

- -

Referenced by ipe::SelectTool::mouseButton(), and setLayerOf().

- -
-
- -

◆ deselectAll()

- -
-
- - - - - - - -
void Page::deselectAll ()
-
- -

Deselect all objects.

- -

References count(), ipe::ENotSelected, and setSelect().

- -

Referenced by ipe::SelectTool::mouseButton(), and setLayerOf().

- -
-
- -

◆ ensurePrimarySelection()

- -
-
- - - - - - - -
void Page::ensurePrimarySelection ()
-
-

If no object is the primary selection, make the topmost secondary selection the primary one.

- -

References count(), ipe::EPrimarySelected, ipe::ESecondarySelected, select(), and setSelect().

- -

Referenced by ipe::SelectTool::mouseButton(), and setLayerOf().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_page-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page-members.html --- ipe-7.2.20/build/doc/classipe_1_1_page-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,133 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Page Member List
-
-
- -

This is the complete list of members for ipe::Page, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
active(int index) constipe::Pageinline
addLayer(String name)ipe::Page
addLayer()ipe::Page
append(TSelect sel, int layer, Object *obj)ipe::Page
applyTitleStyle(const Cascade *sheet)ipe::Page
basic()ipe::Pagestatic
bbox(int i) constipe::Page
clearLayerMatrices(int view)ipe::Pageinline
clearViews()ipe::Page
count() constipe::Pageinline
countLayers() const noexceptipe::Pageinline
countMarkedViews() constipe::Page
countViews() constipe::Pageinline
deselectAll()ipe::Page
distance(int i, const Vector &v, double bound) constipe::Page
effect(int index) constipe::Pageinline
ensurePrimarySelection()ipe::Page
findLayer(String name) constipe::Page
findView(String viewNumberOrName) constipe::Page
hasSelection() constipe::Page
insert(int i, TSelect sel, int layer, Object *obj)ipe::Page
insertView(int i, String active)ipe::Page
invalidateBBox(int i) constipe::Page
isLocked(int i) const noexceptipe::Pageinline
layer(int index) const noexceptipe::Pageinline
layerData(int index) constipe::Pageinline
layerMatrices(int view) constipe::Page
layerOf(int i) constipe::Pageinline
marked() constipe::Pageinline
markedView(int index) constipe::Pageinline
moveLayer(int index, int newIndex)ipe::Page
notes() constipe::Pageinline
object(int i)ipe::Pageinline
object(int i) constipe::Pageinline
objectsPerLayer(std::vector< int > &objcounts) constipe::Page
objectVisible(int view, int objno) constipe::Pageinline
objSnapsInView(int objNo, int view) const noexceptipe::Page
Page()ipe::Pageexplicit
pageBBox(const Cascade *sheet) constipe::Page
primarySelection() constipe::Page
remove(int i)ipe::Page
removeLayer(String name)ipe::Page
removeView(int i)ipe::Page
renameLayer(String oldName, String newName)ipe::Page
replace(int i, Object *obj)ipe::Page
saveAsIpePage(Stream &stream) constipe::Page
saveAsXml(Stream &stream) constipe::Page
saveSelection(Stream &stream) constipe::Page
section(int level) constipe::Page
sectionUsesTitle(int level) constipe::Pageinline
select(int i) constipe::Pageinline
setActive(int index, String name)ipe::Page
setAttribute(int i, Property prop, Attribute value)ipe::Page
setEffect(int index, Attribute sym)ipe::Page
setLayerData(int index, String data)ipe::Page
setLayerMatrix(int view, int layer, const Matrix &m)ipe::Page
setLayerOf(int i, int layer)ipe::Pageinline
setLocked(int i, bool flag)ipe::Page
setMarked(bool marked)ipe::Page
setMarkedView(int index, bool marked)ipe::Page
setNotes(String notes)ipe::Page
setSection(int level, bool useTitle, String name)ipe::Page
setSelect(int i, TSelect sel)ipe::Pageinline
setSnapping(int i, SnapMode mode)ipe::Page
setTitle(String title)ipe::Page
setViewMap(int index, const AttributeMap &map)ipe::Page
setViewName(int index, String name) noexceptipe::Pageinline
setVisible(int view, String layer, bool vis)ipe::Page
snapBnd(int i, const Vector &mouse, Vector &pos, double &bound) constipe::Page
snapCtl(int i, const Vector &mouse, Vector &pos, double &bound) constipe::Page
SnapMode enum nameipe::Page
snapping(int i) const noexceptipe::Pageinline
snapVtx(int i, const Vector &mouse, Vector &pos, double &bound) constipe::Page
title() constipe::Page
titleText() constipe::Page
transform(int i, const Matrix &m)ipe::Page
viewBBox(const Cascade *sheet, int view) constipe::Page
viewMap(int index) constipe::Pageinline
viewName(int index) const noexceptipe::Pageinline
visible(int view, int layer) constipe::Pageinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_page_selector.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page_selector.html --- ipe-7.2.20/build/doc/classipe_1_1_page_selector.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page_selector.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,194 +0,0 @@ - - - - - - - -Ipelib: ipe::PageSelector Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Signals | -Public Member Functions | -List of all members
-
-
ipe::PageSelector Class Reference
-
-
- -

#include <ipeselector_qt.h>

- -

Inherits QListWidget.

- - - - -

-Signals

void selectionMade ()
 
- - - - - - - -

-Public Member Functions

 PageSelector (QWidget *parent=nullptr)
 
void fill (std::vector< QPixmap > &icons, std::vector< String > &labels)
 
int selectedIndex () const
 
-

Detailed Description

-

A Qt widget that displays a list of Ipe pages.

-

Constructor & Destructor Documentation

- -

◆ PageSelector()

- -
-
- - - - - - - - -
PageSelector::PageSelector (QWidget * parent = nullptr)
-
- -

Construct the widget.

-

If page is negative, the last view of each page is shown. Otherwise, all views of this page are shown. itemWidth is the width of the page thumbnails (the height is computed automatically).

- -

References selectionMade().

- -

Referenced by fill().

- -
-
-

Member Function Documentation

- -

◆ fill()

- -
-
- - - - - - - - - - - - - - - - - - -
void PageSelector::fill (std::vector< QPixmap > & icons,
std::vector< String > & labels 
)
-
-
- -

◆ selectedIndex()

- -
-
- - - - - -
- - - - - - - -
int ipe::PageSelector::selectedIndex () const
-
-inline
-
- -

References selectionMade().

- -

Referenced by fill().

- -
-
- -

◆ selectionMade

- -
-
- - - - - -
- - - - - - - -
void ipe::PageSelector::selectionMade ()
-
-signal
-
- -

Referenced by fill(), PageSelector(), and selectedIndex().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_page_selector-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page_selector-members.html --- ipe-7.2.20/build/doc/classipe_1_1_page_selector-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_page_selector-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,57 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PageSelector Member List
-
-
- -

This is the complete list of members for ipe::PageSelector, including all inherited members.

- - - - - -
fill(std::vector< QPixmap > &icons, std::vector< String > &labels)ipe::PageSelector
PageSelector(QWidget *parent=nullptr)ipe::PageSelector
selectedIndex() constipe::PageSelectorinline
selectionMade()ipe::PageSelectorsignal
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_painter.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_painter.html --- ipe-7.2.20/build/doc/classipe_1_1_painter.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_painter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,2388 +0,0 @@ - - - - - - - -Ipelib: ipe::Painter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::Painter Class Reference
-
-
- -

#include <ipepainter.h>

- -

Inherited by DecorationPainter, ipe::BBoxPainter, ipe::CairoPainter, ipe::PdfPainter, and IpeQtPainter.

- - - - -

-Classes

struct  State
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Painter (const Cascade *style)
 
virtual ~Painter ()
 
void setAttributeMap (const AttributeMap *map)
 
Attribute lookup (Kind kind, Attribute sym) const
 
void transform (const Matrix &m)
 
void untransform (TTransformations trans)
 
void translate (const Vector &v)
 
void push ()
 
void pop ()
 
void pushMatrix ()
 
void popMatrix ()
 
void newPath ()
 
void moveTo (const Vector &v)
 
void lineTo (const Vector &v)
 
void curveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
void curveTo (const Bezier &bezier)
 
void rect (const Rect &re)
 
void drawEllipse ()
 
void drawArc (const Arc &arc)
 
void closePath ()
 
void drawPath (TPathMode mode)
 
void drawBitmap (Bitmap bitmap)
 
void drawText (const Text *text)
 
void drawSymbol (Attribute symbol)
 
void addClipPath ()
 
void setStroke (Attribute color)
 
void setFill (Attribute color)
 
void setPen (Attribute pen)
 
void setDashStyle (Attribute dash)
 
void setLineCap (TLineCap cap)
 
void setLineJoin (TLineJoin join)
 
void setFillRule (TFillRule rule)
 
void setSymStroke (Attribute color)
 
void setSymFill (Attribute color)
 
void setSymPen (Attribute wid)
 
void setOpacity (Attribute opaq)
 
void setStrokeOpacity (Attribute opaq)
 
void setTiling (Attribute til)
 
void setGradient (Attribute grad)
 
const Cascadecascade () const
 
Color stroke () const
 
Color fill () const
 
const Matrixmatrix () const
 
Fixed pen () const
 
String dashStyle () const
 
void dashStyle (std::vector< double > &dashes, double &offset) const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
Color symStroke () const
 
Color symFill () const
 
Fixed symPen () const
 
Fixed opacity () const
 
Fixed strokeOpacity () const
 
Attribute tiling () const
 
Attribute gradient () const
 
const Statestate () const
 
void setState (const State &state)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

virtual void doPush ()
 
virtual void doPop ()
 
virtual void doNewPath ()
 
virtual void doMoveTo (const Vector &v)
 
virtual void doLineTo (const Vector &v)
 
virtual void doCurveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
virtual void doDrawArc (const Arc &arc)
 
virtual void doClosePath ()
 
virtual void doDrawPath (TPathMode mode)
 
virtual void doDrawBitmap (Bitmap bitmap)
 
virtual void doDrawText (const Text *text)
 
virtual void doDrawSymbol (Attribute symbol)
 
virtual void doAddClipPath ()
 
void drawArcAsBezier (double alpha)
 
- - - - - - - - - - - -

-Protected Attributes

std::list< StateiState
 
std::list< MatrixiMatrix
 
const CascadeiCascade
 
const AttributeMapiAttributeMap
 
int iInPath
 
-

Detailed Description

-

Interface for drawing.

-

Painter-derived classes are used for drawing to the screen and for generating PDF and Postscript output.

-

The Painter maintains a stack of graphics states, which includes stroke and fill color, line width, dash style, miter limit, line cap and line join. It also maintains a separate stack of transformation matrices. The Painter class takes care of maintaining the stacks, and setting of the attributes in the current graphics state.

-

Setting an attribute with a symbolic value is resolved immediately using the stylesheet Cascade attached to the Painter, so calling the stroke() or fill() methods of Painter will return the current absolute color.

-

It's okay to set symbolic attributes that the stylesheet does not define - they are set to a default absolute value (black, solid, etc.).

-

The painter is either in "general" or in "path construction" mode. The newPath() member starts path construction mode. In this mode, only the path construction operators (moveTo, lineTo, curveTo, rect, drawArc, closePath), the transformation operators (transform, untransform, translate), and the matrix stack operators (pushMatrix, popMatrix) are admissible. The path is drawn using drawPath, this ends path construction mode. Path construction operators cannot be used in general mode.

-

The graphics state for a path must be set before starting path construction mode, that is, before calling newPath().

-

Derived classes need to implement the doXXX functions for drawing paths, images, and texts. The transformation matrix has already been applied to the coordinates passed to the doXXX functions.

-

Constructor & Destructor Documentation

- -

◆ Painter()

- -
-
- - - - - - - - -
Painter::Painter (const Cascadestyle)
-
-
- -

◆ ~Painter()

- -
-
- - - - - -
- - - - - - - -
Painter::~Painter ()
-
-virtual
-
- -

Virtual destructor.

- -
-
-

Member Function Documentation

- -

◆ setAttributeMap()

- -
-
- - - - - - - - -
void Painter::setAttributeMap (const AttributeMapmap)
-
- -

Set a new attribute map.

- -

References iAttributeMap.

- -

Referenced by ipe::Thumbnail::render(), ipe::Thumbnail::saveRender(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ lookup()

- -
-
- - - - - - - - - - - - - - - - - - -
Attribute Painter::lookup (Kind kind,
Attribute sym 
) const
-
- -

Lookup a symbolic attribute.

-

Uses first the attribute map and then the stylesheet.

- -

References ipe::Cascade::find(), iAttributeMap, iCascade, ipe::Attribute::isSymbolic(), and ipe::AttributeMap::map().

- -

Referenced by ipe::Reference::draw(), setDashStyle(), setFill(), setOpacity(), setPen(), setStroke(), setStrokeOpacity(), setSymFill(), setSymPen(), and setSymStroke().

- -
-
- -

◆ transform()

- -
-
- - - - - - - - -
void Painter::transform (const Matrixm)
-
-
- -

◆ untransform()

- -
-
- - - - - - - - -
void Painter::untransform (TTransformations trans)
-
- -

Reset transformation to original one, but with different origin/direction.

-

This changes the current transformation matrix to the one set before the first push operation, but maintaining the current origin. Only the operations allowed in allowed are applied.

- -

References ipe::Matrix::a, ipe::ETransformationsAffine, ipe::ETransformationsRigidMotions, iMatrix, matrix(), and ipe::Matrix::translation().

- -

Referenced by ipe::Image::draw(), ipe::Text::draw(), ipe::Reference::draw(), ipe::Group::draw(), ipe::Path::draw(), ipe::Path::drawArrow(), ipe::Image::drawSimple(), ipe::Text::drawSimple(), ipe::Reference::drawSimple(), ipe::Group::drawSimple(), and ipe::Path::drawSimple().

- -
-
- -

◆ translate()

- -
-
- - - - - - - - -
void Painter::translate (const Vectorv)
-
-
- -

◆ push()

- -
-
- - - - - - - -
void Painter::push ()
-
- -

Save current graphics state.

-

Cannot be called in path construction mode.

- -

References doPush(), iInPath, iState, and state().

- -

Referenced by ipe::Image::draw(), ipe::Text::draw(), ipe::Reference::draw(), ipe::Group::draw(), ipe::Path::draw(), ipe::Path::drawArrow(), ipe::Reference::drawSimple(), and ipe::Group::drawSimple().

- -
-
- -

◆ pop()

- -
-
- - - - - - - -
void Painter::pop ()
-
- -

Restore previous graphics state.

-

Cannot be called in path construction mode.

- -

References doPop(), iInPath, and iState.

- -

Referenced by ipe::Image::draw(), ipe::Text::draw(), ipe::Reference::draw(), ipe::Group::draw(), ipe::Path::draw(), ipe::Path::drawArrow(), ipe::Reference::drawSimple(), and ipe::Group::drawSimple().

- -
-
- -

◆ pushMatrix()

- -
-
- - - - - - - -
void Painter::pushMatrix ()
-
-
- -

◆ popMatrix()

- -
-
- - - - - - - -
void Painter::popMatrix ()
-
-
- -

◆ newPath()

- -
-
- - - - - - - -
void Painter::newPath ()
-
-
- -

◆ moveTo()

- -
-
- - - - - - - - -
void Painter::moveTo (const Vectorv)
-
-
- -

◆ lineTo()

- -
-
- - - - - - - - -
void Painter::lineTo (const Vectorv)
-
- -

Add line segment to current subpath.

- -

References doLineTo(), iInPath, and matrix().

- -

Referenced by ipe::CurveSegment::draw(), ipe::Path::drawArrow(), ipe::Text::drawSimple(), ipe::Reference::drawSimple(), and rect().

- -
-
- -

◆ curveTo() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Painter::curveTo (const Vectorv1,
const Vectorv2,
const Vectorv3 
)
-
- -

Add a Bezier segment to current subpath.

- -

References doCurveTo(), iInPath, and matrix().

- -

Referenced by curveTo(), ipe::CurveSegment::draw(), ipe::ClosedSpline::draw(), and drawArcAsBezier().

- -
-
- -

◆ curveTo() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void ipe::Painter::curveTo (const Bezierbezier)
-
-inline
-
- -

Overloaded function.

-

Assumes current position is bezier.iV[0]

- -

References curveTo(), and ipe::Bezier::iV.

- -
-
- -

◆ rect()

- -
-
- - - - - - - - -
void Painter::rect (const Rectre)
-
- -

Add a rectangle subpath to the path.

-

This is implemented in terms of moveTo() and lineTo().

- -

References ipe::Rect::bottomLeft(), ipe::Rect::bottomRight(), closePath(), lineTo(), moveTo(), ipe::Rect::topLeft(), and ipe::Rect::topRight().

- -

Referenced by ipe::PanTool::draw(), ipe::SelectTool::draw(), and ipe::Image::drawSimple().

- -
-
- -

◆ drawEllipse()

- -
-
- - - - - - - -
void ipe::Painter::drawEllipse ()
-
- -
-
- -

◆ drawArc()

- -
-
- - - - - - - - -
void Painter::drawArc (const Arcarc)
-
- -

Add an elliptic arc to current path.

-

Assumes the current point is arc.beginp().

- -

References doDrawArc(), and iInPath.

- -

Referenced by ipe::SelectTool::draw(), ipe::CurveSegment::draw(), ipe::Ellipse::draw(), and ipe::Path::drawArrow().

- -
-
- -

◆ closePath()

- -
-
- - - - - - - -
void Painter::closePath ()
-
-
- -

◆ drawPath()

- -
-
- - - - - - - - -
void Painter::drawPath (TPathMode mode)
-
- -

Fill and/or stroke a path.

-

As in PDF, a "path" can consist of several subpaths. Whether it is filled or stroked depends on mode.

- -

References doDrawPath(), and iInPath.

- -

Referenced by ipe::PanTool::draw(), ipe::SelectTool::draw(), ipe::Path::draw(), ipe::Path::drawArrow(), ipe::Image::drawSimple(), ipe::Text::drawSimple(), ipe::Reference::drawSimple(), and ipe::Path::drawSimple().

- -
-
- -

◆ drawBitmap()

- -
-
- - - - - - - - -
void Painter::drawBitmap (Bitmap bitmap)
-
- -

Render a bitmap.

-

Assumes the transformation matrix has been set up to map the unit square to the image area on the paper.

- -

References doDrawBitmap(), and iInPath.

- -

Referenced by ipe::Image::draw().

- -
-
- -

◆ drawText()

- -
-
- - - - - - - - -
void Painter::drawText (const Texttext)
-
- -

Render a text object.

-

Stroke color is already set, and the origin is the lower-left corner of the text box (not the reference point!).

- -

References doDrawText(), and iInPath.

- -

Referenced by ipe::Text::draw().

- -
-
- -

◆ drawSymbol()

- -
-
- - - - - - - - -
void Painter::drawSymbol (Attribute symbol)
-
- -

Render a symbol.

-

The current coordinate system is already the symbol coordinate system. If the symbol is parameterized, then sym-stroke, sym-fill, and sym-pen are already set.

- -

References doDrawSymbol(), and iInPath.

- -

Referenced by ipe::Reference::draw().

- -
-
- -

◆ addClipPath()

- -
-
- - - - - - - -
void Painter::addClipPath ()
-
- -

Add current path as clip path.

- -

References doAddClipPath(), and iInPath.

- -

Referenced by ipe::Group::draw(), and ipe::Group::drawSimple().

- -
-
- -

◆ setStroke()

- -
-
- - - - - - - - -
void Painter::setStroke (Attribute color)
-
-
- -

◆ setFill()

- -
-
- - - - - - - - -
void Painter::setFill (Attribute color)
-
- -

Set fill color, resolving symbolic color.

- -

References ipe::Attribute::color(), ipe::EColor, iInPath, iState, lookup(), ipe::Attribute::SYM_FILL(), and ipe::Attribute::SYM_STROKE().

- -

Referenced by ipe::Path::draw(), and ipe::Path::drawArrow().

- -
-
- -

◆ setPen()

- -
-
- - - - - - - - -
void Painter::setPen (Attribute pen)
-
- -

Set pen, resolving symbolic value.

- -

References ipe::EPen, iInPath, iState, lookup(), ipe::Attribute::number(), and ipe::Attribute::SYM_PEN().

- -

Referenced by ipe::Path::draw(), and ipe::CanvasBase::drawTool().

- -
-
- -

◆ setDashStyle()

- -
-
- - - - - - - - -
void Painter::setDashStyle (Attribute dash)
-
- -

Set dash style, resolving symbolic value.

- -

References ipe::EDashStyle, iInPath, iState, lookup(), and ipe::Attribute::string().

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ setLineCap()

- -
-
- - - - - - - - -
void Painter::setLineCap (TLineCap cap)
-
- -

Set line cap.

-

If cap is EDefaultCap, the current setting remains unchanged.

- -

References ipe::EDefaultCap, iInPath, and iState.

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ setLineJoin()

- -
-
- - - - - - - - -
void Painter::setLineJoin (TLineJoin join)
-
- -

Set line join.

-

If join is EDefaultJoin, the current setting remains unchanged.

- -

References ipe::EDefaultJoin, iInPath, and iState.

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ setFillRule()

- -
-
- - - - - - - - -
void Painter::setFillRule (TFillRule rule)
-
- -

Set fill rule (wind or even-odd).

-

If the rule is EDefaultRule, the current setting remains unchanged.

- -

References ipe::EDefaultRule, iInPath, and iState.

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ setSymStroke()

- -
-
- - - - - - - - -
void Painter::setSymStroke (Attribute color)
-
- -

Set symbol stroke color, resolving symbolic color.

- -

References ipe::Attribute::color(), ipe::EColor, iInPath, iState, lookup(), ipe::Attribute::SYM_FILL(), and ipe::Attribute::SYM_STROKE().

- -

Referenced by ipe::Reference::draw(), and ipe::Path::drawArrow().

- -
-
- -

◆ setSymFill()

- -
-
- - - - - - - - -
void Painter::setSymFill (Attribute color)
-
- -

Set symbol fill color, resolving symbolic color.

- -

References ipe::Attribute::color(), ipe::EColor, iInPath, iState, lookup(), ipe::Attribute::SYM_FILL(), and ipe::Attribute::SYM_STROKE().

- -

Referenced by ipe::Reference::draw(), and ipe::Path::drawArrow().

- -
-
- -

◆ setSymPen()

- -
-
- - - - - - - - -
void Painter::setSymPen (Attribute wid)
-
- -

Set symbol pen, resolving symbolic pen.

- -

References ipe::EPen, iInPath, iState, lookup(), ipe::Attribute::number(), and ipe::Attribute::SYM_PEN().

- -

Referenced by ipe::Reference::draw(), and ipe::Path::drawArrow().

- -
-
- -

◆ setOpacity()

- -
-
- - - - - - - - -
void Painter::setOpacity (Attribute opaq)
-
- -

Set opacity.

- -

References ipe::EOpacity, iInPath, iState, lookup(), and ipe::Attribute::number().

- -

Referenced by ipe::Image::draw(), ipe::Text::draw(), and ipe::Path::draw().

- -
-
- -

◆ setStrokeOpacity()

- -
-
- - - - - - - - -
void Painter::setStrokeOpacity (Attribute opaq)
-
- -

Set stroke opacity.

- -

References ipe::EOpacity, iInPath, iState, lookup(), and ipe::Attribute::number().

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ setTiling()

- -
-
- - - - - - - - -
void Painter::setTiling (Attribute tiling)
-
- -

Set tiling pattern.

-

If tiling is not normal, resets the gradient pattern.

- -

References iInPath, ipe::Attribute::isNormal(), iState, ipe::Attribute::NORMAL(), and tiling().

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ setGradient()

- -
-
- - - - - - - - -
void Painter::setGradient (Attribute grad)
-
- -

Set gradient fill.

-

If grad is not normal, resets the tiling pattern.

- -

References iInPath, ipe::Attribute::isNormal(), iState, and ipe::Attribute::NORMAL().

- -

Referenced by ipe::Path::draw().

- -
-
- -

◆ cascade()

- -
-
- - - - - -
- - - - - - - -
const Cascade* ipe::Painter::cascade () const
-
-inline
-
-
- -

◆ stroke()

- -
-
- - - - - -
- - - - - - - -
Color ipe::Painter::stroke () const
-
-inline
-
-
- -

◆ fill()

- -
-
- - - - - -
- - - - - - - -
Color ipe::Painter::fill () const
-
-inline
-
- -

Return current fill color.

- -

References iState.

- -

Referenced by ipe::CairoPainter::doDrawPath(), ipe::CairoPainter::executeStream(), and ipe::CairoPainter::type3Font().

- -
-
- -

◆ matrix()

- -
-
- - - - - -
- - - - - - - -
const Matrix& ipe::Painter::matrix () const
-
-inline
-
-
- -

◆ pen()

- -
-
- - - - - -
- - - - - - - -
Fixed ipe::Painter::pen () const
-
-inline
-
- -

Return current pen.

- -

References iState.

- -

Referenced by ipe::BBoxPainter::doDrawPath(), ipe::CairoPainter::doDrawPath(), and ipe::Path::drawArrow().

- -
-
- -

◆ dashStyle() [1/2]

- -
-
- - - - - -
- - - - - - - -
String ipe::Painter::dashStyle () const
-
-inline
-
- -

Return current dash style (always absolute attribute).

- -

References iState.

- -

Referenced by dashStyle(), and ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ dashStyle() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - -
void Painter::dashStyle (std::vector< double > & dashes,
double & offset 
) const
-
- -

Return dashstyle as a double sequence.

- -

References dashStyle(), ipe::String::find(), and ipe::String::substr().

- -
-
- -

◆ lineCap()

- -
-
- - - - - -
- - - - - - - -
TLineCap ipe::Painter::lineCap () const
-
-inline
-
- -

Return current line cap.

- -

References iState.

- -

Referenced by ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ lineJoin()

- -
-
- - - - - -
- - - - - - - -
TLineJoin ipe::Painter::lineJoin () const
-
-inline
-
- -

Return current line join.

- -

References iState.

- -

Referenced by ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ fillRule()

- -
-
- - - - - -
- - - - - - - -
TFillRule ipe::Painter::fillRule () const
-
-inline
-
- -

Return current fill rule.

- -

References iState.

- -

Referenced by ipe::PdfPainter::doDrawPath(), and ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ symStroke()

- -
-
- - - - - -
- - - - - - - -
Color ipe::Painter::symStroke () const
-
-inline
-
- -

Return current symbol stroke color.

- -

References iState.

- -
-
- -

◆ symFill()

- -
-
- - - - - -
- - - - - - - -
Color ipe::Painter::symFill () const
-
-inline
-
- -

Return current symbol fill color.

- -

References iState.

- -
-
- -

◆ symPen()

- -
-
- - - - - -
- - - - - - - -
Fixed ipe::Painter::symPen () const
-
-inline
-
- -

Return current symbol pen.

- -

References iState.

- -
-
- -

◆ opacity()

- -
-
- - - - - -
- - - - - - - -
Fixed ipe::Painter::opacity () const
-
-inline
-
-
- -

◆ strokeOpacity()

- -
-
- - - - - -
- - - - - - - -
Fixed ipe::Painter::strokeOpacity () const
-
-inline
-
- -

Return current stroke opacity.

- -

References iState.

- -

Referenced by ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ tiling()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Painter::tiling () const
-
-inline
-
- -

Return current tiling.

- -

References iState.

- -

Referenced by ipe::CairoPainter::doDrawPath(), ipe::PdfPainter::doDrawSymbol(), and setTiling().

- -
-
- -

◆ gradient()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Painter::gradient () const
-
-inline
-
- -

Return current gradient fill.

- -

References iState.

- -

Referenced by ipe::CairoPainter::doDrawPath().

- -
-
- -

◆ state()

- -
-
- - - - - -
- - - - - - - -
const State& ipe::Painter::state () const
-
-inline
-
-
- -

◆ setState()

- -
-
- - - - - - - - -
void Painter::setState (const Statestate)
-
- -

Set full graphics state at once.

- -

References iState, and state().

- -

Referenced by state().

- -
-
- -

◆ doPush()

- -
-
- - - - - -
- - - - - - - -
void Painter::doPush ()
-
-protectedvirtual
-
- -

Perform graphics state push on output medium.

- -

Reimplemented in ipe::CairoPainter, ipe::PdfPainter, and ipe::BBoxPainter.

- -

Referenced by push(), and state().

- -
-
- -

◆ doPop()

- -
-
- - - - - -
- - - - - - - -
void Painter::doPop ()
-
-protectedvirtual
-
- -

Perform graphics state pop on output medium.

- -

Reimplemented in ipe::CairoPainter, ipe::PdfPainter, and ipe::BBoxPainter.

- -

Referenced by pop(), and state().

- -
-
- -

◆ doNewPath()

- -
-
- - - - - -
- - - - - - - -
void Painter::doNewPath ()
-
-protectedvirtual
-
- -

Perform new path operator.

- -

Reimplemented in ipe::PdfPainter, ipe::BBoxPainter, and ipe::PsPainter.

- -

Referenced by newPath(), and state().

- -
-
- -

◆ doMoveTo()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doMoveTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform moveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented in ipe::PdfPainter, ipe::BBoxPainter, and ipe::CairoPainter.

- -

Referenced by moveTo(), and state().

- -
-
- -

◆ doLineTo()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doLineTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform lineto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented in ipe::PdfPainter, ipe::BBoxPainter, and ipe::CairoPainter.

- -

Referenced by lineTo(), and state().

- -
-
- -

◆ doCurveTo()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Painter::doCurveTo (const Vectorv1,
const Vectorv2,
const Vectorv3 
)
-
-protectedvirtual
-
- -

Perform curveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented in ipe::PdfPainter, ipe::BBoxPainter, and ipe::CairoPainter.

- -

Referenced by curveTo(), and state().

- -
-
- -

◆ doDrawArc()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doDrawArc (const Arcarc)
-
-protectedvirtual
-
- -

Draw an elliptic arc.

-

The default implementations calls drawArcAsBezier(). The transformation matrix has not yet been applied to arc.

- -

Reimplemented in ipe::CairoPainter.

- -

References drawArcAsBezier(), ipe::Arc::iAlpha, ipe::Arc::iBeta, ipe::Arc::iM, ipe::Arc::isEllipse(), moveTo(), ipe::Angle::normalize(), popMatrix(), pushMatrix(), and transform().

- -

Referenced by drawArc(), and state().

- -
-
- -

◆ doClosePath()

- -
-
- - - - - -
- - - - - - - -
void Painter::doClosePath ()
-
-protectedvirtual
-
- -

Perform closepath operator.

- -

Reimplemented in ipe::PdfPainter, and ipe::CairoPainter.

- -

Referenced by closePath(), and state().

- -
-
- -

◆ doDrawPath()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doDrawPath (TPathMode mode)
-
-protectedvirtual
-
- -

Actually draw the path.

- -

Reimplemented in ipe::CairoPainter, ipe::PdfPainter, ipe::BBoxPainter, and ipe::PsPainter.

- -

Referenced by drawPath(), and state().

- -
-
- -

◆ doDrawBitmap()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doDrawBitmap (Bitmap bitmap)
-
-protectedvirtual
-
- -

Draw a bitmap.

- -

Reimplemented in ipe::CairoPainter, ipe::PdfPainter, ipe::BBoxPainter, and ipe::PsPainter.

- -

Referenced by drawBitmap(), and state().

- -
-
- -

◆ doDrawText()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doDrawText (const Texttext)
-
-protectedvirtual
-
- -

Draw a text object.

- -

Reimplemented in ipe::CairoPainter, ipe::PdfPainter, and ipe::BBoxPainter.

- -

Referenced by drawText(), and state().

- -
-
- -

◆ doDrawSymbol()

- -
-
- - - - - -
- - - - - - - - -
void Painter::doDrawSymbol (Attribute symbol)
-
-protectedvirtual
-
- -

Draw a symbol.

-

The default implementation calls the draw method of the object. Only PDF drawing overrides this to reuse a PDF XForm.

- -

Reimplemented in ipe::PdfPainter.

- -

References cascade(), ipe::Object::draw(), ipe::ESymbol, ipe::Cascade::findSymbol(), iAttributeMap, ipe::Symbol::iObject, and ipe::AttributeMap::map().

- -

Referenced by drawSymbol(), and state().

- -
-
- -

◆ doAddClipPath()

- -
-
- - - - - -
- - - - - - - -
void Painter::doAddClipPath ()
-
-protectedvirtual
-
- -

Add a clip path.

- -

Reimplemented in ipe::PdfPainter, ipe::BBoxPainter, ipe::CairoPainter, and ipe::PsPainter.

- -

Referenced by addClipPath(), and state().

- -
-
- -

◆ drawArcAsBezier()

- -
-
- - - - - -
- - - - - - - - -
void Painter::drawArcAsBezier (double alpha)
-
-protected
-
- -

Draw an arc of the unit circle of length alpha.

-

PDF does not have an "arc" or "circle" primitive, so to draw an arc, circle, or ellipse, Ipe has to translate it into a sequence of Bezier curves.

-

The approximation is based on the following: The unit circle arc from (1,0) to (cos a, sin a) be approximated by a Bezier spline with control points (1, 0), (1, beta) and their mirror images along the line with slope a/2, where beta = 4.0 * (1.0 - cos(a/2)) / (3 * sin(a/2))

-

Ipe draws circles by drawing four Bezier curves for the quadrants, and arcs by patching together quarter circle approximations with a piece computed from the formula above.

-

alpha is normalized to [0, 2 pi], and applied starting from the point (1,0).

-

The function generates a sequence of Bezier splines as calls to curveTo. It is assumed that the caller has already executed a moveTo to the beginning of the arc at (1,0).

-

This function may modify the transformation matrix.

- -

References curveTo().

- -

Referenced by doDrawArc(), and state().

- -
-
-

Member Data Documentation

- -

◆ iState

- -
-
- - - - - -
- - - - -
std::list<State> ipe::Painter::iState
-
-protected
-
-
- -

◆ iMatrix

- -
-
- - - - - -
- - - - -
std::list<Matrix> ipe::Painter::iMatrix
-
-protected
-
-
- -

◆ iCascade

- -
-
- - - - - -
- - - - -
const Cascade* ipe::Painter::iCascade
-
-protected
-
-
- -

◆ iAttributeMap

- -
-
- - - - - -
- - - - -
const AttributeMap* ipe::Painter::iAttributeMap
-
-protected
-
- -

Referenced by doDrawSymbol(), lookup(), Painter(), and setAttributeMap().

- -
-
- -

◆ iInPath

- -
-
- - - - - -
- - - - -
int ipe::Painter::iInPath
-
-protected
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_painter-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_painter-members.html --- ipe-7.2.20/build/doc/classipe_1_1_painter-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_painter-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,130 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Painter Member List
-
-
- -

This is the complete list of members for ipe::Painter, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addClipPath()ipe::Painter
cascade() constipe::Painterinline
closePath()ipe::Painter
curveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::Painter
curveTo(const Bezier &bezier)ipe::Painterinline
dashStyle() constipe::Painterinline
dashStyle(std::vector< double > &dashes, double &offset) constipe::Painter
doAddClipPath()ipe::Painterprotectedvirtual
doClosePath()ipe::Painterprotectedvirtual
doCurveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::Painterprotectedvirtual
doDrawArc(const Arc &arc)ipe::Painterprotectedvirtual
doDrawBitmap(Bitmap bitmap)ipe::Painterprotectedvirtual
doDrawPath(TPathMode mode)ipe::Painterprotectedvirtual
doDrawSymbol(Attribute symbol)ipe::Painterprotectedvirtual
doDrawText(const Text *text)ipe::Painterprotectedvirtual
doLineTo(const Vector &v)ipe::Painterprotectedvirtual
doMoveTo(const Vector &v)ipe::Painterprotectedvirtual
doNewPath()ipe::Painterprotectedvirtual
doPop()ipe::Painterprotectedvirtual
doPush()ipe::Painterprotectedvirtual
drawArc(const Arc &arc)ipe::Painter
drawArcAsBezier(double alpha)ipe::Painterprotected
drawBitmap(Bitmap bitmap)ipe::Painter
drawEllipse()ipe::Painter
drawPath(TPathMode mode)ipe::Painter
drawSymbol(Attribute symbol)ipe::Painter
drawText(const Text *text)ipe::Painter
fill() constipe::Painterinline
fillRule() constipe::Painterinline
gradient() constipe::Painterinline
iAttributeMapipe::Painterprotected
iCascadeipe::Painterprotected
iInPathipe::Painterprotected
iMatrixipe::Painterprotected
iStateipe::Painterprotected
lineCap() constipe::Painterinline
lineJoin() constipe::Painterinline
lineTo(const Vector &v)ipe::Painter
lookup(Kind kind, Attribute sym) constipe::Painter
matrix() constipe::Painterinline
moveTo(const Vector &v)ipe::Painter
newPath()ipe::Painter
opacity() constipe::Painterinline
Painter(const Cascade *style)ipe::Painter
pen() constipe::Painterinline
pop()ipe::Painter
popMatrix()ipe::Painter
push()ipe::Painter
pushMatrix()ipe::Painter
rect(const Rect &re)ipe::Painter
setAttributeMap(const AttributeMap *map)ipe::Painter
setDashStyle(Attribute dash)ipe::Painter
setFill(Attribute color)ipe::Painter
setFillRule(TFillRule rule)ipe::Painter
setGradient(Attribute grad)ipe::Painter
setLineCap(TLineCap cap)ipe::Painter
setLineJoin(TLineJoin join)ipe::Painter
setOpacity(Attribute opaq)ipe::Painter
setPen(Attribute pen)ipe::Painter
setState(const State &state)ipe::Painter
setStroke(Attribute color)ipe::Painter
setStrokeOpacity(Attribute opaq)ipe::Painter
setSymFill(Attribute color)ipe::Painter
setSymPen(Attribute wid)ipe::Painter
setSymStroke(Attribute color)ipe::Painter
setTiling(Attribute til)ipe::Painter
state() constipe::Painterinline
stroke() constipe::Painterinline
strokeOpacity() constipe::Painterinline
symFill() constipe::Painterinline
symPen() constipe::Painterinline
symStroke() constipe::Painterinline
tiling() constipe::Painterinline
transform(const Matrix &m)ipe::Painter
translate(const Vector &v)ipe::Painter
untransform(TTransformations trans)ipe::Painter
~Painter()ipe::Paintervirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pan_tool.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pan_tool.html --- ipe-7.2.20/build/doc/classipe_1_1_pan_tool.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pan_tool.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,233 +0,0 @@ - - - - - - - -Ipelib: ipe::PanTool Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PanTool Class Reference
-
-
- -

#include <ipetool.h>

- -

Inherits ipe::Tool.

- - - - - - - - - - - - - - - - - -

-Public Member Functions

 PanTool (CanvasBase *canvas, const Page *page, int view)
 
virtual void draw (Painter &painter) const
 
virtual void mouseButton (int button, bool press)
 
virtual void mouseMove ()
 
- Public Member Functions inherited from ipe::Tool
virtual ~Tool ()
 
virtual bool key (String text, int modifiers)
 
virtual void snapVtx (const Vector &mouse, Vector &pos, double &bound, bool cp) const
 
- - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::Tool
 Tool (CanvasBase *canvas)
 
- Protected Attributes inherited from ipe::Tool
CanvasBaseiCanvas
 
-

Detailed Description

-

A tool for panning the canvas.

-

Constructor & Destructor Documentation

- -

◆ PanTool()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
PanTool::PanTool (CanvasBasecanvas,
const Pagepage,
int view 
)
-
-
-

Member Function Documentation

- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void PanTool::draw (Painterpainter) const
-
-virtual
-
-
- -

◆ mouseButton()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void PanTool::mouseButton (int button,
bool press 
)
-
-virtual
-
- -

Called when a mouse button is pressed or released on the canvas.

-

button is 1, 2, or 3, with Shift/Ctrl/Alt/Meta modifiers added in (as defined in CanvasBase::TModifiers. press is true for button-down, and false for button-up.

- -

Reimplemented from ipe::Tool.

- -

References ipe::CanvasBase::finishTool(), ipe::Tool::iCanvas, ipe::CanvasBase::pan(), ipe::CanvasBase::setPan(), and ipe::CanvasBase::unsnappedPos().

- -
-
- -

◆ mouseMove()

- -
-
- - - - - -
- - - - - - - -
void PanTool::mouseMove ()
-
-virtual
-
- -

Called when the mouse is moved on the canvas.

- -

Reimplemented from ipe::Tool.

- -

References ipe::SelectTool::SObj::distance, ipe::Tool::iCanvas, ipe::CanvasBase::unsnappedPos(), and ipe::CanvasBase::updateTool().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pan_tool-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pan_tool-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pan_tool-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pan_tool-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,62 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PanTool Member List
-
-
- -

This is the complete list of members for ipe::PanTool, including all inherited members.

- - - - - - - - - - -
draw(Painter &painter) constipe::PanToolvirtual
iCanvasipe::Toolprotected
key(String text, int modifiers)ipe::Toolvirtual
mouseButton(int button, bool press)ipe::PanToolvirtual
mouseMove()ipe::PanToolvirtual
PanTool(CanvasBase *canvas, const Page *page, int view)ipe::PanTool
snapVtx(const Vector &mouse, Vector &pos, double &bound, bool cp) constipe::Toolvirtual
Tool(CanvasBase *canvas)ipe::Toolprotected
~Tool()ipe::Toolvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_path.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_path.html --- ipe-7.2.20/build/doc/classipe_1_1_path.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_path.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1983 +0,0 @@ - - - - - - - -Ipelib: ipe::Path Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Path Class Reference
-
-
- -

#include <ipepath.h>

- -

Inherits ipe::Object.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Path (const AllAttributes &attr, const Shape &shape, bool withArrows=false)
 
virtual Objectclone () const override
 
virtual PathasPath () override
 
virtual Type type () const override
 
void setPathMode (TPathMode pm)
 
void setStroke (Attribute stroke)
 
void setFill (Attribute fill)
 
void setPen (Attribute pen)
 
void setDashStyle (Attribute dash)
 
void setLineCap (TLineCap s)
 
void setLineJoin (TLineJoin s)
 
void setFillRule (TFillRule s)
 
void setOpacity (Attribute opaq)
 
void setStrokeOpacity (Attribute opaq)
 
void setTiling (Attribute a)
 
void setGradient (Attribute a)
 
Attribute opacity () const
 
Attribute strokeOpacity () const
 
Attribute tiling () const
 
Attribute gradient () const
 
TPathMode pathMode () const
 
Attribute stroke () const
 
Attribute fill () const
 
Attribute pen () const
 
Attribute dashStyle () const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
virtual void saveAsXml (Stream &stream, String layer) const override
 
virtual void draw (Painter &painter) const override
 
virtual void drawSimple (Painter &painter) const override
 
virtual void accept (Visitor &visitor) const override
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const override
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const override
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const override
 
virtual void snapCtl (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const override
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const override
 
virtual void checkStyle (const Cascade *sheet, AttributeSeq &seq) const override
 
virtual void setMatrix (const Matrix &matrix) override
 
virtual bool setAttribute (Property prop, Attribute value) override
 
virtual Attribute getAttribute (Property prop) const noexcept override
 
bool arrow () const
 
bool rArrow () const
 
Attribute arrowShape () const
 
Attribute rArrowShape () const
 
Attribute arrowSize () const
 
Attribute rArrowSize () const
 
void setArrow (bool arrow, Attribute shape, Attribute size)
 
void setRarrow (bool arrow, Attribute shape, Attribute size)
 
const Shapeshape () const
 
void setShape (const Shape &shape)
 
- Public Member Functions inherited from ipe::Object
virtual ~Object ()=0
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual TextasText ()
 
virtual ImageasImage ()
 
virtual ReferenceasReference ()
 
virtual TPinned pinned () const
 
void setPinned (TPinned pin)
 
TTransformations transformations () const
 
void setTransformations (TTransformations trans)
 
const Matrixmatrix () const
 
- - - - - -

-Static Public Member Functions

static Pathcreate (const XmlAttributes &attr, String data)
 
static void drawArrow (Painter &painter, Vector pos, Angle alpha, Attribute shape, Attribute size, double radius)
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Public Types inherited from ipe::Object
enum  Type {
-  EGroup, -EPath, -EText, -EImage, -
-  EReference -
- }
 
- Protected Member Functions inherited from ipe::Object
 Object ()
 
 Object (const AllAttributes &attr)
 
 Object (const Object &rhs)
 
 Object (const XmlAttributes &attr)
 
void saveAttributesAsXml (Stream &stream, String layer) const
 
- Static Protected Member Functions inherited from ipe::Object
static void checkSymbol (Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)
 
- Protected Attributes inherited from ipe::Object
Matrix iMatrix
 
TPinned iPinned: 8
 
TTransformations iTransformations: 8
 
-

Detailed Description

-

The path object (polylines, polygons, and generalizations).

-

This object represents any vector graphics. The geometry is contained in a Shape.

-

The filling algorithm is the even-odd rule of PDF: To determine whether a point lies inside the filled shape, draw a ray from that point in any direction, and count the number of path segments that cross the ray. If this number is odd, the point is inside; if even, the point is outside. (Path objects can also render using the winding fill rule by setting the fillRule attribute. This isn't really supported by the Ipe user interface, which doesn't show the orientation of paths.)

-

If the path consists of a single line segment and is filled only, then it is not drawn at all. This can be used to draw arrow heads without bodies. The fill color is used to draw the arrows in this case.

-

Constructor & Destructor Documentation

- -

◆ Path()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Path::Path (const AllAttributesattr,
const Shapeshape,
bool withArrows = false 
)
-
-explicit
-
- -

Create for given shape.

- -

Referenced by clone(), and shape().

- -
-
-

Member Function Documentation

- -

◆ create()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Path * Path::create (const XmlAttributesattr,
String data 
)
-
-static
-
- -

Construct from XML data.

- -
-
- -

◆ clone()

- -
-
- - - - - -
- - - - - - - -
Object * Path::clone () const
-
-overridevirtual
-
-
- -

◆ asPath()

- -
-
- - - - - -
- - - - - - - -
Path * Path::asPath ()
-
-overridevirtual
-
- -

Return pointer to this object.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
Object::Type Path::type () const
-
-overridevirtual
-
- -

Implements ipe::Object.

- -

References ipe::Object::EPath.

- -
-
- -

◆ setPathMode()

- -
-
- - - - - - - - -
void Path::setPathMode (TPathMode pm)
-
- -

Set whether object will be stroked and filled.

- -

Referenced by setAttribute().

- -
-
- -

◆ setStroke()

- -
-
- - - - - - - - -
void Path::setStroke (Attribute stroke)
-
- -

Set stroke color.

- -

References stroke().

- -

Referenced by setAttribute().

- -
-
- -

◆ setFill()

- -
-
- - - - - - - - -
void Path::setFill (Attribute fill)
-
- -

Set fill color.

- -

References fill().

- -

Referenced by setAttribute().

- -
-
- -

◆ setPen()

- -
-
- - - - - - - - -
void Path::setPen (Attribute pen)
-
- -

Set pen.

- -

References pen().

- -

Referenced by setAttribute().

- -
-
- -

◆ setDashStyle()

- -
-
- - - - - - - - -
void Path::setDashStyle (Attribute dash)
-
- -

Set dash style.

- -

Referenced by setAttribute().

- -
-
- -

◆ setLineCap()

- -
-
- - - - - - - - -
void Path::setLineCap (TLineCap s)
-
- -

Set line cap style.

- -
-
- -

◆ setLineJoin()

- -
-
- - - - - - - - -
void Path::setLineJoin (TLineJoin s)
-
- -

Set line join style.

- -
-
- -

◆ setFillRule()

- -
-
- - - - - - - - -
void Path::setFillRule (TFillRule s)
-
- -

Set fill rule.

- -
-
- -

◆ setOpacity()

- -
-
- - - - - - - - -
void Path::setOpacity (Attribute opaq)
-
- -

Set opacity of the object.

- -

Referenced by setAttribute().

- -
-
- -

◆ setStrokeOpacity()

- -
-
- - - - - - - - -
void Path::setStrokeOpacity (Attribute opaq)
-
- -

Set stroke opacity of the object.

- -

Referenced by setAttribute().

- -
-
- -

◆ setTiling()

- -
-
- - - - - - - - -
void Path::setTiling (Attribute til)
-
- -

Set tiling pattern of the object.

-

Resets gradient fill.

- -

References ipe::Attribute::NORMAL().

- -

Referenced by setAttribute().

- -
-
- -

◆ setGradient()

- -
-
- - - - - - - - -
void Path::setGradient (Attribute grad)
-
- -

Set gradient fill of the object.

-

Resets tiling pattern.

- -

References ipe::Attribute::NORMAL().

- -

Referenced by setAttribute().

- -
-
- -

◆ opacity()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::opacity () const
-
-inline
-
- -

Return opacity of the opject.

- -

Referenced by getAttribute(), and setAttribute().

- -
-
- -

◆ strokeOpacity()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::strokeOpacity () const
-
-inline
-
- -

Return stroke opacity of the opject.

- -

Referenced by getAttribute(), and setAttribute().

- -
-
- -

◆ tiling()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::tiling () const
-
-inline
-
- -

Return tiling pattern.

- -

Referenced by getAttribute(), and setAttribute().

- -
-
- -

◆ gradient()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::gradient () const
-
-inline
-
-
- -

◆ pathMode()

- -
-
- - - - - -
- - - - - - - -
TPathMode ipe::Path::pathMode () const
-
-inline
-
- -

Is the object stroked and filled?

- -

Referenced by gradient(), and setAttribute().

- -
-
- -

◆ stroke()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::stroke () const
-
-inline
-
- -

Return stroke color.

- -

Referenced by getAttribute(), gradient(), setAttribute(), and setStroke().

- -
-
- -

◆ fill()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::fill () const
-
-inline
-
- -

Return object fill color.

- -

Referenced by getAttribute(), gradient(), setAttribute(), and setFill().

- -
-
- -

◆ pen()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::pen () const
-
-inline
-
- -

Return object pen.

- -

Referenced by getAttribute(), gradient(), setAttribute(), and setPen().

- -
-
- -

◆ dashStyle()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::dashStyle () const
-
-inline
-
- -

Return object line style.

- -

Referenced by getAttribute(), gradient(), and setAttribute().

- -
-
- -

◆ lineCap()

- -
-
- - - - - -
- - - - - - - -
TLineCap ipe::Path::lineCap () const
-
-inline
-
- -

Return line cap style.

- -

Referenced by draw(), and gradient().

- -
-
- -

◆ lineJoin()

- -
-
- - - - - -
- - - - - - - -
TLineJoin ipe::Path::lineJoin () const
-
-inline
-
- -

Return line join style.

- -

Referenced by draw(), and gradient().

- -
-
- -

◆ fillRule()

- -
-
- - - - - -
- - - - - - - -
TFillRule ipe::Path::fillRule () const
-
-inline
-
- -

Return fill rule.

- -

Referenced by draw(), and gradient().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Path::saveAsXml (Streamstream,
String layer 
) const
-
-overridevirtual
-
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Path::draw (Painterpainter) const
-
-overridevirtual
-
-
- -

◆ drawSimple()

- -
-
- - - - - -
- - - - - - - - -
void Path::drawSimple (Painterpainter) const
-
-overridevirtual
-
-
- -

◆ accept()

- -
-
- - - - - -
- - - - - - - - -
void Path::accept (Visitorvisitor) const
-
-overridevirtual
-
- -

Call visitPath of visitor.

- -

Implements ipe::Object.

- -

References ipe::Visitor::visitPath().

- -

Referenced by gradient().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Path::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-overridevirtual
-
- -

Extend box to include the object transformed by m.

-

For objects in a page, don't call this directly. The Page caches the bounding box of each object, so it is far more efficient to call Page::bbox.

-

Control points that lie outside the visual object are included if cp is true.

-

If called with an empty box and cp == false, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).

- -

Implements ipe::Object.

- -

References ipe::Shape::addToBBox(), and ipe::Object::matrix().

- -

Referenced by gradient().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Path::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-overridevirtual
-
-

Return distance of transformed object to point v. If larger than bound, can just return bound.

- -

Implements ipe::Object.

- -

References ipe::Shape::distance(), and ipe::Object::matrix().

- -

Referenced by gradient().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Path::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-overridevirtual
-
- -

Compute vertex snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::matrix(), and ipe::Shape::snapVtx().

- -

Referenced by gradient().

- -
-
- -

◆ snapCtl()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Path::snapCtl (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-overridevirtual
-
- -

Compute control point snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::matrix(), and ipe::Shape::snapVtx().

- -

Referenced by gradient().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Path::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-overridevirtual
-
- -

Compute boundary snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::matrix(), and ipe::Shape::snapBnd().

- -

Referenced by gradient().

- -
-
- -

◆ checkStyle()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Path::checkStyle (const Cascadesheet,
AttributeSeqseq 
) const
-
-overridevirtual
-
- -

Check all symbolic attributes.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::checkSymbol(), ipe::EArrowSize, ipe::EColor, ipe::EDashStyle, ipe::EGradient, ipe::EOpacity, ipe::EPen, ipe::ESymbol, ipe::ETiling, and ipe::Attribute::isNormal().

- -

Referenced by gradient().

- -
-
- -

◆ setMatrix()

- -
-
- - - - - -
- - - - - - - - -
void Path::setMatrix (const Matrixmatrix)
-
-overridevirtual
-
- -

Set the transformation matrix.

-

Don't use this on an Object in a Page, because it wouldn't invalidate its bounding box. Call Page::transform instead.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::setMatrix().

- -

Referenced by gradient().

- -
-
- -

◆ setAttribute()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Path::setAttribute (Property prop,
Attribute value 
)
-
-overridevirtual
-
-
- -

◆ getAttribute()

- -
-
- - - - - -
- - - - - - - - -
Attribute Path::getAttribute (Property prop) const
-
-overridevirtualnoexcept
-
-
- -

◆ arrow()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Path::arrow () const
-
-inline
-
- -

Does object have an arrow?

- -

Referenced by gradient(), setArrow(), and setRarrow().

- -
-
- -

◆ rArrow()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Path::rArrow () const
-
-inline
-
- -

Does object have a reverse arrow?

- -

Referenced by gradient().

- -
-
- -

◆ arrowShape()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::arrowShape () const
-
-inline
-
- -

Return shape of arrow.

- -

Referenced by gradient().

- -
-
- -

◆ rArrowShape()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::rArrowShape () const
-
-inline
-
- -

Return shape of reverse arrow.

- -

Referenced by gradient().

- -
-
- -

◆ arrowSize()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::arrowSize () const
-
-inline
-
- -

Return size of arrow.

- -

Referenced by gradient().

- -
-
- -

◆ rArrowSize()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Path::rArrowSize () const
-
-inline
-
- -

Return size of reverse arrow.

- -

Referenced by gradient().

- -
-
- -

◆ setArrow()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Path::setArrow (bool arrow,
Attribute shape,
Attribute size 
)
-
- -

Set forward arrow.

- -

References arrow(), ipe::Attribute::isMidArrow(), shape(), and ipe::size().

- -

Referenced by gradient().

- -
-
- -

◆ setRarrow()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Path::setRarrow (bool arrow,
Attribute shape,
Attribute size 
)
-
- -

Set backward arrow (if the object can take it).

- -

References arrow(), ipe::Attribute::isMidArrow(), shape(), and ipe::size().

- -

Referenced by gradient().

- -
-
- -

◆ drawArrow()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Path::drawArrow (Painterpainter,
Vector pos,
Angle angle,
Attribute shape,
Attribute size,
double radius 
)
-
-static
-
-
- -

◆ shape()

- -
-
- - - - - -
- - - - - - - -
const Shape& ipe::Path::shape () const
-
-inline
-
- -

Return shape of the path object.

- -

References Path(), and setShape().

- -

Referenced by setArrow(), setRarrow(), and setShape().

- -
-
- -

◆ setShape()

- -
-
- - - - - - - - -
void Path::setShape (const Shapeshape)
-
- -

References shape().

- -

Referenced by shape().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_path-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_path-members.html --- ipe-7.2.20/build/doc/classipe_1_1_path-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_path-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,132 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Path Member List
-
-
- -

This is the complete list of members for ipe::Path, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept(Visitor &visitor) const overrideipe::Pathvirtual
addToBBox(Rect &box, const Matrix &m, bool cp) const overrideipe::Pathvirtual
arrow() constipe::Pathinline
arrowShape() constipe::Pathinline
arrowSize() constipe::Pathinline
asGroup()ipe::Objectvirtual
asGroup() constipe::Objectvirtual
asImage()ipe::Objectvirtual
asPath() overrideipe::Pathvirtual
asReference()ipe::Objectvirtual
asText()ipe::Objectvirtual
checkStyle(const Cascade *sheet, AttributeSeq &seq) const overrideipe::Pathvirtual
checkSymbol(Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)ipe::Objectprotectedstatic
clone() const overrideipe::Pathvirtual
create(const XmlAttributes &attr, String data)ipe::Pathstatic
dashStyle() constipe::Pathinline
distance(const Vector &v, const Matrix &m, double bound) const overrideipe::Pathvirtual
draw(Painter &painter) const overrideipe::Pathvirtual
drawArrow(Painter &painter, Vector pos, Angle alpha, Attribute shape, Attribute size, double radius)ipe::Pathstatic
drawSimple(Painter &painter) const overrideipe::Pathvirtual
EGroup enum valueipe::Object
EImage enum valueipe::Object
EPath enum valueipe::Object
EReference enum valueipe::Object
EText enum valueipe::Object
fill() constipe::Pathinline
fillRule() constipe::Pathinline
getAttribute(Property prop) const noexcept overrideipe::Pathvirtual
gradient() constipe::Pathinline
iMatrixipe::Objectprotected
iPinnedipe::Objectprotected
iTransformationsipe::Objectprotected
lineCap() constipe::Pathinline
lineJoin() constipe::Pathinline
matrix() constipe::Objectinline
Object()ipe::Objectexplicitprotected
Object(const AllAttributes &attr)ipe::Objectexplicitprotected
Object(const Object &rhs)ipe::Objectprotected
Object(const XmlAttributes &attr)ipe::Objectexplicitprotected
opacity() constipe::Pathinline
Path(const AllAttributes &attr, const Shape &shape, bool withArrows=false)ipe::Pathexplicit
pathMode() constipe::Pathinline
pen() constipe::Pathinline
pinned() constipe::Objectvirtual
rArrow() constipe::Pathinline
rArrowShape() constipe::Pathinline
rArrowSize() constipe::Pathinline
saveAsXml(Stream &stream, String layer) const overrideipe::Pathvirtual
saveAttributesAsXml(Stream &stream, String layer) constipe::Objectprotected
setArrow(bool arrow, Attribute shape, Attribute size)ipe::Path
setAttribute(Property prop, Attribute value) overrideipe::Pathvirtual
setDashStyle(Attribute dash)ipe::Path
setFill(Attribute fill)ipe::Path
setFillRule(TFillRule s)ipe::Path
setGradient(Attribute a)ipe::Path
setLineCap(TLineCap s)ipe::Path
setLineJoin(TLineJoin s)ipe::Path
setMatrix(const Matrix &matrix) overrideipe::Pathvirtual
setOpacity(Attribute opaq)ipe::Path
setPathMode(TPathMode pm)ipe::Path
setPen(Attribute pen)ipe::Path
setPinned(TPinned pin)ipe::Object
setRarrow(bool arrow, Attribute shape, Attribute size)ipe::Path
setShape(const Shape &shape)ipe::Path
setStroke(Attribute stroke)ipe::Path
setStrokeOpacity(Attribute opaq)ipe::Path
setTiling(Attribute a)ipe::Path
setTransformations(TTransformations trans)ipe::Object
shape() constipe::Pathinline
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const overrideipe::Pathvirtual
snapCtl(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const overrideipe::Pathvirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const overrideipe::Pathvirtual
stroke() constipe::Pathinline
strokeOpacity() constipe::Pathinline
tiling() constipe::Pathinline
transformations() constipe::Objectinline
type() const overrideipe::Pathvirtual
Type enum nameipe::Object
~Object()=0ipe::Objectpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_array.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_array.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_array.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_array.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,312 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfArray Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfArray Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfArray ()
 
 ~PdfArray ()
 
virtual const PdfArrayarray () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
void append (const PdfObj *)
 
int count () const noexcept
 
const PdfObjobj (int index, const PdfFile *file) const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF array object.

-

Constructor & Destructor Documentation

- -

◆ PdfArray()

- -
-
- - - - - -
- - - - - - - -
ipe::PdfArray::PdfArray ()
-
-inlineexplicit
-
-
- -

◆ ~PdfArray()

- -
-
- - - - - - - -
PdfArray::~PdfArray ()
-
- -
-
-

Member Function Documentation

- -

◆ array()

- -
-
- - - - - -
- - - - - - - -
const PdfArray * PdfArray::array () const
-
-virtualnoexcept
-
- -

Return this object as PDF array object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfArray::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
- -

◆ append()

- -
-
- - - - - - - - -
void PdfArray::append (const PdfObjobj)
-
- -

Append an object to array.

-

Array takes ownership of the object.

- -

Referenced by ipe::PdfResources::collect().

- -
-
- -

◆ count()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfArray::count () const
-
-inlinenoexcept
-
-
- -

◆ obj()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfObj * PdfArray::obj (int index,
const PdfFilefile 
) const
-
-noexcept
-
- -

Return object with index in array.

-

Indirect objects (references) are looked up if file is not nullptr, and the object referred to is returned (nullptr if it does not exist). Object remains owned by array.

- -

References ipe::PdfObj::ref(), and ipe::PdfRef::value().

- -

Referenced by ipe::PdfFile::catalog(), ipe::PdfResources::collect(), ipe::Face::Face(), ipe::PdfDict::getNumberArray(), ipe::PdfParser::getTrailer(), ipe::Face::glyphIndex(), ipe::Latex::readPdf(), and ipe::PdfResources::setIpeXForm().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_array-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_array-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_array-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_array-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfArray Member List
-
-
- -

This is the complete list of members for ipe::PdfArray, including all inherited members.

- - - - - - - - - - - - - - - - - -
append(const PdfObj *)ipe::PdfArray
array() const noexceptipe::PdfArrayvirtual
boolean() const noexceptipe::PdfObjvirtual
count() const noexceptipe::PdfArrayinline
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
obj(int index, const PdfFile *file) const noexceptipe::PdfArray
PdfArray()ipe::PdfArrayinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfArrayvirtual
~PdfArray()ipe::PdfArray
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_bool.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_bool.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_bool.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_bool.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,224 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfBool Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfBool Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfBool (bool val)
 
virtual const PdfBoolboolean () const noexcept
 
bool value () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF bool object.

-

Constructor & Destructor Documentation

- -

◆ PdfBool()

- -
-
- - - - - -
- - - - - - - - -
ipe::PdfBool::PdfBool (bool val)
-
-inlineexplicit
-
- -

References ipe::PdfObj::boolean().

- -
-
-

Member Function Documentation

- -

◆ boolean()

- -
-
- - - - - -
- - - - - - - -
const PdfBool * PdfBool::boolean () const
-
-virtualnoexcept
-
- -

Return this object as PDF bool object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ value()

- -
-
- - - - - -
- - - - - - - -
bool ipe::PdfBool::value () const
-
-inlinenoexcept
-
- -

References ipe::PdfObj::write().

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfBool::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_bool-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_bool-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_bool-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_bool-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfBool Member List
-
-
- -

This is the complete list of members for ipe::PdfBool, including all inherited members.

- - - - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfBoolvirtual
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
PdfBool(bool val)ipe::PdfBoolinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
value() const noexceptipe::PdfBoolinline
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfBoolvirtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_dict.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_dict.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_dict.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_dict.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,917 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfDict Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -List of all members
-
-
ipe::PdfDict Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfDict ()
 
 ~PdfDict ()
 
virtual const PdfDictdict () const noexcept
 
String dictRepr () const noexcept
 
void dictWrite (Stream &stream, const PdfRenumber *renumber, bool inflate, int length) const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
void setStream (const Buffer &stream)
 
void add (String key, const PdfObj *obj)
 
const PdfObjget (String key, const PdfFile *file=nullptr) const noexcept
 
const PdfDictgetDict (String key, const PdfFile *file=nullptr) const noexcept
 
const PdfArraygetArray (String key, const PdfFile *file=nullptr) const noexcept
 
String getName (String key, const PdfFile *file=nullptr) const noexcept
 
bool getNumber (String key, double &val, const PdfFile *file=nullptr) const noexcept
 
int getInteger (String key, const PdfFile *file=nullptr) const noexcept
 
bool getNumberArray (String key, const PdfFile *file, std::vector< double > &vals) const noexcept
 
int count () const noexcept
 
String key (int index) const noexcept
 
const PdfObjvalue (int index) const noexcept
 
Buffer stream () const noexcept
 
bool deflated () const noexcept
 
Buffer inflate () const noexcept
 
void setLateStream (int pos) noexcept
 
int lateStream () const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF dictionary and stream objects.

-

A dictionary may or may not have attached stream data.

-

Constructor & Destructor Documentation

- -

◆ PdfDict()

- -
-
- - - - - -
- - - - - - - -
ipe::PdfDict::PdfDict ()
-
-inlineexplicit
-
- -

References ipe::PdfObj::dict(), and ipe::PdfObj::write().

- -
-
- -

◆ ~PdfDict()

- -
-
- - - - - - - -
PdfDict::~PdfDict ()
-
- -
-
-

Member Function Documentation

- -

◆ dict()

- -
-
- - - - - -
- - - - - - - -
const PdfDict * PdfDict::dict () const
-
-virtualnoexcept
-
- -

Return this object as PDF dictionary object.

- -

Reimplemented from ipe::PdfObj.

- -

Referenced by ipe::PdfParser::getTrailer().

- -
-
- -

◆ dictRepr()

- -
-
- - - - - -
- - - - - - - -
String PdfDict::dictRepr () const
-
-noexcept
-
- -

Return PDF representation of the PdfDict without the stream.

- -
-
- -

◆ dictWrite()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void PdfDict::dictWrite (Streamstream,
const PdfRenumberrenumber,
bool inflate,
int length 
) const
-
-noexcept
-
- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfDict::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -

References ipe::Buffer::size().

- -
-
- -

◆ setStream()

- -
-
- - - - - - - - -
void PdfDict::setStream (const Bufferstream)
-
- -

Add stream data to this dictionary.

- -

Referenced by ipe::PdfParser::getTrailer().

- -
-
- -

◆ add()

- -
-
- - - - - - - - - - - - - - - - - - -
void PdfDict::add (String key,
const PdfObjobj 
)
-
- -

Add a (key, value) pair to the dictionary.

-

Dictionary takes ownership of obj.

- -

Referenced by ipe::PdfResources::collect().

- -
-
- -

◆ get()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfObj * PdfDict::get (String key,
const PdfFilefile = nullptr 
) const
-
-noexcept
-
- -

Look up key in dictionary.

-

Indirect objects (references) are looked up if file is not nullptr, and the object referred to is returned. Returns nullptr if key is not in dictionary.

- -

Referenced by ipe::PdfResources::collect(), ipe::Latex::createLatexSource(), ipe::CairoPainter::executeStream(), ipe::Document::formatFromFilename(), ipe::PdfParser::getTrailer(), ipe::Latex::readPdf(), ipe::PdfThumbnail::render(), and ipe::PdfViewBase::setPage().

- -
-
- -

◆ getDict()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfDict * PdfDict::getDict (String key,
const PdfFilefile = nullptr 
) const
-
-noexcept
-
- -

Look up key and return if it is a dictionary.

- -

References ipe::PdfObj::dict().

- -
-
- -

◆ getArray()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfArray * PdfDict::getArray (String key,
const PdfFilefile = nullptr 
) const
-
-noexcept
-
- -

Look up key and return if it is an array.

- -

References ipe::PdfObj::array().

- -

Referenced by ipe::PdfFile::catalog().

- -
-
- -

◆ getName()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
String PdfDict::getName (String key,
const PdfFilefile = nullptr 
) const
-
-noexcept
-
- -

Look up key and return its value if it is a /Name, otherwise return empty string.

- -

References ipe::PdfObj::name(), and ipe::PdfName::value().

- -

Referenced by ipe::PdfFile::catalog().

- -
-
- -

◆ getNumber()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool PdfDict::getNumber (String key,
double & val,
const PdfFilefile = nullptr 
) const
-
-noexcept
-
- -

Retrieve a single number and stor in val.

- -

References ipe::PdfObj::number(), and ipe::PdfNumber::value().

- -

Referenced by ipe::Latex::createLatexSource(), and ipe::CairoPainter::executeStream().

- -
-
- -

◆ getInteger()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int PdfDict::getInteger (String key,
const PdfFilefile = nullptr 
) const
-
-noexcept
-
- -

Retrieve a single integer.

-

Returns -1 on failure.

- -

Referenced by ipe::Latex::createLatexSource(), ipe::CairoPainter::executeStream(), and ipe::PdfParser::getTrailer().

- -
-
- -

◆ getNumberArray()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool PdfDict::getNumberArray (String key,
const PdfFilefile,
std::vector< double > & vals 
) const
-
-noexcept
-
-
- -

◆ count()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfDict::count () const
-
-inlinenoexcept
-
-
- -

◆ key()

- -
-
- - - - - -
- - - - - - - - -
String ipe::PdfDict::key (int index) const
-
-inlinenoexcept
-
-
- -

◆ value()

- -
-
- - - - - -
- - - - - - - - -
const PdfObj* ipe::PdfDict::value (int index) const
-
-inlinenoexcept
-
-
- -

◆ stream()

- -
-
- - - - - -
- - - - - - - -
Buffer ipe::PdfDict::stream () const
-
-inlinenoexcept
-
-
- -

◆ deflated()

- -
-
- - - - - -
- - - - - - - -
bool PdfDict::deflated () const
-
-noexcept
-
- -

Is this stream compressed with flate compression?

- -

References ipe::PdfObj::name(), and ipe::PdfName::value().

- -

Referenced by ipe::Document::formatFromFilename(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ inflate()

- -
-
- - - - - -
- - - - - - - -
Buffer PdfDict::inflate () const
-
-noexcept
-
- -

Return the (uncompressed) stream data.

-

This only handles the /Flate compression.

- -

References ipe::String::data(), ipe::InflateSource::getChar(), ipe::PdfParser::PdfParser(), and ipe::String::size().

- -

Referenced by ipe::CairoPainter::executeStream(), ipe::PdfParser::getTrailer(), ipe::Face::glyphIndex(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ setLateStream()

- -
-
- - - - - -
- - - - - - - - -
void ipe::PdfDict::setLateStream (int pos)
-
-inlinenoexcept
-
- -

Referenced by ipe::PdfParser::getTrailer().

- -
-
- -

◆ lateStream()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfDict::lateStream () const
-
-inlinenoexcept
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_dict-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_dict-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_dict-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_dict-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,85 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfDict Member List
-
-
- -

This is the complete list of members for ipe::PdfDict, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add(String key, const PdfObj *obj)ipe::PdfDict
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
count() const noexceptipe::PdfDictinline
deflated() const noexceptipe::PdfDict
dict() const noexceptipe::PdfDictvirtual
dictRepr() const noexceptipe::PdfDict
dictWrite(Stream &stream, const PdfRenumber *renumber, bool inflate, int length) const noexceptipe::PdfDict
get(String key, const PdfFile *file=nullptr) const noexceptipe::PdfDict
getArray(String key, const PdfFile *file=nullptr) const noexceptipe::PdfDict
getDict(String key, const PdfFile *file=nullptr) const noexceptipe::PdfDict
getInteger(String key, const PdfFile *file=nullptr) const noexceptipe::PdfDict
getName(String key, const PdfFile *file=nullptr) const noexceptipe::PdfDict
getNumber(String key, double &val, const PdfFile *file=nullptr) const noexceptipe::PdfDict
getNumberArray(String key, const PdfFile *file, std::vector< double > &vals) const noexceptipe::PdfDict
inflate() const noexceptipe::PdfDict
key(int index) const noexceptipe::PdfDictinline
lateStream() const noexceptipe::PdfDictinline
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
PdfDict()ipe::PdfDictinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
setLateStream(int pos) noexceptipe::PdfDictinline
setStream(const Buffer &stream)ipe::PdfDict
stream() const noexceptipe::PdfDictinline
string() const noexceptipe::PdfObjvirtual
value(int index) const noexceptipe::PdfDictinline
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfDictvirtual
~PdfDict()ipe::PdfDict
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_file.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_file.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,287 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfFile Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfFile Class Reference
-
-
- -

#include <ipepdfparser.h>

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool parse (DataSource &source)
 
const PdfObjobject (int num) const noexcept
 
const PdfDictcatalog () const noexcept
 
const PdfDictpage (int pno=0) const noexcept
 
std::unique_ptr< const PdfObjtake (int num)
 
int countPages () const
 
Rect mediaBox (const PdfDict *page) const
 
int findPageFromPageObjectNumber (int objNum) const
 
-

Detailed Description

-

All information obtained by parsing a PDF file.

-

Member Function Documentation

- -

◆ parse()

- -
-
- - - - - - - - -
bool PdfFile::parse (DataSourcesource)
-
- -

Parse entire PDF stream, and store objects.

- -

Referenced by ipe::Document::formatFromFilename(), and ipe::PdfParser::getTrailer().

- -
-
- -

◆ object()

- -
-
- - - - - -
- - - - - - - - -
const PdfObj * PdfFile::object (int num) const
-
-noexcept
-
- -

Return object with number num.

- -

Referenced by ipe::Document::formatFromFilename(), and ipe::PdfFileResources::object().

- -
-
- -

◆ catalog()

- -
-
- - - - - -
- - - - - - - -
const PdfDict * PdfFile::catalog () const
-
-noexcept
-
-
- -

◆ page()

- -
-
- - - - - -
- - - - - - - - -
const PdfDict * PdfFile::page (int pno = 0) const
-
-noexcept
-
- -

Return a page of the document.

- -
-
- -

◆ take()

- -
-
- - - - - - - - -
std::unique_ptr< const PdfObj > PdfFile::take (int num)
-
- -

Take ownership of object with number num, remove from PdfFile.

- -

Referenced by ipe::PdfResources::setIpeXForm().

- -
-
- -

◆ countPages()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfFile::countPages () const
-
-inline
-
- -

Return number of pages.

- -
-
- -

◆ mediaBox()

- -
-
- - - - - - - - -
Rect PdfFile::mediaBox (const PdfDictpage) const
-
- -

Return mediabox of a page.

- -

References ipe::Rect::addPoint(), and ipe::PdfDict::getNumberArray().

- -
-
- -

◆ findPageFromPageObjectNumber()

- -
-
- - - - - - - - -
int PdfFile::findPageFromPageObjectNumber (int objNum) const
-
- -

Return page number given the PDF object number.

-

Returns -1 if the object number is not a page.

- -

References ipe::size().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_file-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_file-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfFile Member List
-
-
- -

This is the complete list of members for ipe::PdfFile, including all inherited members.

- - - - - - - - - -
catalog() const noexceptipe::PdfFile
countPages() constipe::PdfFileinline
findPageFromPageObjectNumber(int objNum) constipe::PdfFile
mediaBox(const PdfDict *page) constipe::PdfFile
object(int num) const noexceptipe::PdfFile
page(int pno=0) const noexceptipe::PdfFile
parse(DataSource &source)ipe::PdfFile
take(int num)ipe::PdfFile
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_file_resources.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file_resources.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_file_resources.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file_resources.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,167 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfFileResources Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfFileResources Class Reference
-
-
- -

#include <iperesources.h>

- -

Inherits ipe::PdfResourceBase.

- - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfFileResources (const PdfFile *file)
 
 ~PdfFileResources ()=default
 
virtual const PdfObjobject (int num) const noexcept
 
- Public Member Functions inherited from ipe::PdfResourceBase
 PdfResourceBase ()
 
virtual ~PdfResourceBase ()
 
const PdfObjgetDeep (const PdfDict *d, String key) const noexcept
 
const PdfDictgetDict (const PdfDict *d, String key) const noexcept
 
const PdfDictresourcesOfKind (String kind) const noexcept
 
const PdfDictfindResource (String kind, String name) const noexcept
 
const PdfDictfindResource (const PdfDict *xf, String kind, String name) const noexcept
 
- - - - -

-Additional Inherited Members

- Protected Attributes inherited from ipe::PdfResourceBase
std::unique_ptr< PdfDictiPageResources
 
-

Constructor & Destructor Documentation

- -

◆ PdfFileResources()

- -
-
- - - - - - - - -
PdfFileResources::PdfFileResources (const PdfFilefile)
-
- -
-
- -

◆ ~PdfFileResources()

- -
-
- - - - - -
- - - - - - - -
ipe::PdfFileResources::~PdfFileResources ()
-
-default
-
- -
-
-

Member Function Documentation

- -

◆ object()

- -
-
- - - - - -
- - - - - - - - -
const PdfObj * PdfFileResources::object (int num) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfResourceBase.

- -

References ipe::PdfFile::object().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_file_resources-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file_resources-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_file_resources-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_file_resources-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfFileResources Member List
-
-
- -

This is the complete list of members for ipe::PdfFileResources, including all inherited members.

- - - - - - - - - - - - -
findResource(String kind, String name) const noexceptipe::PdfResourceBase
findResource(const PdfDict *xf, String kind, String name) const noexceptipe::PdfResourceBase
getDeep(const PdfDict *d, String key) const noexceptipe::PdfResourceBase
getDict(const PdfDict *d, String key) const noexceptipe::PdfResourceBase
iPageResourcesipe::PdfResourceBaseprotected
object(int num) const noexceptipe::PdfFileResourcesvirtual
PdfFileResources(const PdfFile *file)ipe::PdfFileResources
PdfResourceBase()ipe::PdfResourceBase
resourcesOfKind(String kind) const noexceptipe::PdfResourceBase
~PdfFileResources()=defaultipe::PdfFileResources
~PdfResourceBase()ipe::PdfResourceBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_name.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_name.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_name.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_name.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,224 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfName Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfName Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfName (const String &val)
 
virtual const PdfNamename () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
String value () const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF name object.

-

Constructor & Destructor Documentation

- -

◆ PdfName()

- -
-
- - - - - -
- - - - - - - - -
ipe::PdfName::PdfName (const Stringval)
-
-inlineexplicit
-
- -

References ipe::PdfObj::name(), and ipe::PdfObj::write().

- -
-
-

Member Function Documentation

- -

◆ name()

- -
-
- - - - - -
- - - - - - - -
const PdfName * PdfName::name () const
-
-virtualnoexcept
-
- -

Return this object as PDF name object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfName::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
- -

◆ value()

- -
-
- - - - - -
- - - - - - - -
String ipe::PdfName::value () const
-
-inlinenoexcept
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_name-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_name-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_name-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_name-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfName Member List
-
-
- -

This is the complete list of members for ipe::PdfName, including all inherited members.

- - - - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfNamevirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
PdfName(const String &val)ipe::PdfNameinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
value() const noexceptipe::PdfNameinline
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfNamevirtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_null.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_null.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_null.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_null.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,194 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfNull Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfNull Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfNull ()
 
virtual const PdfNullnull () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF null object.

-

Constructor & Destructor Documentation

- -

◆ PdfNull()

- -
-
- - - - - -
- - - - - - - -
ipe::PdfNull::PdfNull ()
-
-inlineexplicit
-
- -

References ipe::PdfObj::null(), and ipe::PdfObj::write().

- -
-
-

Member Function Documentation

- -

◆ null()

- -
-
- - - - - -
- - - - - - - -
const PdfNull * PdfNull::null () const
-
-virtualnoexcept
-
- -

Return this object as PDF null object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfNull::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_null-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_null-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_null-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_null-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfNull Member List
-
-
- -

This is the complete list of members for ipe::PdfNull, including all inherited members.

- - - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfNullvirtual
number() const noexceptipe::PdfObjvirtual
PdfNull()ipe::PdfNullinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfNullvirtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_number.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_number.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_number.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_number.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,224 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfNumber Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfNumber Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfNumber (double val)
 
virtual const PdfNumbernumber () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
double value () const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF number object.

-

Constructor & Destructor Documentation

- -

◆ PdfNumber()

- -
-
- - - - - -
- - - - - - - - -
ipe::PdfNumber::PdfNumber (double val)
-
-inlineexplicit
-
-
-

Member Function Documentation

- -

◆ number()

- -
-
- - - - - -
- - - - - - - -
const PdfNumber * PdfNumber::number () const
-
-virtualnoexcept
-
- -

Return this object as PDF number object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfNumber::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
- -

◆ value()

- -
-
- - - - - -
- - - - - - - -
double ipe::PdfNumber::value () const
-
-inlinenoexcept
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_number-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_number-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_number-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_number-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfNumber Member List
-
-
- -

This is the complete list of members for ipe::PdfNumber, including all inherited members.

- - - - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfNumbervirtual
PdfNumber(double val)ipe::PdfNumberinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
value() const noexceptipe::PdfNumberinline
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfNumbervirtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_obj.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_obj.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_obj.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_obj.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,443 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfObj Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfObj Class Referenceabstract
-
-
- -

#include <ipepdfparser.h>

- -

Inherited by ipe::PdfArray, ipe::PdfBool, ipe::PdfDict, ipe::PdfName, ipe::PdfNull, ipe::PdfNumber, ipe::PdfRef, and ipe::PdfString.

- - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber=nullptr, bool inflate=false) const noexcept=0
 
String repr () const noexcept
 
-

Detailed Description

-

Abstract base class for PDF objects.

-

Constructor & Destructor Documentation

- -

◆ ~PdfObj()

- -
-
- - - - - -
- - - - - - - -
PdfObj::~PdfObj ()
-
-pure virtual
-
- -

Pure virtual destructor.

- -
-
-

Member Function Documentation

- -

◆ null()

- -
-
- - - - - -
- - - - - - - -
const PdfNull * PdfObj::null () const
-
-virtualnoexcept
-
- -

Return this object as PDF null object.

- -

Reimplemented in ipe::PdfNull.

- -

Referenced by ipe::PdfNull::PdfNull().

- -
-
- -

◆ boolean()

- -
-
- - - - - -
- - - - - - - -
const PdfBool * PdfObj::boolean () const
-
-virtualnoexcept
-
- -

Return this object as PDF bool object.

- -

Reimplemented in ipe::PdfBool.

- -

Referenced by ipe::PdfBool::PdfBool().

- -
-
- -

◆ number()

- -
-
- - - - - -
- - - - - - - -
const PdfNumber * PdfObj::number () const
-
-virtualnoexcept
-
-
- -

◆ string()

- -
-
- - - - - -
- - - - - - - -
const PdfString * PdfObj::string () const
-
-virtualnoexcept
-
- -

Return this object as PDF string object.

- -

Reimplemented in ipe::PdfString.

- -

Referenced by ipe::CairoPainter::executeStream(), and ipe::PdfString::PdfString().

- -
-
- -

◆ name()

- -
-
- - - - - -
- - - - - - - -
const PdfName * PdfObj::name () const
-
-virtualnoexcept
-
-
- -

◆ ref()

- -
-
- - - - - -
- - - - - - - -
const PdfRef * PdfObj::ref () const
-
-virtualnoexcept
-
-
- -

◆ array()

- -
-
- - - - - -
- - - - - - - -
const PdfArray * PdfObj::array () const
-
-virtualnoexcept
-
-
- -

◆ dict()

- -
-
- - - - - -
- - - - - - - -
const PdfDict * PdfObj::dict () const
-
-virtualnoexcept
-
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::PdfObj::write (Streamstream,
const PdfRenumberrenumber = nullptr,
bool inflate = false 
) const
-
-pure virtualnoexcept
-
-
- -

◆ repr()

- -
-
- - - - - -
- - - - - - - -
String PdfObj::repr () const
-
-noexcept
-
- -

Return PDF representation of the object.

- -

References write().

- -

Referenced by ipe::PdfResources::collect(), and ipe::CairoPainter::executeStream().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_obj-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_obj-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_obj-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_obj-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfObj Member List
-
-
- -

This is the complete list of members for ipe::PdfObj, including all inherited members.

- - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
write(Stream &stream, const PdfRenumber *renumber=nullptr, bool inflate=false) const noexcept=0ipe::PdfObjpure virtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_painter.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_painter.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_painter.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_painter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,900 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfPainter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Static Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::PdfPainter Class Reference
-
-
- -

#include <ipepdfwriter.h>

- -

Inherits ipe::Painter.

- -

Inherited by ipe::PsPainter.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfPainter (const Cascade *style, Stream &stream)
 
virtual ~PdfPainter ()
 
- Public Member Functions inherited from ipe::Painter
 Painter (const Cascade *style)
 
virtual ~Painter ()
 
void setAttributeMap (const AttributeMap *map)
 
Attribute lookup (Kind kind, Attribute sym) const
 
void transform (const Matrix &m)
 
void untransform (TTransformations trans)
 
void translate (const Vector &v)
 
void push ()
 
void pop ()
 
void pushMatrix ()
 
void popMatrix ()
 
void newPath ()
 
void moveTo (const Vector &v)
 
void lineTo (const Vector &v)
 
void curveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
void curveTo (const Bezier &bezier)
 
void rect (const Rect &re)
 
void drawEllipse ()
 
void drawArc (const Arc &arc)
 
void closePath ()
 
void drawPath (TPathMode mode)
 
void drawBitmap (Bitmap bitmap)
 
void drawText (const Text *text)
 
void drawSymbol (Attribute symbol)
 
void addClipPath ()
 
void setStroke (Attribute color)
 
void setFill (Attribute color)
 
void setPen (Attribute pen)
 
void setDashStyle (Attribute dash)
 
void setLineCap (TLineCap cap)
 
void setLineJoin (TLineJoin join)
 
void setFillRule (TFillRule rule)
 
void setSymStroke (Attribute color)
 
void setSymFill (Attribute color)
 
void setSymPen (Attribute wid)
 
void setOpacity (Attribute opaq)
 
void setStrokeOpacity (Attribute opaq)
 
void setTiling (Attribute til)
 
void setGradient (Attribute grad)
 
const Cascadecascade () const
 
Color stroke () const
 
Color fill () const
 
const Matrixmatrix () const
 
Fixed pen () const
 
String dashStyle () const
 
void dashStyle (std::vector< double > &dashes, double &offset) const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
Color symStroke () const
 
Color symFill () const
 
Fixed symPen () const
 
Fixed opacity () const
 
Fixed strokeOpacity () const
 
Attribute tiling () const
 
Attribute gradient () const
 
const Statestate () const
 
void setState (const State &state)
 
- - - -

-Static Public Member Functions

static void drawColor (Stream &stream, Color color, const char *gray, const char *rgb)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

virtual void doPush ()
 
virtual void doPop ()
 
virtual void doNewPath ()
 
virtual void doMoveTo (const Vector &v)
 
virtual void doLineTo (const Vector &v)
 
virtual void doCurveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
virtual void doClosePath ()
 
virtual void doDrawPath (TPathMode mode)
 
virtual void doDrawBitmap (Bitmap bitmap)
 
virtual void doDrawText (const Text *text)
 
virtual void doAddClipPath ()
 
virtual void doDrawSymbol (Attribute symbol)
 
void drawAttributes ()
 
void drawOpacity (bool withStroke)
 
- Protected Member Functions inherited from ipe::Painter
virtual void doDrawArc (const Arc &arc)
 
void drawArcAsBezier (double alpha)
 
- - - - - - - - - - - - - - - - -

-Protected Attributes

StreamiStream
 
std::list< StateiActiveState
 
- Protected Attributes inherited from ipe::Painter
std::list< StateiState
 
std::list< MatrixiMatrix
 
const CascadeiCascade
 
const AttributeMapiAttributeMap
 
int iInPath
 
-

Constructor & Destructor Documentation

- -

◆ PdfPainter()

- -
-
- - - - - - - - - - - - - - - - - - -
PdfPainter::PdfPainter (const Cascadestyle,
Streamstream 
)
-
-
- -

◆ ~PdfPainter()

- -
-
- - - - - -
- - - - - - - -
virtual ipe::PdfPainter::~PdfPainter ()
-
-inlinevirtual
-
-
-

Member Function Documentation

- -

◆ drawColor()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void PdfPainter::drawColor (Streamstream,
Color color,
const char * gray,
const char * rgb 
)
-
-static
-
- -

References ipe::Color::iRed, and ipe::Color::isGray().

- -

Referenced by drawAttributes(), and ~PdfPainter().

- -
-
- -

◆ doPush()

- -
-
- - - - - -
- - - - - - - -
void PdfPainter::doPush ()
-
-protectedvirtual
-
- -

Perform graphics state push on output medium.

- -

Reimplemented from ipe::Painter.

- -

References iActiveState, iStream, and ipe::Painter::state().

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doPop()

- -
-
- - - - - -
- - - - - - - -
void PdfPainter::doPop ()
-
-protectedvirtual
-
- -

Perform graphics state pop on output medium.

- -

Reimplemented from ipe::Painter.

- -

References iActiveState, and iStream.

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doNewPath()

- -
-
- - - - - -
- - - - - - - -
void PdfPainter::doNewPath ()
-
-protectedvirtual
-
- -

Perform new path operator.

- -

Reimplemented from ipe::Painter.

- -

Reimplemented in ipe::PsPainter.

- -

References drawAttributes().

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doMoveTo()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::doMoveTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform moveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

References iStream.

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doLineTo()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::doLineTo (const Vectorv)
-
-protectedvirtual
-
- -

Perform lineto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

References iStream.

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doCurveTo()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfPainter::doCurveTo (const Vectorv1,
const Vectorv2,
const Vectorv3 
)
-
-protectedvirtual
-
- -

Perform curveto operator.

-

The transformation matrix has already been applied.

- -

Reimplemented from ipe::Painter.

- -

References iStream.

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doClosePath()

- -
-
- - - - - -
- - - - - - - -
void PdfPainter::doClosePath ()
-
-protectedvirtual
-
- -

Perform closepath operator.

- -

Reimplemented from ipe::Painter.

- -

References iStream.

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doDrawPath()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::doDrawPath (TPathMode mode)
-
-protectedvirtual
-
-
- -

◆ doDrawBitmap()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::doDrawBitmap (Bitmap bitmap)
-
-protectedvirtual
-
- -

Draw a bitmap.

- -

Reimplemented from ipe::Painter.

- -

Reimplemented in ipe::PsPainter.

- -

References drawOpacity(), iStream, ipe::Painter::matrix(), and ipe::Bitmap::objNum().

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doDrawText()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::doDrawText (const Texttext)
-
-protectedvirtual
-
-
- -

◆ doAddClipPath()

- -
-
- - - - - -
- - - - - - - -
void PdfPainter::doAddClipPath ()
-
-protectedvirtual
-
- -

Add a clip path.

- -

Reimplemented from ipe::Painter.

- -

Reimplemented in ipe::PsPainter.

- -

References iStream.

- -

Referenced by ~PdfPainter().

- -
-
- -

◆ doDrawSymbol()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::doDrawSymbol (Attribute symbol)
-
-protectedvirtual
-
-
- -

◆ drawAttributes()

- -
-
- - - - - -
- - - - - - - -
void PdfPainter::drawAttributes ()
-
-protected
-
-
- -

◆ drawOpacity()

- -
-
- - - - - -
- - - - - - - - -
void PdfPainter::drawOpacity (bool withStroke)
-
-protected
-
-
-

Member Data Documentation

- -

◆ iStream

- -
-
- - - - - -
- - - - -
Stream& ipe::PdfPainter::iStream
-
-protected
-
-
- -

◆ iActiveState

- -
-
- - - - - -
- - - - -
std::list<State> ipe::PdfPainter::iActiveState
-
-protected
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_painter-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_painter-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_painter-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_painter-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,137 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfPainter Member List
-
-
- -

This is the complete list of members for ipe::PdfPainter, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addClipPath()ipe::Painter
cascade() constipe::Painterinline
closePath()ipe::Painter
curveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::Painter
curveTo(const Bezier &bezier)ipe::Painterinline
dashStyle() constipe::Painterinline
dashStyle(std::vector< double > &dashes, double &offset) constipe::Painter
doAddClipPath()ipe::PdfPainterprotectedvirtual
doClosePath()ipe::PdfPainterprotectedvirtual
doCurveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::PdfPainterprotectedvirtual
doDrawArc(const Arc &arc)ipe::Painterprotectedvirtual
doDrawBitmap(Bitmap bitmap)ipe::PdfPainterprotectedvirtual
doDrawPath(TPathMode mode)ipe::PdfPainterprotectedvirtual
doDrawSymbol(Attribute symbol)ipe::PdfPainterprotectedvirtual
doDrawText(const Text *text)ipe::PdfPainterprotectedvirtual
doLineTo(const Vector &v)ipe::PdfPainterprotectedvirtual
doMoveTo(const Vector &v)ipe::PdfPainterprotectedvirtual
doNewPath()ipe::PdfPainterprotectedvirtual
doPop()ipe::PdfPainterprotectedvirtual
doPush()ipe::PdfPainterprotectedvirtual
drawArc(const Arc &arc)ipe::Painter
drawArcAsBezier(double alpha)ipe::Painterprotected
drawAttributes()ipe::PdfPainterprotected
drawBitmap(Bitmap bitmap)ipe::Painter
drawColor(Stream &stream, Color color, const char *gray, const char *rgb)ipe::PdfPainterstatic
drawEllipse()ipe::Painter
drawOpacity(bool withStroke)ipe::PdfPainterprotected
drawPath(TPathMode mode)ipe::Painter
drawSymbol(Attribute symbol)ipe::Painter
drawText(const Text *text)ipe::Painter
fill() constipe::Painterinline
fillRule() constipe::Painterinline
gradient() constipe::Painterinline
iActiveStateipe::PdfPainterprotected
iAttributeMapipe::Painterprotected
iCascadeipe::Painterprotected
iInPathipe::Painterprotected
iMatrixipe::Painterprotected
iStateipe::Painterprotected
iStreamipe::PdfPainterprotected
lineCap() constipe::Painterinline
lineJoin() constipe::Painterinline
lineTo(const Vector &v)ipe::Painter
lookup(Kind kind, Attribute sym) constipe::Painter
matrix() constipe::Painterinline
moveTo(const Vector &v)ipe::Painter
newPath()ipe::Painter
opacity() constipe::Painterinline
Painter(const Cascade *style)ipe::Painter
PdfPainter(const Cascade *style, Stream &stream)ipe::PdfPainter
pen() constipe::Painterinline
pop()ipe::Painter
popMatrix()ipe::Painter
push()ipe::Painter
pushMatrix()ipe::Painter
rect(const Rect &re)ipe::Painter
setAttributeMap(const AttributeMap *map)ipe::Painter
setDashStyle(Attribute dash)ipe::Painter
setFill(Attribute color)ipe::Painter
setFillRule(TFillRule rule)ipe::Painter
setGradient(Attribute grad)ipe::Painter
setLineCap(TLineCap cap)ipe::Painter
setLineJoin(TLineJoin join)ipe::Painter
setOpacity(Attribute opaq)ipe::Painter
setPen(Attribute pen)ipe::Painter
setState(const State &state)ipe::Painter
setStroke(Attribute color)ipe::Painter
setStrokeOpacity(Attribute opaq)ipe::Painter
setSymFill(Attribute color)ipe::Painter
setSymPen(Attribute wid)ipe::Painter
setSymStroke(Attribute color)ipe::Painter
setTiling(Attribute til)ipe::Painter
state() constipe::Painterinline
stroke() constipe::Painterinline
strokeOpacity() constipe::Painterinline
symFill() constipe::Painterinline
symPen() constipe::Painterinline
symStroke() constipe::Painterinline
tiling() constipe::Painterinline
transform(const Matrix &m)ipe::Painter
translate(const Vector &v)ipe::Painter
untransform(TTransformations trans)ipe::Painter
~Painter()ipe::Paintervirtual
~PdfPainter()ipe::PdfPainterinlinevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_parser.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_parser.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_parser.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_parser.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,328 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfParser Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfParser Class Reference
-
-
- -

#include <ipepdfparser.h>

- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfParser (DataSource &source)
 
void getChar ()
 
bool eos () const noexcept
 
PdfToken token () const noexcept
 
void getToken ()
 
PdfObjgetObject (bool lateStream=false)
 
PdfObjgetObjectDef (bool lateStream)
 
PdfDictgetTrailer ()
 
void skipXRef ()
 
std::vector< int > readXRef ()
 
-

Detailed Description

-

PDF parser.

-

The parser understands the syntax of PDF files, but very little of its semantics. It is meant to be able to parse PDF documents created by Ipe for loading, and to extract information from PDF files created by Pdflatex or Xelatex.

-

The parser reads a PDF file sequentially from front to back, ignores the contents of 'xref' sections, stores only generation 0 objects, and stops after reading the first 'trailer' section (so it cannot deal with files with incremental updates). It cannot handle stream objects whose /Length entry has been deferred (using an indirect object).

-

Constructor & Destructor Documentation

- -

◆ PdfParser()

- -
-
- - - - - - - - -
PdfParser::PdfParser (DataSourcesource)
-
- -

Construct with a data source.

- -

Referenced by ipe::PdfDict::inflate().

- -
-
-

Member Function Documentation

- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
void ipe::PdfParser::getChar ()
-
-inline
-
- -

Referenced by getTrailer().

- -
-
- -

◆ eos()

- -
-
- - - - - -
- - - - - - - -
bool ipe::PdfParser::eos () const
-
-inlinenoexcept
-
- -

Referenced by ipe::CairoPainter::executeStream().

- -
-
- -

◆ token()

- -
-
- - - - - -
- - - - - - - -
PdfToken ipe::PdfParser::token () const
-
-inlinenoexcept
-
-
- -

◆ getToken()

- -
-
- - - - - - - -
void PdfParser::getToken ()
-
-
- -

◆ getObject()

- -
-
- - - - - - - - -
PdfObj * PdfParser::getObject (bool lateStream = false)
-
-
- -

◆ getObjectDef()

- -
-
- - - - - - - - -
PdfObj * PdfParser::getObjectDef (bool lateStream)
-
- -

Parse an object definition (current token is object number).

- -

References ipe::PdfObj::dict(), ipe::PdfToken::ENumber, ipe::PdfToken::EOp, and ipe::PdfDict::lateStream().

- -

Referenced by getTrailer().

- -
-
- -

◆ getTrailer()

- -
-
- - - - - - - -
PdfDict * PdfParser::getTrailer ()
-
-
- -

◆ skipXRef()

- -
-
- - - - - - - -
void PdfParser::skipXRef ()
-
- -

Skip xref table (current token is 'xref')

- -

Referenced by getTrailer().

- -
-
- -

◆ readXRef()

- -
-
- - - - - - - -
std::vector< int > PdfParser::readXRef ()
-
- -

Read xref table (current token is 'xref')

- -

Referenced by getTrailer().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_parser-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_parser-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_parser-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_parser-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfParser Member List
-
-
- -

This is the complete list of members for ipe::PdfParser, including all inherited members.

- - - - - - - - - - - -
eos() const noexceptipe::PdfParserinline
getChar()ipe::PdfParserinline
getObject(bool lateStream=false)ipe::PdfParser
getObjectDef(bool lateStream)ipe::PdfParser
getToken()ipe::PdfParser
getTrailer()ipe::PdfParser
PdfParser(DataSource &source)ipe::PdfParser
readXRef()ipe::PdfParser
skipXRef()ipe::PdfParser
token() const noexceptipe::PdfParserinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_ref.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_ref.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_ref.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_ref.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,224 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfRef Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfRef Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfRef (int val)
 
virtual const PdfRefref () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
int value () const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfStringstring () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF reference object (indirect object).

-

Constructor & Destructor Documentation

- -

◆ PdfRef()

- -
-
- - - - - -
- - - - - - - - -
ipe::PdfRef::PdfRef (int val)
-
-inlineexplicit
-
- -

References ipe::PdfObj::ref(), and ipe::PdfObj::write().

- -
-
-

Member Function Documentation

- -

◆ ref()

- -
-
- - - - - -
- - - - - - - -
const PdfRef * PdfRef::ref () const
-
-virtualnoexcept
-
- -

Return this object as PDF reference object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfRef::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
- -

◆ value()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfRef::value () const
-
-inlinenoexcept
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_ref-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_ref-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_ref-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_ref-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfRef Member List
-
-
- -

This is the complete list of members for ipe::PdfRef, including all inherited members.

- - - - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
PdfRef(int val)ipe::PdfRefinlineexplicit
ref() const noexceptipe::PdfRefvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfObjvirtual
value() const noexceptipe::PdfRefinline
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfRefvirtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_resource_base.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resource_base.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_resource_base.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resource_base.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,380 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfResourceBase Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Protected Attributes | -List of all members
-
-
ipe::PdfResourceBase Class Referenceabstract
-
-
- -

#include <iperesources.h>

- -

Inherited by ipe::PdfFileResources, and ipe::PdfResources.

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfResourceBase ()
 
virtual ~PdfResourceBase ()
 
virtual const PdfObjobject (int num) const noexcept=0
 
const PdfObjgetDeep (const PdfDict *d, String key) const noexcept
 
const PdfDictgetDict (const PdfDict *d, String key) const noexcept
 
const PdfDictresourcesOfKind (String kind) const noexcept
 
const PdfDictfindResource (String kind, String name) const noexcept
 
const PdfDictfindResource (const PdfDict *xf, String kind, String name) const noexcept
 
- - - -

-Protected Attributes

std::unique_ptr< PdfDictiPageResources
 
-

Detailed Description

-

Base class providing access to PDF objects.

-

Constructor & Destructor Documentation

- -

◆ PdfResourceBase()

- -
-
- - - - - - - -
PdfResourceBase::PdfResourceBase ()
-
- -
-
- -

◆ ~PdfResourceBase()

- -
-
- - - - - -
- - - - - - - -
PdfResourceBase::~PdfResourceBase ()
-
-virtual
-
- -
-
-

Member Function Documentation

- -

◆ object()

- -
-
- - - - - -
- - - - - - - - -
virtual const PdfObj* ipe::PdfResourceBase::object (int num) const
-
-pure virtualnoexcept
-
- -

Implemented in ipe::PdfResources, and ipe::PdfFileResources.

- -
-
- -

◆ getDeep()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfObj * PdfResourceBase::getDeep (const PdfDictd,
String key 
) const
-
-noexcept
-
- -

References ipe::PdfObj::ref(), and ipe::PdfRef::value().

- -

Referenced by getDict().

- -
-
- -

◆ getDict()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfDict * PdfResourceBase::getDict (const PdfDictd,
String key 
) const
-
-noexcept
-
- -

References ipe::PdfObj::dict(), and getDeep().

- -

Referenced by findResource().

- -
-
- -

◆ resourcesOfKind()

- -
-
- - - - - -
- - - - - - - - -
const PdfDict * PdfResourceBase::resourcesOfKind (String kind) const
-
-noexcept
-
- -

References ipe::PdfObj::dict(), and iPageResources.

- -

Referenced by findResource().

- -
-
- -

◆ findResource() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const PdfDict * PdfResourceBase::findResource (String kind,
String name 
) const
-
-noexcept
-
- -

References getDict(), and resourcesOfKind().

- -

Referenced by ipe::CairoPainter::executeStream().

- -
-
- -

◆ findResource() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
const PdfDict * PdfResourceBase::findResource (const PdfDictxf,
String kind,
String name 
) const
-
-noexcept
-
- -

References getDict().

- -
-
-

Member Data Documentation

- -

◆ iPageResources

- -
-
- - - - - -
- - - - -
std::unique_ptr<PdfDict> ipe::PdfResourceBase::iPageResources
-
-protected
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_resource_base-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resource_base-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_resource_base-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resource_base-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,62 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfResourceBase Member List
-
-
- -

This is the complete list of members for ipe::PdfResourceBase, including all inherited members.

- - - - - - - - - - -
findResource(String kind, String name) const noexceptipe::PdfResourceBase
findResource(const PdfDict *xf, String kind, String name) const noexceptipe::PdfResourceBase
getDeep(const PdfDict *d, String key) const noexceptipe::PdfResourceBase
getDict(const PdfDict *d, String key) const noexceptipe::PdfResourceBase
iPageResourcesipe::PdfResourceBaseprotected
object(int num) const noexcept=0ipe::PdfResourceBasepure virtual
PdfResourceBase()ipe::PdfResourceBase
resourcesOfKind(String kind) const noexceptipe::PdfResourceBase
~PdfResourceBase()ipe::PdfResourceBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_resources.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resources.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_resources.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resources.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,401 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfResources Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -List of all members
-
-
ipe::PdfResources Class Reference
-
-
- -

#include <iperesources.h>

- -

Inherits ipe::PdfResourceBase.

- - - - -

-Classes

struct  SPageNumber
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfResources ()
 
virtual ~PdfResources ()=default
 
bool collect (const PdfDict *resources, PdfFile *file)
 
virtual const PdfObjobject (int num) const noexcept
 
virtual const PdfDictbaseResources () const noexcept
 
void addPageNumber (SPageNumber &pn) noexcept
 
const TextpageNumber (int page, int view) const noexcept
 
const std::vector< int > & embedSequence () const noexcept
 
void show () const noexcept
 
bool isIpeXForm (int num) const
 
void setIpeXForm (int num)
 
- Public Member Functions inherited from ipe::PdfResourceBase
 PdfResourceBase ()
 
virtual ~PdfResourceBase ()
 
const PdfObjgetDeep (const PdfDict *d, String key) const noexcept
 
const PdfDictgetDict (const PdfDict *d, String key) const noexcept
 
const PdfDictresourcesOfKind (String kind) const noexcept
 
const PdfDictfindResource (String kind, String name) const noexcept
 
const PdfDictfindResource (const PdfDict *xf, String kind, String name) const noexcept
 
- - - - -

-Additional Inherited Members

- Protected Attributes inherited from ipe::PdfResourceBase
std::unique_ptr< PdfDictiPageResources
 
-

Detailed Description

-

All the resources needed by the text objects in the document.

-

Constructor & Destructor Documentation

- -

◆ PdfResources()

- -
-
- - - - - - - -
PdfResources::PdfResources ()
-
- -
-
- -

◆ ~PdfResources()

- -
-
- - - - - -
- - - - - - - -
virtual ipe::PdfResources::~PdfResources ()
-
-virtualdefault
-
- -
-
-

Member Function Documentation

- -

◆ collect()

- -
-
- - - - - - - - - - - - - - - - - - -
bool PdfResources::collect (const PdfDictresources,
PdfFilefile 
)
-
-
- -

◆ object()

- -
-
- - - - - -
- - - - - - - - -
const PdfObj * PdfResources::object (int num) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfResourceBase.

- -
-
- -

◆ baseResources()

- -
-
- - - - - -
- - - - - - - -
const PdfDict * PdfResources::baseResources () const
-
-virtualnoexcept
-
-
- -

◆ addPageNumber()

- -
-
- - - - - -
- - - - - - - - -
void PdfResources::addPageNumber (SPageNumberpn)
-
-noexcept
-
- -
-
- -

◆ pageNumber()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
const Text * PdfResources::pageNumber (int page,
int view 
) const
-
-noexcept
-
- -

References ipe::Text::text().

- -
-
- -

◆ embedSequence()

- -
-
- - - - - -
- - - - - - - -
const std::vector<int>& ipe::PdfResources::embedSequence () const
-
-inlinenoexcept
-
- -
-
- -

◆ show()

- -
-
- - - - - -
- - - - - - - -
void PdfResources::show () const
-
-noexcept
-
-
- -

◆ isIpeXForm()

- -
-
- - - - - - - - -
bool PdfResources::isIpeXForm (int num) const
-
- -
-
- -

◆ setIpeXForm()

- -
-
- - - - - - - - -
void PdfResources::setIpeXForm (int num)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_resources-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resources-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_resources-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_resources-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,72 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfResources Member List
-
-
- -

This is the complete list of members for ipe::PdfResources, including all inherited members.

- - - - - - - - - - - - - - - - - - - - -
addPageNumber(SPageNumber &pn) noexceptipe::PdfResources
baseResources() const noexceptipe::PdfResourcesvirtual
collect(const PdfDict *resources, PdfFile *file)ipe::PdfResources
embedSequence() const noexceptipe::PdfResourcesinline
findResource(String kind, String name) const noexceptipe::PdfResourceBase
findResource(const PdfDict *xf, String kind, String name) const noexceptipe::PdfResourceBase
getDeep(const PdfDict *d, String key) const noexceptipe::PdfResourceBase
getDict(const PdfDict *d, String key) const noexceptipe::PdfResourceBase
iPageResourcesipe::PdfResourceBaseprotected
isIpeXForm(int num) constipe::PdfResources
object(int num) const noexceptipe::PdfResourcesvirtual
pageNumber(int page, int view) const noexceptipe::PdfResources
PdfResourceBase()ipe::PdfResourceBase
PdfResources()ipe::PdfResources
resourcesOfKind(String kind) const noexceptipe::PdfResourceBase
setIpeXForm(int num)ipe::PdfResources
show() const noexceptipe::PdfResources
~PdfResourceBase()ipe::PdfResourceBasevirtual
~PdfResources()=defaultipe::PdfResourcesvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_string.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_string.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_string.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_string.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,265 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfString Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfString Class Reference
-
-
- -

#include <ipepdfparser.h>

- -

Inherits ipe::PdfObj.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfString (const String &val, bool binary=false)
 
virtual const PdfStringstring () const noexcept
 
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
 
String value () const noexcept
 
String decode () const noexcept
 
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
 
virtual const PdfNullnull () const noexcept
 
virtual const PdfBoolboolean () const noexcept
 
virtual const PdfNumbernumber () const noexcept
 
virtual const PdfNamename () const noexcept
 
virtual const PdfRefref () const noexcept
 
virtual const PdfArrayarray () const noexcept
 
virtual const PdfDictdict () const noexcept
 
String repr () const noexcept
 
-

Detailed Description

-

The PDF string object.

-

Constructor & Destructor Documentation

- -

◆ PdfString()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
ipe::PdfString::PdfString (const Stringval,
bool binary = false 
)
-
-inlineexplicit
-
-
-

Member Function Documentation

- -

◆ string()

- -
-
- - - - - -
- - - - - - - -
const PdfString * PdfString::string () const
-
-virtualnoexcept
-
- -

Return this object as PDF string object.

- -

Reimplemented from ipe::PdfObj.

- -
-
- -

◆ write()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void PdfString::write (Streamstream,
const PdfRenumberrenumber,
bool inflate 
) const
-
-virtualnoexcept
-
- -

Implements ipe::PdfObj.

- -
-
- -

◆ value()

- -
-
- - - - - -
- - - - - - - -
String ipe::PdfString::value () const
-
-inlinenoexcept
-
- -
-
- -

◆ decode()

- -
-
- - - - - -
- - - - - - - -
String PdfString::decode () const
-
-noexcept
-
- -

Return value of string after decoding binary strings.

- -

References ipe::String::appendUtf8(), ipe::Lex::eos(), and ipe::Lex::getHexByte().

- -

Referenced by ipe::CairoPainter::executeStream().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_string-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_string-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_string-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_string-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfString Member List
-
-
- -

This is the complete list of members for ipe::PdfString, including all inherited members.

- - - - - - - - - - - - - - - -
array() const noexceptipe::PdfObjvirtual
boolean() const noexceptipe::PdfObjvirtual
decode() const noexceptipe::PdfString
dict() const noexceptipe::PdfObjvirtual
name() const noexceptipe::PdfObjvirtual
null() const noexceptipe::PdfObjvirtual
number() const noexceptipe::PdfObjvirtual
PdfString(const String &val, bool binary=false)ipe::PdfStringinlineexplicit
ref() const noexceptipe::PdfObjvirtual
repr() const noexceptipe::PdfObj
string() const noexceptipe::PdfStringvirtual
value() const noexceptipe::PdfStringinline
write(Stream &stream, const PdfRenumber *renumber, bool inflate) const noexceptipe::PdfStringvirtual
~PdfObj()=0ipe::PdfObjpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_thumbnail.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_thumbnail.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_thumbnail.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_thumbnail.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,175 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfThumbnail Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PdfThumbnail Class Reference
-
-
- -

#include <ipethumbs.h>

- - - - - - - - - - -

-Public Member Functions

 PdfThumbnail (const PdfFile *pdf, int width)
 
int width () const
 
int height () const
 
Buffer render (const PdfDict *page)
 
-

Constructor & Destructor Documentation

- -

◆ PdfThumbnail()

- -
-
- - - - - - - - - - - - - - - - - - -
PdfThumbnail::PdfThumbnail (const PdfFilepdf,
int width 
)
-
-
-

Member Function Documentation

- -

◆ width()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfThumbnail::width () const
-
-inline
-
- -
-
- -

◆ height()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfThumbnail::height () const
-
-inline
-
- -

References ipe::Thumbnail::render().

- -
-
- -

◆ render()

- -
-
- - - - - - - - -
Buffer PdfThumbnail::render (const PdfDictpage)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_thumbnail-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_thumbnail-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_thumbnail-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_thumbnail-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,57 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfThumbnail Member List
-
-
- -

This is the complete list of members for ipe::PdfThumbnail, including all inherited members.

- - - - - -
height() constipe::PdfThumbnailinline
PdfThumbnail(const PdfFile *pdf, int width)ipe::PdfThumbnail
render(const PdfDict *page)ipe::PdfThumbnail
width() constipe::PdfThumbnailinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_view_base.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view_base.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_view_base.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view_base.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1164 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfViewBase Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::PdfViewBase Class Referenceabstract
-
-
- -

#include <ipepdfview.h>

- -

Inherited by ipe::PdfView, ipe::PdfView, and PdfView.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual ~PdfViewBase ()
 
void setPdf (const PdfFile *pdf, Fonts *fonts)
 
void setPage (const PdfDict *page, const Rect &paper)
 
void setBackground (const Color &bg)
 
void setBlackout (bool bo)
 
Vector pan () const
 
double zoom () const
 
Vector center () const
 
int viewWidth () const
 
int viewHeight () const
 
bool blackout () const
 
Vector devToUser (const Vector &arg) const
 
Vector userToDev (const Vector &arg) const
 
void setPan (const Vector &v)
 
void setZoom (double zoom)
 
Matrix canvasTfm () const
 
void updatePdf ()
 
virtual void invalidate (int x, int y, int w, int h)=0
 
virtual void invalidate ()=0
 
- - - - - - - -

-Protected Member Functions

 PdfViewBase ()
 
void drawPaper (cairo_t *cc)
 
void refreshSurface ()
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Attributes

double iWidth
 
double iHeight
 
double iBWidth
 
double iBHeight
 
Vector iPan
 
double iZoom
 
Color iBackground
 
bool iBlackout
 
bool iRepaint
 
cairo_surface_t * iSurface
 
std::unique_ptr< CascadeiCascade
 
const PdfDictiPage
 
Rect iPaperBox
 
const PdfDictiStream
 
const PdfFileiPdf
 
FontsiFonts
 
-

Detailed Description

-

A widget (control) that displays a PDF document.

-

Constructor & Destructor Documentation

- -

◆ ~PdfViewBase()

- -
-
- - - - - -
- - - - - - - -
PdfViewBase::~PdfViewBase ()
-
-virtual
-
- -

destructor.

- -

References iSurface.

- -
-
- -

◆ PdfViewBase()

- -
-
- - - - - -
- - - - - - - -
PdfViewBase::PdfViewBase ()
-
-protected
-
- -

Construct a new canvas.

- -

Referenced by blackout().

- -
-
-

Member Function Documentation

- -

◆ setPdf()

- -
-
- - - - - - - - - - - - - - - - - - -
void PdfViewBase::setPdf (const PdfFilepdf,
Fontsfonts 
)
-
- -

Provide the PDF document.

- -

References iFonts, iPage, iPdf, and iStream.

- -
-
- -

◆ setPage()

- -
-
- - - - - - - - - - - - - - - - - - -
void PdfViewBase::setPage (const PdfDictpage,
const Rectpaper 
)
-
- -

Provide the page to view.

- -

References ipe::PdfObj::dict(), ipe::PdfDict::get(), iPage, iPaperBox, iPdf, and iStream.

- -
-
- -

◆ setBackground()

- -
-
- - - - - - - - -
void PdfViewBase::setBackground (const Colorbg)
-
- -

Set background color.

- -

References iBackground.

- -
-
- -

◆ setBlackout()

- -
-
- - - - - - - - -
void PdfViewBase::setBlackout (bool bo)
-
- -

Set blackout.

- -

References iBlackout.

- -
-
- -

◆ pan()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::PdfViewBase::pan () const
-
-inline
-
- -

Return current pan.

- -

References iPan.

- -
-
- -

◆ zoom()

- -
-
- - - - - -
- - - - - - - -
double ipe::PdfViewBase::zoom () const
-
-inline
-
- -

Return current zoom.

- -

References iZoom.

- -

Referenced by blackout(), and setZoom().

- -
-
- -

◆ center()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::PdfViewBase::center () const
-
-inline
-
- -

Return center of view.

- -

References iHeight, and iWidth.

- -

Referenced by canvasTfm(), devToUser(), and userToDev().

- -
-
- -

◆ viewWidth()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfViewBase::viewWidth () const
-
-inline
-
- -

Return width of view.

- -

References iWidth.

- -
-
- -

◆ viewHeight()

- -
-
- - - - - -
- - - - - - - -
int ipe::PdfViewBase::viewHeight () const
-
-inline
-
- -

Return height of view.

- -

References iHeight.

- -
-
- -

◆ blackout()

- -
-
- - - - - -
- - - - - - - -
bool ipe::PdfViewBase::blackout () const
-
-inline
-
-
- -

◆ devToUser()

- -
-
- - - - - - - - -
Vector PdfViewBase::devToUser (const Vectorarg) const
-
- -

Convert canvas (device) coordinates to user coordinates.

- -

References center(), iPan, iZoom, ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by blackout(), and ipe::PdfView::mousePressEvent().

- -
-
- -

◆ userToDev()

- -
-
- - - - - - - - -
Vector PdfViewBase::userToDev (const Vectorarg) const
-
- -

Convert user coordinates to canvas (device) coordinates.

- -

References center(), iPan, iZoom, ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by blackout().

- -
-
- -

◆ setPan()

- -
-
- - - - - - - - -
void PdfViewBase::setPan (const Vectorv)
-
- -

Set current pan position.

-

The pan position is the user coordinate that is displayed at the very center of the canvas.

- -

References iPan.

- -

Referenced by blackout().

- -
-
- -

◆ setZoom()

- -
-
- - - - - - - - -
void PdfViewBase::setZoom (double zoom)
-
- -

Set current zoom factor.

-

The zoom factor maps user coordinates to screen pixel coordinates.

- -

References iZoom, and zoom().

- -

Referenced by blackout().

- -
-
- -

◆ canvasTfm()

- -
-
- - - - - - - -
Matrix PdfViewBase::canvasTfm () const
-
- -

Matrix mapping user coordinates to canvas coordinates.

- -

References center(), iPan, and iZoom.

- -

Referenced by blackout().

- -
-
- -

◆ updatePdf()

- -
-
- - - - - - - -
void PdfViewBase::updatePdf ()
-
- -

Mark for update with redrawing of PDF document.

- -

References invalidate(), and iRepaint.

- -

Referenced by blackout().

- -
-
- -

◆ invalidate() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::PdfViewBase::invalidate (int x,
int y,
int w,
int h 
)
-
-pure virtual
-
- -

Implemented in ipe::PdfView.

- -
-
- -

◆ invalidate() [2/2]

- -
-
- - - - - -
- - - - - - - -
virtual void ipe::PdfViewBase::invalidate ()
-
-pure virtual
-
- -

Implemented in ipe::PdfView.

- -

Referenced by blackout(), and updatePdf().

- -
-
- -

◆ drawPaper()

- -
-
- - - - - -
- - - - - - - - -
void PdfViewBase::drawPaper (cairo_t * cc)
-
-protected
-
-
- -

◆ refreshSurface()

- -
-
- - - - - -
- - - - - - - -
void PdfViewBase::refreshSurface ()
-
-protected
-
-
-

Member Data Documentation

- -

◆ iWidth

- -
-
- - - - - -
- - - - -
double ipe::PdfViewBase::iWidth
-
-protected
-
-
- -

◆ iHeight

- -
-
- - - - - -
- - - - -
double ipe::PdfViewBase::iHeight
-
-protected
-
-
- -

◆ iBWidth

- -
-
- - - - - -
- - - - -
double ipe::PdfViewBase::iBWidth
-
-protected
-
-
- -

◆ iBHeight

- -
-
- - - - - -
- - - - -
double ipe::PdfViewBase::iBHeight
-
-protected
-
-
- -

◆ iPan

- -
-
- - - - - -
- - - - -
Vector ipe::PdfViewBase::iPan
-
-protected
-
-
- -

◆ iZoom

- -
-
- - - - - -
- - - - -
double ipe::PdfViewBase::iZoom
-
-protected
-
-
- -

◆ iBackground

- -
-
- - - - - -
- - - - -
Color ipe::PdfViewBase::iBackground
-
-protected
-
- -

Referenced by refreshSurface(), and setBackground().

- -
-
- -

◆ iBlackout

- -
-
- - - - - -
- - - - -
bool ipe::PdfViewBase::iBlackout
-
-protected
-
- -

Referenced by blackout(), refreshSurface(), and setBlackout().

- -
-
- -

◆ iRepaint

- -
-
- - - - - -
- - - - -
bool ipe::PdfViewBase::iRepaint
-
-protected
-
- -

Referenced by refreshSurface(), and updatePdf().

- -
-
- -

◆ iSurface

- -
-
- - - - - -
- - - - -
cairo_surface_t* ipe::PdfViewBase::iSurface
-
-protected
-
-
- -

◆ iCascade

- -
-
- - - - - -
- - - - -
std::unique_ptr<Cascade> ipe::PdfViewBase::iCascade
-
-protected
-
- -

Referenced by refreshSurface().

- -
-
- -

◆ iPage

- -
-
- - - - - -
- - - - -
const PdfDict* ipe::PdfViewBase::iPage
-
-protected
-
- -

Referenced by refreshSurface(), setPage(), and setPdf().

- -
-
- -

◆ iPaperBox

- -
-
- - - - - -
- - - - -
Rect ipe::PdfViewBase::iPaperBox
-
-protected
-
- -

Referenced by drawPaper(), and setPage().

- -
-
- -

◆ iStream

- -
-
- - - - - -
- - - - -
const PdfDict* ipe::PdfViewBase::iStream
-
-protected
-
- -

Referenced by refreshSurface(), setPage(), and setPdf().

- -
-
- -

◆ iPdf

- -
-
- - - - - -
- - - - -
const PdfFile* ipe::PdfViewBase::iPdf
-
-protected
-
- -

Referenced by setPage(), and setPdf().

- -
-
- -

◆ iFonts

- -
-
- - - - - -
- - - - -
Fonts* ipe::PdfViewBase::iFonts
-
-protected
-
- -

Referenced by refreshSurface(), and setPdf().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_view_base-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view_base-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_view_base-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view_base-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,91 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfViewBase Member List
-
-
- -

This is the complete list of members for ipe::PdfViewBase, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
blackout() constipe::PdfViewBaseinline
canvasTfm() constipe::PdfViewBase
center() constipe::PdfViewBaseinline
devToUser(const Vector &arg) constipe::PdfViewBase
drawPaper(cairo_t *cc)ipe::PdfViewBaseprotected
iBackgroundipe::PdfViewBaseprotected
iBHeightipe::PdfViewBaseprotected
iBlackoutipe::PdfViewBaseprotected
iBWidthipe::PdfViewBaseprotected
iCascadeipe::PdfViewBaseprotected
iFontsipe::PdfViewBaseprotected
iHeightipe::PdfViewBaseprotected
invalidate(int x, int y, int w, int h)=0ipe::PdfViewBasepure virtual
invalidate()=0ipe::PdfViewBasepure virtual
iPageipe::PdfViewBaseprotected
iPanipe::PdfViewBaseprotected
iPaperBoxipe::PdfViewBaseprotected
iPdfipe::PdfViewBaseprotected
iRepaintipe::PdfViewBaseprotected
iStreamipe::PdfViewBaseprotected
iSurfaceipe::PdfViewBaseprotected
iWidthipe::PdfViewBaseprotected
iZoomipe::PdfViewBaseprotected
pan() constipe::PdfViewBaseinline
PdfViewBase()ipe::PdfViewBaseprotected
refreshSurface()ipe::PdfViewBaseprotected
setBackground(const Color &bg)ipe::PdfViewBase
setBlackout(bool bo)ipe::PdfViewBase
setPage(const PdfDict *page, const Rect &paper)ipe::PdfViewBase
setPan(const Vector &v)ipe::PdfViewBase
setPdf(const PdfFile *pdf, Fonts *fonts)ipe::PdfViewBase
setZoom(double zoom)ipe::PdfViewBase
updatePdf()ipe::PdfViewBase
userToDev(const Vector &arg) constipe::PdfViewBase
viewHeight() constipe::PdfViewBaseinline
viewWidth() constipe::PdfViewBaseinline
zoom() constipe::PdfViewBaseinline
~PdfViewBase()ipe::PdfViewBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_view.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_view.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,565 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfView Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Signals | -Public Member Functions | -Static Public Member Functions | -Static Public Attributes | -Protected Member Functions | -List of all members
-
-
ipe::PdfView Class Reference
-
-
- -

#include <ipepdfview_win.h>

- -

Inherits ipe::PdfViewBase, QWidget, and ipe::PdfViewBase.

- - - - - - -

-Signals

void sizeChanged ()
 
void mouseButton (int, Vector)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfView (QWidget *parent, Qt::WindowFlags f=nullptr)
 
virtual void invalidate ()
 
virtual void invalidate (int x, int y, int w, int h)
 
 PdfView (HWND parent, HWND target, int screen, HINSTANCE hInstance=nullptr)
 
HWND windowId () const
 
- Public Member Functions inherited from ipe::PdfViewBase
virtual ~PdfViewBase ()
 
void setPdf (const PdfFile *pdf, Fonts *fonts)
 
void setPage (const PdfDict *page, const Rect &paper)
 
void setBackground (const Color &bg)
 
void setBlackout (bool bo)
 
Vector pan () const
 
double zoom () const
 
Vector center () const
 
int viewWidth () const
 
int viewHeight () const
 
bool blackout () const
 
Vector devToUser (const Vector &arg) const
 
Vector userToDev (const Vector &arg) const
 
void setPan (const Vector &v)
 
void setZoom (double zoom)
 
Matrix canvasTfm () const
 
void updatePdf ()
 
- - - -

-Static Public Member Functions

static void init (HINSTANCE hInstance)
 
- - - -

-Static Public Attributes

static constexpr int WM_PDFVIEW = 0x8000
 
- - - - - - - - - - - - - - -

-Protected Member Functions

virtual void paintEvent (QPaintEvent *ev)
 
virtual void mousePressEvent (QMouseEvent *ev)
 
virtual QSize sizeHint () const
 
- Protected Member Functions inherited from ipe::PdfViewBase
 PdfViewBase ()
 
void drawPaper (cairo_t *cc)
 
void refreshSurface ()
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Attributes inherited from ipe::PdfViewBase
double iWidth
 
double iHeight
 
double iBWidth
 
double iBHeight
 
Vector iPan
 
double iZoom
 
Color iBackground
 
bool iBlackout
 
bool iRepaint
 
cairo_surface_t * iSurface
 
std::unique_ptr< CascadeiCascade
 
const PdfDictiPage
 
Rect iPaperBox
 
const PdfDictiStream
 
const PdfFileiPdf
 
FontsiFonts
 
-

Constructor & Destructor Documentation

- -

◆ PdfView() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
PdfView::PdfView (QWidget * parent,
Qt::WindowFlags f = nullptr 
)
-
- -

Referenced by PdfView::drawRect().

- -
-
- -

◆ PdfView() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PdfView::PdfView (HWND parent,
HWND target,
int screen,
HINSTANCE hInstance = nullptr 
)
-
- -
-
-

Member Function Documentation

- -

◆ invalidate() [1/2]

- -
-
- - - - - -
- - - - - - - -
void PdfView::invalidate ()
-
-virtual
-
- -

Implements ipe::PdfViewBase.

- -

References ipe::PdfViewBase::iHeight, and ipe::PdfViewBase::iWidth.

- -

Referenced by sizeHint(), and windowId().

- -
-
- -

◆ invalidate() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void PdfView::invalidate (int x,
int y,
int w,
int h 
)
-
-virtual
-
- -

Implements ipe::PdfViewBase.

- -

References ipe::PdfViewBase::iHeight.

- -
-
- -

◆ sizeChanged

- -
-
- - - - - -
- - - - - - - -
void ipe::PdfView::sizeChanged ()
-
-signal
-
- -

Referenced by paintEvent().

- -
-
- -

◆ mouseButton

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void ipe::PdfView::mouseButton (int ,
Vector  
)
-
-signal
-
- -

Referenced by mousePressEvent().

- -
-
- -

◆ paintEvent()

- -
-
- - - - - -
- - - - - - - - -
void PdfView::paintEvent (QPaintEvent * ev)
-
-protectedvirtual
-
-
- -

◆ mousePressEvent()

- -
-
- - - - - -
- - - - - - - - -
void PdfView::mousePressEvent (QMouseEvent * ev)
-
-protectedvirtual
-
-
- -

◆ sizeHint()

- -
-
- - - - - -
- - - - - - - -
QSize PdfView::sizeHint () const
-
-protectedvirtual
-
- -

References invalidate().

- -
-
- -

◆ init()

- -
-
- - - - - -
- - - - - - - - -
void PdfView::init (HINSTANCE hInstance)
-
-static
-
- -
-
- -

◆ windowId()

- -
-
- - - - - -
- - - - - - - -
HWND ipe::PdfView::windowId () const
-
-inline
-
- -

References invalidate().

- -
-
-

Member Data Documentation

- -

◆ WM_PDFVIEW

- -
-
- - - - - -
- - - - -
constexpr int ipe::PdfView::WM_PDFVIEW = 0x8000
-
-static
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_view-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_view-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_view-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,101 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfView Member List
-
-
- -

This is the complete list of members for ipe::PdfView, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
blackout() constipe::PdfViewBaseinline
canvasTfm() constipe::PdfViewBase
center() constipe::PdfViewBaseinline
devToUser(const Vector &arg) constipe::PdfViewBase
drawPaper(cairo_t *cc)ipe::PdfViewBaseprotected
iBackgroundipe::PdfViewBaseprotected
iBHeightipe::PdfViewBaseprotected
iBlackoutipe::PdfViewBaseprotected
iBWidthipe::PdfViewBaseprotected
iCascadeipe::PdfViewBaseprotected
iFontsipe::PdfViewBaseprotected
iHeightipe::PdfViewBaseprotected
init(HINSTANCE hInstance)ipe::PdfViewstatic
invalidate()ipe::PdfViewvirtual
invalidate(int x, int y, int w, int h)ipe::PdfViewvirtual
iPageipe::PdfViewBaseprotected
iPanipe::PdfViewBaseprotected
iPaperBoxipe::PdfViewBaseprotected
iPdfipe::PdfViewBaseprotected
iRepaintipe::PdfViewBaseprotected
iStreamipe::PdfViewBaseprotected
iSurfaceipe::PdfViewBaseprotected
iWidthipe::PdfViewBaseprotected
iZoomipe::PdfViewBaseprotected
mouseButton(int, Vector)ipe::PdfViewsignal
mousePressEvent(QMouseEvent *ev)ipe::PdfViewprotectedvirtual
paintEvent(QPaintEvent *ev)ipe::PdfViewprotectedvirtual
pan() constipe::PdfViewBaseinline
PdfView(QWidget *parent, Qt::WindowFlags f=nullptr)ipe::PdfView
PdfView(HWND parent, HWND target, int screen, HINSTANCE hInstance=nullptr)ipe::PdfView
PdfViewBase()ipe::PdfViewBaseprotected
refreshSurface()ipe::PdfViewBaseprotected
setBackground(const Color &bg)ipe::PdfViewBase
setBlackout(bool bo)ipe::PdfViewBase
setPage(const PdfDict *page, const Rect &paper)ipe::PdfViewBase
setPan(const Vector &v)ipe::PdfViewBase
setPdf(const PdfFile *pdf, Fonts *fonts)ipe::PdfViewBase
setZoom(double zoom)ipe::PdfViewBase
sizeChanged()ipe::PdfViewsignal
sizeHint() constipe::PdfViewprotectedvirtual
updatePdf()ipe::PdfViewBase
userToDev(const Vector &arg) constipe::PdfViewBase
viewHeight() constipe::PdfViewBaseinline
viewWidth() constipe::PdfViewBaseinline
windowId() constipe::PdfViewinline
WM_PDFVIEWipe::PdfViewstatic
zoom() constipe::PdfViewBaseinline
~PdfViewBase()ipe::PdfViewBasevirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_writer.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_writer.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_writer.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_writer.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,338 +0,0 @@ - - - - - - - -Ipelib: ipe::PdfWriter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -List of all members
-
-
ipe::PdfWriter Class Reference
-
-
- -

#include <ipepdfwriter.h>

- - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfWriter (TellStream &stream, const Document *doc, const PdfResources *resources, uint32_t flags, int fromPage, int toPage, int compression)
 
 ~PdfWriter ()
 
void createPages ()
 
void createPageView (int page, int view)
 
void createBookmarks ()
 
void createNamedDests ()
 
void createXmlStream (String xmldata, bool preCompressed)
 
void createTrailer ()
 
-

Detailed Description

-

Create PDF file.

-

This class is responsible for the creation of a PDF file from the Ipe data. You have to create a PdfWriter first, providing a file that has been opened for (binary) writing and is empty. Then call createPages() to embed the pages. Optionally, call createXmlStream to embed a stream with the XML representation of the document. Finally, call createTrailer to complete the PDF document, and close the file.

-

Some reserved PDF object numbers:

- -

Constructor & Destructor Documentation

- -

◆ PdfWriter()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PdfWriter::PdfWriter (TellStreamstream,
const Documentdoc,
const PdfResourcesresources,
uint32_t flags,
int fromPage,
int toPage,
int compression 
)
-
- -

Create a PDF writer operating on this (open and empty) file.

- -

Referenced by ipe::PdfPainter::doDrawSymbol().

- -
-
- -

◆ ~PdfWriter()

- -
-
- - - - - - - -
PdfWriter::~PdfWriter ()
-
-
-

Member Function Documentation

- -

◆ createPages()

- -
-
- - - - - - - -
void PdfWriter::createPages ()
-
- -

Create all PDF pages.

- -

References ipe::SaveFlag::MarkedView.

- -

Referenced by ipe::Document::exportPages(), and ipe::Document::save().

- -
-
- -

◆ createPageView()

- -
-
- - - - - - - - - - - - - - - - - - -
void PdfWriter::createPageView (int page,
int view 
)
-
-
- -

◆ createBookmarks()

- -
-
- - - - - - - -
void PdfWriter::createBookmarks ()
-
- -

Create the bookmarks (PDF outline).

- -

References ipe::String::empty(), ipe::PdfPainter::iStream, ipe::SaveFlag::MarkedView, and ipe::size().

- -

Referenced by ipe::Document::save().

- -
-
- -

◆ createNamedDests()

- -
-
- - - - - - - -
void PdfWriter::createNamedDests ()
-
- -

Create the named destinations.

- -

References ipe::String::empty(), ipe::PdfPainter::iStream, and ipe::SaveFlag::MarkedView.

- -

Referenced by ipe::Document::save().

- -
-
- -

◆ createXmlStream()

- -
-
- - - - - - - - - - - - - - - - - - -
void PdfWriter::createXmlStream (String xmldata,
bool preCompressed 
)
-
- -

Create a stream containing the XML data.

- -

References ipe::String::data(), ipe::PdfPainter::iStream, ipe::String::size(), and ipe::String::unicode().

- -

Referenced by ipe::Document::save().

- -
-
- -

◆ createTrailer()

- -
-
- - - - - - - -
void PdfWriter::createTrailer ()
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_pdf_writer-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_writer-members.html --- ipe-7.2.20/build/doc/classipe_1_1_pdf_writer-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_pdf_writer-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PdfWriter Member List
-
-
- -

This is the complete list of members for ipe::PdfWriter, including all inherited members.

- - - - - - - - - -
createBookmarks()ipe::PdfWriter
createNamedDests()ipe::PdfWriter
createPages()ipe::PdfWriter
createPageView(int page, int view)ipe::PdfWriter
createTrailer()ipe::PdfWriter
createXmlStream(String xmldata, bool preCompressed)ipe::PdfWriter
PdfWriter(TellStream &stream, const Document *doc, const PdfResources *resources, uint32_t flags, int fromPage, int toPage, int compression)ipe::PdfWriter
~PdfWriter()ipe::PdfWriter
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_platform.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_platform.html --- ipe-7.2.20/build/doc/classipe_1_1_platform.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_platform.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,631 +0,0 @@ - - - - - - - -Ipelib: ipe::Platform Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Static Public Member Functions | -List of all members
-
-
ipe::Platform Class Reference
-
-
- -

#include <ipebase.h>

- - - - -

-Public Types

using DebugHandler = void(*)(const char *)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Static Public Member Functions

static FILE * fopen (const char *fname, const char *mode)
 
static String ipeDrive ()
 
static int libVersion ()
 
static void initLib (int version)
 
static void setDebug (bool debug)
 
static String currentDirectory ()
 
static String latexDirectory ()
 
static String latexPath ()
 
static bool fileExists (String fname)
 
static bool listDirectory (String path, std::vector< String > &files)
 
static String realPath (String fname)
 
static String readFile (String fname)
 
static int runLatex (String dir, LatexType engine, String docname) noexcept
 
static double toDouble (String s)
 
static int toNumber (String s, int &iValue, double &dValue)
 
-

Detailed Description

-

Platform dependent methods.

-

Member Typedef Documentation

- -

◆ DebugHandler

- -
-
- - - - -
using ipe::Platform::DebugHandler = void (*)(const char *)
-
- -
-
-

Member Function Documentation

- -

◆ fopen()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
static FILE* ipe::Platform::fopen (const char * fname,
const char * mode 
)
-
-inlinestatic
-
-
- -

◆ ipeDrive()

- -
-
- - - - - -
- - - - - - - -
String Platform::ipeDrive ()
-
-static
-
- -

Returns drive on which Ipe executable exists.

-

On Linux and OSX, returns empty string.

- -

References ipe::IPESEP, ipe::String::left(), ipe::String::rfind(), ipe::size(), and ipe::String::size().

- -

Referenced by latexDirectory(), and latexPath().

- -
-
- -

◆ libVersion()

- -
-
- - - - - -
- - - - - - - -
int Platform::libVersion ()
-
-static
-
- -

Return the Ipelib version.

-

This is available as a function so that one can verify what version of Ipelib one has actually linked with (as opposed to the header files used during compilation).

- -

References ipe::Repository::cleanup(), ipe::String::data(), ipe::String::empty(), fileExists(), ipe::String::getLine(), ipe::IPELIB_VERSION, readFile(), ipe::String::size(), and ipe::String::z().

- -
-
- -

◆ initLib()

- -
-
- - - - - -
- - - - - - - - -
void Platform::initLib (int version)
-
-static
-
- -

Initialize Ipelib.

-

This method must be called before Ipelib is used.

-

It creates a LC_NUMERIC locale set to 'C', which is necessary for correct loading and saving of Ipe objects. The method also checks that the correct version of Ipelib is loaded, and aborts with an error message if the version is not correct. Also enables ipeDebug messages if environment variable IPEDEBUG is defined. (You can override this using setDebug).

- -

References ipe::IPELIB_VERSION.

- -
-
- -

◆ setDebug()

- -
-
- - - - - -
- - - - - - - - -
void Platform::setDebug (bool debug)
-
-static
-
- -

Enable or disable display of ipeDebug messages.

- -
-
- -

◆ currentDirectory()

- -
-
- - - - - -
- - - - - - - -
String Platform::currentDirectory ()
-
-static
-
- -

Returns current working directory.

-

Returns empty string if something fails.

- -
-
- -

◆ latexDirectory()

- -
-
- - - - - -
- - - - - - - -
String Platform::latexDirectory ()
-
-static
-
- -

Returns directory for running Latex.

-

The directory is created if it does not exist. Returns an empty string if the directory cannot be found or cannot be created. The directory returned ends in the path separator.

- -

References fileExists(), ipeDrive(), ipe::String::left(), ipe::String::right(), ipe::String::size(), ipe::String::substr(), and ipe::String::z().

- -

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

- -
-
- -

◆ latexPath()

- -
-
- - - - - -
- - - - - - - -
String Platform::latexPath ()
-
-static
-
- -

Return path for the directory containing pdflatex and xelatex.

-

If empty means look on PATH.

- -

References ipeDrive(), ipe::String::left(), and ipe::String::substr().

- -

Referenced by runLatex().

- -
-
- -

◆ fileExists()

- -
-
- - - - - -
- - - - - - - - -
bool Platform::fileExists (String fname)
-
-static
-
- -

Determine whether file exists.

- -

References ipe::String::data(), and ipe::String::z().

- -

Referenced by latexDirectory(), and libVersion().

- -
-
- -

◆ listDirectory()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Platform::listDirectory (String path,
std::vector< String > & files 
)
-
-static
-
- -

List all files in directory.

-

Return true if successful, false on error.

- -

References ipe::String::data(), and ipe::String::z().

- -
-
- -

◆ realPath()

- -
-
- - - - - -
- - - - - - - - -
String Platform::realPath (String fname)
-
-static
-
- -

Convert relative filename to absolute.

-

This also works when the filename does not exist, or at least it tries.

- -

References ipe::String::data(), ipe::String::left(), and ipe::String::z().

- -

Referenced by runLatex().

- -
-
- -

◆ readFile()

- -
-
- - - - - -
- - - - - - - - -
String Platform::readFile (String fname)
-
-static
-
- -

Read entire file into string.

-

Returns an empty string if file cannot be found or read. There is no way to distinguish an empty file from this.

- -

References ipe::String::append(), fopen(), and ipe::String::z().

- -

Referenced by libVersion(), ipe::Bitmap::readJpeg(), ipe::Document::runLatex(), and runLatex().

- -
-
- -

◆ runLatex()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
int Platform::runLatex (String dir,
LatexType engine,
String docname 
)
-
-staticnoexcept
-
- -

Runs latex on file ipetemp.tex in given directory.

-

directory of docname is added to TEXINPUTS if its non-empty.

- -

References ipe::String::empty(), fopen(), ipe::IPESEP, latexPath(), ipe::String::left(), ipe::Luatex, readFile(), realPath(), ipe::size(), ipe::String::String(), ipe::String::substr(), ipe::Xetex, and ipe::String::z().

- -

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

- -
-
- -

◆ toDouble()

- -
-
- - - - - -
- - - - - - - - -
double Platform::toDouble (String s)
-
-static
-
-
- -

◆ toNumber()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
int Platform::toNumber (String s,
int & iValue,
double & dValue 
)
-
-static
-
- -

References ipe::String::z().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_platform-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_platform-members.html --- ipe-7.2.20/build/doc/classipe_1_1_platform-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_platform-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Platform Member List
-
-
- -

This is the complete list of members for ipe::Platform, including all inherited members.

- - - - - - - - - - - - - - - - - -
currentDirectory()ipe::Platformstatic
DebugHandler typedefipe::Platform
fileExists(String fname)ipe::Platformstatic
fopen(const char *fname, const char *mode)ipe::Platforminlinestatic
initLib(int version)ipe::Platformstatic
ipeDrive()ipe::Platformstatic
latexDirectory()ipe::Platformstatic
latexPath()ipe::Platformstatic
libVersion()ipe::Platformstatic
listDirectory(String path, std::vector< String > &files)ipe::Platformstatic
readFile(String fname)ipe::Platformstatic
realPath(String fname)ipe::Platformstatic
runLatex(String dir, LatexType engine, String docname) noexceptipe::Platformstatic
setDebug(bool debug)ipe::Platformstatic
toDouble(String s)ipe::Platformstatic
toNumber(String s, int &iValue, double &dValue)ipe::Platformstatic
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ps_painter.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_painter.html --- ipe-7.2.20/build/doc/classipe_1_1_ps_painter.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_painter.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,415 +0,0 @@ - - - - - - - -Ipelib: ipe::PsPainter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Protected Member Functions | -List of all members
-
-
ipe::PsPainter Class Reference
-
-
- -

#include <ipepswriter.h>

- -

Inherits ipe::PdfPainter.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PsPainter (const Cascade *style, Stream &stream)
 
 ~PsPainter ()
 
- Public Member Functions inherited from ipe::PdfPainter
 PdfPainter (const Cascade *style, Stream &stream)
 
virtual ~PdfPainter ()
 
- Public Member Functions inherited from ipe::Painter
 Painter (const Cascade *style)
 
virtual ~Painter ()
 
void setAttributeMap (const AttributeMap *map)
 
Attribute lookup (Kind kind, Attribute sym) const
 
void transform (const Matrix &m)
 
void untransform (TTransformations trans)
 
void translate (const Vector &v)
 
void push ()
 
void pop ()
 
void pushMatrix ()
 
void popMatrix ()
 
void newPath ()
 
void moveTo (const Vector &v)
 
void lineTo (const Vector &v)
 
void curveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
void curveTo (const Bezier &bezier)
 
void rect (const Rect &re)
 
void drawEllipse ()
 
void drawArc (const Arc &arc)
 
void closePath ()
 
void drawPath (TPathMode mode)
 
void drawBitmap (Bitmap bitmap)
 
void drawText (const Text *text)
 
void drawSymbol (Attribute symbol)
 
void addClipPath ()
 
void setStroke (Attribute color)
 
void setFill (Attribute color)
 
void setPen (Attribute pen)
 
void setDashStyle (Attribute dash)
 
void setLineCap (TLineCap cap)
 
void setLineJoin (TLineJoin join)
 
void setFillRule (TFillRule rule)
 
void setSymStroke (Attribute color)
 
void setSymFill (Attribute color)
 
void setSymPen (Attribute wid)
 
void setOpacity (Attribute opaq)
 
void setStrokeOpacity (Attribute opaq)
 
void setTiling (Attribute til)
 
void setGradient (Attribute grad)
 
const Cascadecascade () const
 
Color stroke () const
 
Color fill () const
 
const Matrixmatrix () const
 
Fixed pen () const
 
String dashStyle () const
 
void dashStyle (std::vector< double > &dashes, double &offset) const
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
Color symStroke () const
 
Color symFill () const
 
Fixed symPen () const
 
Fixed opacity () const
 
Fixed strokeOpacity () const
 
Attribute tiling () const
 
Attribute gradient () const
 
const Statestate () const
 
void setState (const State &state)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

virtual void doNewPath ()
 
virtual void doDrawPath (TPathMode mode)
 
virtual void doDrawBitmap (Bitmap bitmap)
 
virtual void doAddClipPath ()
 
- Protected Member Functions inherited from ipe::PdfPainter
virtual void doPush ()
 
virtual void doPop ()
 
virtual void doMoveTo (const Vector &v)
 
virtual void doLineTo (const Vector &v)
 
virtual void doCurveTo (const Vector &v1, const Vector &v2, const Vector &v3)
 
virtual void doClosePath ()
 
virtual void doDrawText (const Text *text)
 
virtual void doDrawSymbol (Attribute symbol)
 
void drawAttributes ()
 
void drawOpacity (bool withStroke)
 
- Protected Member Functions inherited from ipe::Painter
virtual void doDrawArc (const Arc &arc)
 
void drawArcAsBezier (double alpha)
 
- - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Static Public Member Functions inherited from ipe::PdfPainter
static void drawColor (Stream &stream, Color color, const char *gray, const char *rgb)
 
- Protected Attributes inherited from ipe::PdfPainter
StreamiStream
 
std::list< StateiActiveState
 
- Protected Attributes inherited from ipe::Painter
std::list< StateiState
 
std::list< MatrixiMatrix
 
const CascadeiCascade
 
const AttributeMapiAttributeMap
 
int iInPath
 
-

Constructor & Destructor Documentation

- -

◆ PsPainter()

- -
-
- - - - - - - - - - - - - - - - - - -
ipe::PsPainter::PsPainter (const Cascadestyle,
Streamstream 
)
-
- -
-
- -

◆ ~PsPainter()

- -
-
- - - - - - - -
ipe::PsPainter::~PsPainter ()
-
- -
-
-

Member Function Documentation

- -

◆ doNewPath()

- -
-
- - - - - -
- - - - - - - -
virtual void ipe::PsPainter::doNewPath ()
-
-protectedvirtual
-
- -

Perform new path operator.

- -

Reimplemented from ipe::PdfPainter.

- -
-
- -

◆ doDrawPath()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::PsPainter::doDrawPath (TPathMode mode)
-
-protectedvirtual
-
- -

Actually draw the path.

- -

Reimplemented from ipe::PdfPainter.

- -
-
- -

◆ doDrawBitmap()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::PsPainter::doDrawBitmap (Bitmap bitmap)
-
-protectedvirtual
-
- -

Draw a bitmap.

- -

Reimplemented from ipe::PdfPainter.

- -
-
- -

◆ doAddClipPath()

- -
-
- - - - - -
- - - - - - - -
virtual void ipe::PsPainter::doAddClipPath ()
-
-protectedvirtual
-
- -

Add a clip path.

- -

Reimplemented from ipe::PdfPainter.

- -
-
-
The documentation for this class was generated from the following file: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ps_painter-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_painter-members.html --- ipe-7.2.20/build/doc/classipe_1_1_ps_painter-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_painter-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,139 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PsPainter Member List
-
-
- -

This is the complete list of members for ipe::PsPainter, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
addClipPath()ipe::Painter
cascade() constipe::Painterinline
closePath()ipe::Painter
curveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::Painter
curveTo(const Bezier &bezier)ipe::Painterinline
dashStyle() constipe::Painterinline
dashStyle(std::vector< double > &dashes, double &offset) constipe::Painter
doAddClipPath()ipe::PsPainterprotectedvirtual
doClosePath()ipe::PdfPainterprotectedvirtual
doCurveTo(const Vector &v1, const Vector &v2, const Vector &v3)ipe::PdfPainterprotectedvirtual
doDrawArc(const Arc &arc)ipe::Painterprotectedvirtual
doDrawBitmap(Bitmap bitmap)ipe::PsPainterprotectedvirtual
doDrawPath(TPathMode mode)ipe::PsPainterprotectedvirtual
doDrawSymbol(Attribute symbol)ipe::PdfPainterprotectedvirtual
doDrawText(const Text *text)ipe::PdfPainterprotectedvirtual
doLineTo(const Vector &v)ipe::PdfPainterprotectedvirtual
doMoveTo(const Vector &v)ipe::PdfPainterprotectedvirtual
doNewPath()ipe::PsPainterprotectedvirtual
doPop()ipe::PdfPainterprotectedvirtual
doPush()ipe::PdfPainterprotectedvirtual
drawArc(const Arc &arc)ipe::Painter
drawArcAsBezier(double alpha)ipe::Painterprotected
drawAttributes()ipe::PdfPainterprotected
drawBitmap(Bitmap bitmap)ipe::Painter
drawColor(Stream &stream, Color color, const char *gray, const char *rgb)ipe::PdfPainterstatic
drawEllipse()ipe::Painter
drawOpacity(bool withStroke)ipe::PdfPainterprotected
drawPath(TPathMode mode)ipe::Painter
drawSymbol(Attribute symbol)ipe::Painter
drawText(const Text *text)ipe::Painter
fill() constipe::Painterinline
fillRule() constipe::Painterinline
gradient() constipe::Painterinline
iActiveStateipe::PdfPainterprotected
iAttributeMapipe::Painterprotected
iCascadeipe::Painterprotected
iInPathipe::Painterprotected
iMatrixipe::Painterprotected
iStateipe::Painterprotected
iStreamipe::PdfPainterprotected
lineCap() constipe::Painterinline
lineJoin() constipe::Painterinline
lineTo(const Vector &v)ipe::Painter
lookup(Kind kind, Attribute sym) constipe::Painter
matrix() constipe::Painterinline
moveTo(const Vector &v)ipe::Painter
newPath()ipe::Painter
opacity() constipe::Painterinline
Painter(const Cascade *style)ipe::Painter
PdfPainter(const Cascade *style, Stream &stream)ipe::PdfPainter
pen() constipe::Painterinline
pop()ipe::Painter
popMatrix()ipe::Painter
PsPainter(const Cascade *style, Stream &stream)ipe::PsPainter
push()ipe::Painter
pushMatrix()ipe::Painter
rect(const Rect &re)ipe::Painter
setAttributeMap(const AttributeMap *map)ipe::Painter
setDashStyle(Attribute dash)ipe::Painter
setFill(Attribute color)ipe::Painter
setFillRule(TFillRule rule)ipe::Painter
setGradient(Attribute grad)ipe::Painter
setLineCap(TLineCap cap)ipe::Painter
setLineJoin(TLineJoin join)ipe::Painter
setOpacity(Attribute opaq)ipe::Painter
setPen(Attribute pen)ipe::Painter
setState(const State &state)ipe::Painter
setStroke(Attribute color)ipe::Painter
setStrokeOpacity(Attribute opaq)ipe::Painter
setSymFill(Attribute color)ipe::Painter
setSymPen(Attribute wid)ipe::Painter
setSymStroke(Attribute color)ipe::Painter
setTiling(Attribute til)ipe::Painter
state() constipe::Painterinline
stroke() constipe::Painterinline
strokeOpacity() constipe::Painterinline
symFill() constipe::Painterinline
symPen() constipe::Painterinline
symStroke() constipe::Painterinline
tiling() constipe::Painterinline
transform(const Matrix &m)ipe::Painter
translate(const Vector &v)ipe::Painter
untransform(TTransformations trans)ipe::Painter
~Painter()ipe::Paintervirtual
~PdfPainter()ipe::PdfPainterinlinevirtual
~PsPainter()ipe::PsPainter
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ps_writer.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_writer.html --- ipe-7.2.20/build/doc/classipe_1_1_ps_writer.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_writer.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,218 +0,0 @@ - - - - - - - -Ipelib: ipe::PsWriter Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::PsWriter Class Reference
-
-
- -

#include <ipepswriter.h>

- - - - - - - - - - - - - - -

-Public Member Functions

 PsWriter (TellStream &stream, const Document *doc, bool noColor)
 
 ~PsWriter ()
 
bool createHeader (int pno=0, int vno=0)
 
void createPageView (int pno=0, int vno=0)
 
void createXml (int compressLevel)
 
void createTrailer ()
 
-

Constructor & Destructor Documentation

- -

◆ PsWriter()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
ipe::PsWriter::PsWriter (TellStreamstream,
const Documentdoc,
bool noColor 
)
-
- -
-
- -

◆ ~PsWriter()

- -
-
- - - - - - - -
ipe::PsWriter::~PsWriter ()
-
- -
-
-

Member Function Documentation

- -

◆ createHeader()

- -
-
- - - - - - - - - - - - - - - - - - -
bool ipe::PsWriter::createHeader (int pno = 0,
int vno = 0 
)
-
- -
-
- -

◆ createPageView()

- -
-
- - - - - - - - - - - - - - - - - - -
void ipe::PsWriter::createPageView (int pno = 0,
int vno = 0 
)
-
- -
-
- -

◆ createXml()

- -
-
- - - - - - - - -
void ipe::PsWriter::createXml (int compressLevel)
-
- -
-
- -

◆ createTrailer()

- -
-
- - - - - - - -
void ipe::PsWriter::createTrailer ()
-
- -
-
-
The documentation for this class was generated from the following file: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_ps_writer-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_writer-members.html --- ipe-7.2.20/build/doc/classipe_1_1_ps_writer-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_ps_writer-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::PsWriter Member List
-
-
- -

This is the complete list of members for ipe::PsWriter, including all inherited members.

- - - - - - - -
createHeader(int pno=0, int vno=0)ipe::PsWriter
createPageView(int pno=0, int vno=0)ipe::PsWriter
createTrailer()ipe::PsWriter
createXml(int compressLevel)ipe::PsWriter
PsWriter(TellStream &stream, const Document *doc, bool noColor)ipe::PsWriter
~PsWriter()ipe::PsWriter
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_rect.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_rect.html --- ipe-7.2.20/build/doc/classipe_1_1_rect.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_rect.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,803 +0,0 @@ - - - - - - - -Ipelib: ipe::Rect Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Related Functions | -List of all members
-
-
ipe::Rect Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Rect ()
 
 Rect (const Vector &c)
 
 Rect (const Vector &c1, const Vector &c2)
 
void clear ()
 
int isEmpty () const
 
double left () const
 
double right () const
 
double bottom () const
 
double top () const
 
Vector topRight () const
 
Vector bottomLeft () const
 
Vector topLeft () const
 
Vector bottomRight () const
 
Vector center () const
 
double width () const
 
double height () const
 
void addPoint (const Vector &rhs)
 
void addRect (const Rect &rhs)
 
void clipTo (const Rect &rhs)
 
bool contains (const Vector &rhs) const
 
bool contains (const Rect &rhs) const
 
bool certainClearance (const Vector &v, double bound) const
 
bool intersects (const Rect &rhs) const
 
- - - - -

-Related Functions

(Note that these are not member functions.)

-
Streamoperator<< (Stream &stream, const Rect &rhs)
 
-

Detailed Description

-

Axis-parallel rectangle (which can be empty)

-

Constructor & Destructor Documentation

- -

◆ Rect() [1/3]

- -
-
- - - - - -
- - - - - - - -
ipe::Rect::Rect ()
-
-inlineexplicit
-
- -

Create empty rectangle.

- -

Referenced by ipe::Vector::snap().

- -
-
- -

◆ Rect() [2/3]

- -
-
- - - - - -
- - - - - - - - -
ipe::Rect::Rect (const Vectorc)
-
-inlineexplicit
-
- -

Create rectangle containing just the point c.

- -
-
- -

◆ Rect() [3/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Rect::Rect (const Vectorc1,
const Vectorc2 
)
-
-explicit
-
- -

Create rectangle containing points c1 and c2.

- -
-
-

Member Function Documentation

- -

◆ clear()

- -
-
- - - - - -
- - - - - - - -
void ipe::Rect::clear ()
-
-inline
-
- -

Make rectangle empty.

- -

Referenced by ipe::BBoxPainter::doNewPath().

- -
-
- -

◆ isEmpty()

- -
-
- - - - - -
- - - - - - - -
int ipe::Rect::isEmpty () const
-
-inline
-
-
- -

◆ left()

- -
-
- - - - - -
- - - - - - - -
double ipe::Rect::left () const
-
-inline
-
- -

Return left side.

- -

Referenced by ipe::PdfViewBase::drawPaper().

- -
-
- -

◆ right()

- -
-
- - - - - -
- - - - - - - -
double ipe::Rect::right () const
-
-inline
-
- -

Return right side.

- -
-
- -

◆ bottom()

- -
-
- - - - - -
- - - - - - - -
double ipe::Rect::bottom () const
-
-inline
-
- -

Return bottom side.

- -

Referenced by ipe::PdfViewBase::drawPaper().

- -
-
- -

◆ top()

- -
-
- - - - - -
- - - - - - - -
double ipe::Rect::top () const
-
-inline
-
- -

Return top side.

- -
-
- -

◆ topRight()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Rect::topRight () const
-
-inline
-
-
- -

◆ bottomLeft()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Rect::bottomLeft () const
-
-inline
-
-
- -

◆ topLeft()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Rect::topLeft () const
-
-inline
-
-
- -

◆ bottomRight()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Rect::bottomRight () const
-
-inline
-
-
- -

◆ center()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Rect::center () const
-
-inline
-
- -

Return center of rectangle.

- -

Referenced by ipe::Group::draw().

- -
-
- -

◆ width()

- -
-
- - - - - -
- - - - - - - -
double ipe::Rect::width () const
-
-inline
-
-
- -

◆ height()

- -
-
- - - - - -
- - - - - - - -
double ipe::Rect::height () const
-
-inline
-
-
- -

◆ addPoint()

- -
-
- - - - - - - - -
void Rect::addPoint (const Vectorrhs)
-
-
- -

◆ addRect()

- -
-
- - - - - - - - -
void Rect::addRect (const Rectrhs)
-
-
- -

◆ clipTo()

- -
-
- - - - - - - - -
void Rect::clipTo (const Rectcbox)
-
- -

Clip rectangle to fit inside cbox.

-

Does nothing if either rectangle is empty.

- -

References isEmpty(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by ipe::Group::addToBBox(), ipe::BBoxPainter::doDrawBitmap(), ipe::BBoxPainter::doDrawPath(), and ipe::BBoxPainter::doDrawText().

- -
-
- -

◆ contains() [1/2]

- -
-
- - - - - - - - -
bool Rect::contains (const Vectorrhs) const
-
- -

Does (closed) rectangle contain the point?

- -

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

- -

Referenced by ipe::SelectTool::mouseButton().

- -
-
- -

◆ contains() [2/2]

- -
-
- - - - - - - - -
bool Rect::contains (const Rectrhs) const
-
- -

Does rectangle contain other rectangle?

- -

References isEmpty(), ipe::Vector::x, and ipe::Vector::y.

- -
-
- -

◆ certainClearance()

- -
-
- - - - - - - - - - - - - - - - - - -
bool Rect::certainClearance (const Vectorv,
double bound 
) const
-
-

Returns false if the distance between the box and v is smaller than bound. Often returns true if their distance is larger than bound.

- -

References bottomLeft(), topRight(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by ipe::Image::distance(), ipe::Bezier::distance(), and ipe::Bezier::snap().

- -
-
- -

◆ intersects()

- -
-
- - - - - - - - -
bool Rect::intersects (const Rectrhs) const
-
- -

Does rectangle intersect other rectangle?

- -

References isEmpty(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by ipe::SelectTool::mouseButton(), and ipe::Bezier::snap().

- -
-
-

Friends And Related Function Documentation

- -

◆ operator<<()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream & operator<< (Streamstream,
const Rectrhs 
)
-
-related
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_rect-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_rect-members.html --- ipe-7.2.20/build/doc/classipe_1_1_rect-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_rect-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Rect Member List
-
-
- -

This is the complete list of members for ipe::Rect, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
addPoint(const Vector &rhs)ipe::Rect
addRect(const Rect &rhs)ipe::Rect
bottom() constipe::Rectinline
bottomLeft() constipe::Rectinline
bottomRight() constipe::Rectinline
center() constipe::Rectinline
certainClearance(const Vector &v, double bound) constipe::Rect
clear()ipe::Rectinline
clipTo(const Rect &rhs)ipe::Rect
contains(const Vector &rhs) constipe::Rect
contains(const Rect &rhs) constipe::Rect
height() constipe::Rectinline
intersects(const Rect &rhs) constipe::Rect
isEmpty() constipe::Rectinline
left() constipe::Rectinline
operator<<(Stream &stream, const Rect &rhs)ipe::Rectrelated
Rect()ipe::Rectinlineexplicit
Rect(const Vector &c)ipe::Rectinlineexplicit
Rect(const Vector &c1, const Vector &c2)ipe::Rectexplicit
right() constipe::Rectinline
top() constipe::Rectinline
topLeft() constipe::Rectinline
topRight() constipe::Rectinline
width() constipe::Rectinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_reference.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_reference.html --- ipe-7.2.20/build/doc/classipe_1_1_reference.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_reference.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1235 +0,0 @@ - - - - - - - -Ipelib: ipe::Reference Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Reference Class Reference
-
-
- -

#include <ipereference.h>

- -

Inherits ipe::Object.

- - - - - - - -

-Public Types

enum  {
-  EHasStroke = 0x001, -EHasFill = 0x002, -EHasPen = 0x004, -EHasSize = 0x008, -
-  EIsMark = 0x010, -EIsArrow = 0x020 -
- }
 
- Public Types inherited from ipe::Object
enum  Type {
-  EGroup, -EPath, -EText, -EImage, -
-  EReference -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Reference (const AllAttributes &attr, Attribute name, Vector pos)
 
 Reference (const XmlAttributes &attr, String data)
 
virtual Objectclone () const
 
virtual ReferenceasReference ()
 
virtual Type type () const
 
virtual void accept (Visitor &visitor) const
 
virtual void saveAsXml (Stream &stream, String layer) const
 
virtual void draw (Painter &painter) const
 
virtual void drawSimple (Painter &painter) const
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void checkStyle (const Cascade *sheet, AttributeSeq &seq) const
 
void setName (Attribute name)
 
Attribute name () const
 
void setStroke (Attribute color)
 
Attribute stroke () const
 
void setFill (Attribute color)
 
Attribute fill () const
 
Attribute pen () const
 
void setPen (Attribute pen)
 
void setSize (Attribute size)
 
Attribute size () const
 
Vector position () const
 
virtual bool setAttribute (Property prop, Attribute value)
 
virtual Attribute getAttribute (Property prop) const noexcept
 
uint32_t flags () const
 
- Public Member Functions inherited from ipe::Object
virtual ~Object ()=0
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual TextasText ()
 
virtual PathasPath ()
 
virtual ImageasImage ()
 
virtual TPinned pinned () const
 
void setPinned (TPinned pin)
 
TTransformations transformations () const
 
void setTransformations (TTransformations trans)
 
virtual void setMatrix (const Matrix &matrix)
 
const Matrixmatrix () const
 
virtual void snapCtl (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
- - - -

-Static Public Member Functions

static uint32_t flagsFromName (String name)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::Object
 Object ()
 
 Object (const AllAttributes &attr)
 
 Object (const Object &rhs)
 
 Object (const XmlAttributes &attr)
 
void saveAttributesAsXml (Stream &stream, String layer) const
 
- Static Protected Member Functions inherited from ipe::Object
static void checkSymbol (Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)
 
- Protected Attributes inherited from ipe::Object
Matrix iMatrix
 
TPinned iPinned: 8
 
TTransformations iTransformations: 8
 
-

Detailed Description

-

The reference object.

-

A Reference uses a symbol, that is, an object defined in an Ipe StyleSheet. The object is defined as a named symbol in the style sheet, and can be reused arbitrarily often in the document. This can, for instance, be used for backgrounds on multi-page documents.

-

It is admissible to refer to an undefined object (that is, the current style sheet cascade does not define a symbol with the given name). Nothing will be drawn in this case.

-

The Reference has a stroke, fill, and pen attribute. When drawing a symbol, these attributes are made available to the symbol through the names "sym-stroke", "sym-fill", and "sym-pen". These are not defined by the style sheet, but resolved by the Painter when the symbol sets its attributes.

-

Note that it is not possible to determine whether a symbol is filled from the Reference object.

-

The size attribute is of type ESymbolSize, and indicates a magnification factor applied to the symbol. This magnification is applied after the untransformation indicated in the Reference and in the Symbol has been performed, so that symbols are magnified even if they specify ETransformationsTranslations.

-

The size is meant for symbols such as marks, that can be shown in different sizes. Another application of symbols is for backgrounds and logos. Their size should not be changed when the user changes the symbolsize for the entire page. For such symbols, the size attribute of the Reference should be set to the absolute value zero. This means that no magnification is applied to the object, and it also stops setAttribute() from modifying the size. (The size can still be changed using setSize(), but this is not available from Lua.)

-

Member Enumeration Documentation

- -

◆ anonymous enum

- -
-
- - - - -
anonymous enum
-
- - - - - - - -
Enumerator
EHasStroke 
EHasFill 
EHasPen 
EHasSize 
EIsMark 
EIsArrow 
- -
-
-

Constructor & Destructor Documentation

- -

◆ Reference() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
Reference::Reference (const AllAttributesattr,
Attribute name,
Vector pos 
)
-
-explicit
-
- -

Create a reference to the named object in stylesheet.

- -

Referenced by clone().

- -
-
- -

◆ Reference() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Reference::Reference (const XmlAttributesattr,
String data 
)
-
-explicit
-
-
-

Member Function Documentation

- -

◆ clone()

- -
-
- - - - - -
- - - - - - - -
Object * Reference::clone () const
-
-virtual
-
- -

Clone object.

- -

Implements ipe::Object.

- -

References Reference().

- -
-
- -

◆ asReference()

- -
-
- - - - - -
- - - - - - - -
Reference * Reference::asReference ()
-
-virtual
-
- -

Return pointer to this object.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
Object::Type Reference::type () const
-
-virtual
-
- -

Implements ipe::Object.

- -

References ipe::Object::EReference.

- -
-
- -

◆ accept()

- -
-
- - - - - -
- - - - - - - - -
void Reference::accept (Visitorvisitor) const
-
-virtual
-
- -

Call visitReference of visitor.

- -

Implements ipe::Object.

- -

References ipe::Visitor::visitReference().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Reference::saveAsXml (Streamstream,
String layer 
) const
-
-virtual
-
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Reference::draw (Painterpainter) const
-
-virtual
-
-
- -

◆ drawSimple()

- -
-
- - - - - -
- - - - - - - - -
void Reference::drawSimple (Painterpainter) const
-
-virtual
-
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Reference::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-virtual
-
- -

Extend box to include the object transformed by m.

-

For objects in a page, don't call this directly. The Page caches the bounding box of each object, so it is far more efficient to call Page::bbox.

-

Control points that lie outside the visual object are included if cp is true.

-

If called with an empty box and cp == false, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).

-

This only adds the position (or the snap positions) to the box.

- -

Implements ipe::Object.

- -

References ipe::Rect::addPoint(), and ipe::Object::matrix().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Reference::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-virtual
-
-

Return distance of transformed object to point v. If larger than bound, can just return bound.

- -

Implements ipe::Object.

- -

References ipe::Object::matrix().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Reference::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute vertex snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::matrix().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Reference::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute boundary snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ checkStyle()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Reference::checkStyle (const Cascadesheet,
AttributeSeqseq 
) const
-
-virtual
-
- -

Check all symbolic attributes.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::checkSymbol(), ipe::EColor, EHasFill, ipe::EPen, ipe::ESymbolSize, ipe::Cascade::findSymbol(), and ipe::Symbol::iSnap.

- -
-
- -

◆ setName()

- -
-
- - - - - - - - -
void Reference::setName (Attribute name)
-
- -

Set name of symbol referenced.

- -

References flagsFromName(), name(), and ipe::Attribute::string().

- -

Referenced by setAttribute().

- -
-
- -

◆ name()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Reference::name () const
-
-inline
-
- -

Return symbolic name.

- -

References setStroke().

- -

Referenced by flags(), getAttribute(), setAttribute(), and setName().

- -
-
- -

◆ setStroke()

- -
-
- - - - - - - - -
void Reference::setStroke (Attribute color)
-
- -

Set stroke color.

- -

Referenced by name(), and setAttribute().

- -
-
- -

◆ stroke()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Reference::stroke () const
-
-inline
-
- -

Return stroke color.

- -

References setFill().

- -

Referenced by getAttribute(), and setAttribute().

- -
-
- -

◆ setFill()

- -
-
- - - - - - - - -
void Reference::setFill (Attribute color)
-
- -

Set fill color.

- -

Referenced by setAttribute(), and stroke().

- -
-
- -

◆ fill()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Reference::fill () const
-
-inline
-
- -

Return fill color.

- -

Referenced by getAttribute(), and setAttribute().

- -
-
- -

◆ pen()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Reference::pen () const
-
-inline
-
- -

Return pen.

- -

References setPen(), setSize(), and size().

- -

Referenced by getAttribute(), setAttribute(), and setPen().

- -
-
- -

◆ setPen()

- -
-
- - - - - - - - -
void Reference::setPen (Attribute pen)
-
- -

Set pen.

- -

References pen().

- -

Referenced by pen(), and setAttribute().

- -
-
- -

◆ setSize()

- -
-
- - - - - - - - -
void Reference::setSize (Attribute size)
-
- -

Set size (magnification) of symbol.

- -

References size().

- -

Referenced by pen(), and setAttribute().

- -
-
- -

◆ size()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Reference::size () const
-
-inline
-
- -

Return symbol size.

- -

Referenced by drawSimple(), getAttribute(), pen(), setAttribute(), and setSize().

- -
-
- -

◆ position()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Reference::position () const
-
-inline
-
- -

Return position of symbol on page.

- -

References getAttribute(), and setAttribute().

- -
-
- -

◆ setAttribute()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Reference::setAttribute (Property prop,
Attribute value 
)
-
-virtual
-
- -

Set an attribute on this object.

-

Returns true if an attribute was actually changed.

- -

Reimplemented from ipe::Object.

- -

References EHasFill, EIsMark, ipe::EPropFillColor, ipe::EPropMarkShape, ipe::EPropPen, ipe::EPropStrokeColor, ipe::EPropSymbolSize, fill(), name(), pen(), ipe::Object::setAttribute(), setFill(), setName(), setPen(), setSize(), setStroke(), size(), and stroke().

- -

Referenced by position().

- -
-
- -

◆ getAttribute()

- -
-
- - - - - -
- - - - - - - - -
Attribute Reference::getAttribute (Property prop) const
-
-virtualnoexcept
-
- -

Get setting of an attribute of this object.

-

If object does not have this attribute, returnes "undefined" attribute.

- -

Reimplemented from ipe::Object.

- -

References EHasFill, EIsMark, ipe::EPropFillColor, ipe::EPropMarkShape, ipe::EPropPen, ipe::EPropStrokeColor, ipe::EPropSymbolSize, fill(), ipe::Object::getAttribute(), name(), pen(), size(), and stroke().

- -

Referenced by position().

- -
-
- -

◆ flags()

- -
-
- - - - - -
- - - - - - - -
uint32_t ipe::Reference::flags () const
-
-inline
-
- -

References flagsFromName(), and name().

- -

Referenced by flagsFromName().

- -
-
- -

◆ flagsFromName()

- -
-
- - - - - -
- - - - - - - - -
uint32_t Reference::flagsFromName (String name)
-
-static
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_reference-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_reference-members.html --- ipe-7.2.20/build/doc/classipe_1_1_reference-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_reference-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,116 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Reference Member List
-
-
- -

This is the complete list of members for ipe::Reference, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept(Visitor &visitor) constipe::Referencevirtual
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::Referencevirtual
asGroup()ipe::Objectvirtual
asGroup() constipe::Objectvirtual
asImage()ipe::Objectvirtual
asPath()ipe::Objectvirtual
asReference()ipe::Referencevirtual
asText()ipe::Objectvirtual
checkStyle(const Cascade *sheet, AttributeSeq &seq) constipe::Referencevirtual
checkSymbol(Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)ipe::Objectprotectedstatic
clone() constipe::Referencevirtual
distance(const Vector &v, const Matrix &m, double bound) constipe::Referencevirtual
draw(Painter &painter) constipe::Referencevirtual
drawSimple(Painter &painter) constipe::Referencevirtual
EGroup enum valueipe::Object
EHasFill enum valueipe::Reference
EHasPen enum valueipe::Reference
EHasSize enum valueipe::Reference
EHasStroke enum valueipe::Reference
EImage enum valueipe::Object
EIsArrow enum valueipe::Reference
EIsMark enum valueipe::Reference
EPath enum valueipe::Object
EReference enum valueipe::Object
EText enum valueipe::Object
fill() constipe::Referenceinline
flags() constipe::Referenceinline
flagsFromName(String name)ipe::Referencestatic
getAttribute(Property prop) const noexceptipe::Referencevirtual
iMatrixipe::Objectprotected
iPinnedipe::Objectprotected
iTransformationsipe::Objectprotected
matrix() constipe::Objectinline
name() constipe::Referenceinline
Object()ipe::Objectexplicitprotected
Object(const AllAttributes &attr)ipe::Objectexplicitprotected
Object(const Object &rhs)ipe::Objectprotected
Object(const XmlAttributes &attr)ipe::Objectexplicitprotected
pen() constipe::Referenceinline
pinned() constipe::Objectvirtual
position() constipe::Referenceinline
Reference(const AllAttributes &attr, Attribute name, Vector pos)ipe::Referenceexplicit
Reference(const XmlAttributes &attr, String data)ipe::Referenceexplicit
saveAsXml(Stream &stream, String layer) constipe::Referencevirtual
saveAttributesAsXml(Stream &stream, String layer) constipe::Objectprotected
setAttribute(Property prop, Attribute value)ipe::Referencevirtual
setFill(Attribute color)ipe::Reference
setMatrix(const Matrix &matrix)ipe::Objectvirtual
setName(Attribute name)ipe::Reference
setPen(Attribute pen)ipe::Reference
setPinned(TPinned pin)ipe::Object
setSize(Attribute size)ipe::Reference
setStroke(Attribute color)ipe::Reference
setTransformations(TTransformations trans)ipe::Object
size() constipe::Referenceinline
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Referencevirtual
snapCtl(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Referencevirtual
stroke() constipe::Referenceinline
transformations() constipe::Objectinline
Type enum nameipe::Object
type() constipe::Referencevirtual
~Object()=0ipe::Objectpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_repository.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_repository.html --- ipe-7.2.20/build/doc/classipe_1_1_repository.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_repository.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,185 +0,0 @@ - - - - - - - -Ipelib: ipe::Repository Class Reference - - - - - - -
-
- - - - - - -
-
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 get().

-

Member Function Documentation

- -

◆ get()

- -
-
- - - - - -
- - - - - - - -
Repository * Repository::get ()
-
-static
-
- -

Get pointer to singleton Repository.

- -

Referenced by ipe::Attribute::Attribute(), ipe::StyleSheet::saveAsXml(), and ipe::Attribute::string().

- -
-
- -

◆ cleanup()

- -
-
- - - - - -
- - - - - - - -
void Repository::cleanup ()
-
-static
-
- -

Destroy repository object.

- -

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

- -
-
- -

◆ toString()

- -
-
- - - - - - - - -
String Repository::toString (int index) const
-
- -

Return string with given index.

- -

Referenced by ipe::StyleSheet::saveAsXml(), and ipe::Attribute::string().

- -
-
- -

◆ toIndex()

- -
-
- - - - - - - - -
int Repository::toIndex (String str)
-
- -

Return index of given string.

-

The string is added to the repository if it doesn't exist yet.

- -

References ipe::String::empty().

- -

Referenced by ipe::Attribute::Attribute().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_repository-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_repository-members.html --- ipe-7.2.20/build/doc/classipe_1_1_repository-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_repository-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,57 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Repository Member List
-
-
- -

This is the complete list of members for ipe::Repository, including all inherited members.

- - - - - -
cleanup()ipe::Repositorystatic
get()ipe::Repositorystatic
toIndex(String str)ipe::Repository
toString(int index) constipe::Repository
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_save_flag.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_save_flag.html --- ipe-7.2.20/build/doc/classipe_1_1_save_flag.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_save_flag.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,101 +0,0 @@ - - - - - - - -Ipelib: ipe::SaveFlag Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -List of all members
-
-
ipe::SaveFlag Class Reference
-
-
- -

#include <ipedoc.h>

- - - - -

-Public Types

enum  {
-  SaveNormal = 0, -Export = 1, -NoZip = 2, -MarkedView = 4, -
-  KeepNotes = 8 -
- }
 
-

Detailed Description

-

Flags for saving Ipe documents (to PDF)

-

Member Enumeration Documentation

- -

◆ anonymous enum

- -
-
- - - - -
anonymous enum
-
- - - - - - -
Enumerator
SaveNormal 

Nothing special.

-
Export 

Don't include Ipe markup.

-
NoZip 

Do not compress streams.

-
MarkedView 

Create marked views only.

-
KeepNotes 

Keep page notes as PDF annotations even when exporting.

-
- -
-
-
The documentation for this class was generated from the following file: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_save_flag-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_save_flag-members.html --- ipe-7.2.20/build/doc/classipe_1_1_save_flag-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_save_flag-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::SaveFlag Member List
-
-
- -

This is the complete list of members for ipe::SaveFlag, including all inherited members.

- - - - - - -
Export enum valueipe::SaveFlag
KeepNotes enum valueipe::SaveFlag
MarkedView enum valueipe::SaveFlag
NoZip enum valueipe::SaveFlag
SaveNormal enum valueipe::SaveFlag
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_segment.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_segment.html --- ipe-7.2.20/build/doc/classipe_1_1_segment.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_segment.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,412 +0,0 @@ - - - - - - - -Ipelib: ipe::Segment Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::Segment Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Segment ()
 
 Segment (const Vector &p, const Vector &q)
 
Line line () const
 
double distance (const Vector &v, double bound) const
 
double distance (const Vector &v) const
 
bool project (const Vector &v, Vector &projection) const
 
bool intersects (const Segment &seg, Vector &pt) const
 
bool intersects (const Line &l, Vector &pt) const
 
bool snap (const Vector &mouse, Vector &pos, double &bound) const
 
- - - - - -

-Public Attributes

Vector iP
 
Vector iQ
 
-

Detailed Description

-

A directed line segment.

-

Constructor & Destructor Documentation

- -

◆ Segment() [1/2]

- -
-
- - - - - -
- - - - - - - -
ipe::Segment::Segment ()
-
-inline
-
- -

Create uninitialized segment.

- -
-
- -

◆ Segment() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
ipe::Segment::Segment (const Vectorp,
const Vectorq 
)
-
-inlineexplicit
-
- -
-
-

Member Function Documentation

- -

◆ line()

- -
-
- - - - - -
- - - - - - - -
Line ipe::Segment::line () const
-
-inline
-
- -

Return directed line supporting the segment.

- -

Referenced by ipe::Arc::intersect(), intersects(), and ipe::Snap::setEdge().

- -
-
- -

◆ distance() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
double Segment::distance (const Vectorv,
double bound 
) const
-
-

Returns distance between segment and point v, but may just return bound when its larger than bound.

- -

Referenced by ipe::CurveSegment::distance().

- -
-
- -

◆ distance() [2/2]

- -
-
- - - - - - - - -
double Segment::distance (const Vectorv) const
-
-

Returns distance between segment and point v

- -

References ipe::Vector::factorize().

- -
-
- -

◆ project()

- -
-
- - - - - - - - - - - - - - - - - - -
bool Segment::project (const Vectorv,
Vectorprojection 
) const
-
-

Project point v orthogonally on segment. Returns false if the point falls outside the segment.

- -

References ipe::Vector::factorize().

- -

Referenced by ipe::Bezier::snap().

- -
-
- -

◆ intersects() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
bool Segment::intersects (const Segmentseg,
Vectorpt 
) const
-
- -

Compute intersection point. Return false if segs don't intersect.

- -

References iP, iQ, and line().

- -

Referenced by ipe::Bezier::intersect(), and ipe::Bezier::snap().

- -
-
- -

◆ intersects() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - -
bool Segment::intersects (const Linel,
Vectorpt 
) const
-
- -

Compute intersection point. Return false if no intersection.

- -
-
- -

◆ snap()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool Segment::snap (const Vectormouse,
Vectorpos,
double & bound 
) const
-
- -

Snap mouse position to this segment.

-

If distance between mouse and the segment is less than bound, then set pos to the point on the segment, bound to the distance, and return true.

- -

References ipe::Linear::Linear(), and ipe::Vector::snap().

- -

Referenced by ipe::CurveSegment::snapBnd().

- -
-
-

Member Data Documentation

- -

◆ iP

- -
-
- - - - -
Vector ipe::Segment::iP
-
-
- -

◆ iQ

- -
-
- - - - -
Vector ipe::Segment::iQ
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_segment-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_segment-members.html --- ipe-7.2.20/build/doc/classipe_1_1_segment-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_segment-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Segment Member List
-
-
- -

This is the complete list of members for ipe::Segment, including all inherited members.

- - - - - - - - - - - - -
distance(const Vector &v, double bound) constipe::Segment
distance(const Vector &v) constipe::Segment
intersects(const Segment &seg, Vector &pt) constipe::Segment
intersects(const Line &l, Vector &pt) constipe::Segment
iPipe::Segment
iQipe::Segment
line() constipe::Segmentinline
project(const Vector &v, Vector &projection) constipe::Segment
Segment()ipe::Segmentinline
Segment(const Vector &p, const Vector &q)ipe::Segmentinlineexplicit
snap(const Vector &mouse, Vector &pos, double &bound) constipe::Segment
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_select_tool.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_select_tool.html --- ipe-7.2.20/build/doc/classipe_1_1_select_tool.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_select_tool.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,296 +0,0 @@ - - - - - - - -Ipelib: ipe::SelectTool Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -List of all members
-
-
ipe::SelectTool Class Reference
-
-
- -

#include <ipetool.h>

- -

Inherits ipe::Tool.

- - - - -

-Classes

struct  SObj
 
- - - - - - - - - - - - - - - - -

-Public Member Functions

 SelectTool (CanvasBase *canvas, Page *page, int view, double selectDistance, bool nonDestructive)
 
virtual void draw (Painter &painter) const
 
virtual void mouseButton (int button, bool press)
 
virtual void mouseMove ()
 
virtual bool key (String text, int modifiers)
 
- Public Member Functions inherited from ipe::Tool
virtual ~Tool ()
 
virtual void snapVtx (const Vector &mouse, Vector &pos, double &bound, bool cp) const
 
- - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::Tool
 Tool (CanvasBase *canvas)
 
- Protected Attributes inherited from ipe::Tool
CanvasBaseiCanvas
 
-

Detailed Description

-

A tool for selecting objects.

-

Constructor & Destructor Documentation

- -

◆ SelectTool()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SelectTool::SelectTool (CanvasBasecanvas,
Pagepage,
int view,
double selectDistance,
bool nonDestructive 
)
-
-
-

Member Function Documentation

- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void SelectTool::draw (Painterpainter) const
-
-virtual
-
-
- -

◆ mouseButton()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void SelectTool::mouseButton (int button,
bool press 
)
-
-virtual
-
-
- -

◆ mouseMove()

- -
-
- - - - - -
- - - - - - - -
void SelectTool::mouseMove ()
-
-virtual
-
- -

Called when the mouse is moved on the canvas.

- -

Reimplemented from ipe::Tool.

- -

References ipe::Tool::iCanvas, ipe::CanvasBase::unsnappedPos(), and ipe::CanvasBase::updateTool().

- -
-
- -

◆ key()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool SelectTool::key (String text,
int modifiers 
)
-
-virtual
-
- -

Called when a key is pressed.

-

modifiers are as defined in CanvasBase::TModifiers.

- -

Reimplemented from ipe::Tool.

- -

References ipe::CanvasBase::finishTool(), ipe::Tool::iCanvas, and ipe::CanvasBase::updateTool().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_select_tool-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_select_tool-members.html --- ipe-7.2.20/build/doc/classipe_1_1_select_tool-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_select_tool-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,62 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::SelectTool Member List
-
-
- -

This is the complete list of members for ipe::SelectTool, including all inherited members.

- - - - - - - - - - -
draw(Painter &painter) constipe::SelectToolvirtual
iCanvasipe::Toolprotected
key(String text, int modifiers)ipe::SelectToolvirtual
mouseButton(int button, bool press)ipe::SelectToolvirtual
mouseMove()ipe::SelectToolvirtual
SelectTool(CanvasBase *canvas, Page *page, int view, double selectDistance, bool nonDestructive)ipe::SelectTool
snapVtx(const Vector &mouse, Vector &pos, double &bound, bool cp) constipe::Toolvirtual
Tool(CanvasBase *canvas)ipe::Toolprotected
~Tool()ipe::Toolvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_shape.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_shape.html --- ipe-7.2.20/build/doc/classipe_1_1_shape.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_shape.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,685 +0,0 @@ - - - - - - - -Ipelib: ipe::Shape Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -List of all members
-
-
ipe::Shape Class Reference
-
-
- -

#include <ipeshape.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Shape ()
 
 Shape (const Rect &rect)
 
 Shape (const Segment &seg)
 
 Shape (const Vector &center, double radius)
 
 Shape (const Vector &center, double radius, double alpha0, double alpha1)
 
 ~Shape ()
 
 Shape (const Shape &rhs)
 
Shapeoperator= (const Shape &rhs)
 
bool load (String data)
 
void save (Stream &stream) const
 
void addToBBox (Rect &box, const Matrix &m, bool cp) const
 
double distance (const Vector &v, const Matrix &m, double bound) const
 
void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const
 
void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
int countSubPaths () const
 
const SubPathsubPath (int i) const
 
bool isSegment () const
 
void appendSubPath (SubPath *sp)
 
void draw (Painter &painter) const
 
-

Detailed Description

-

A geometric shape, consisting of several (open or closed) subpaths.

-

This class represents vector graphics geometry following the PDF "path", but is actually a bit more complicated since we add new subtypes: arcs, parabolas, uniform B-splines (in PDF, all of these are converted to cubic Bezier splines).

-

A Shape consists of a set of subpaths (SubPath), each of which is either open or closed, and which are rendered by stroking and filling as a whole. The distinction between open and closed is meaningful for stroking only, for filling any open subpath is implicitely closed. Stroking a set of subpaths is identical to stroking them individually. This is not true for filling: using several subpaths, one can construct objects with holes, and more complicated pattern.

-

A subpath is either an Ellipse (a complete, closed ellipse), a ClosedSpline (a closed uniform B-spline curve), or a Curve. A curve consists of a sequence of segments. Segments are either straight, a quadratic Bezier spline, a cubic Bezier spline, an elliptic arc, or a uniform cubic B-spline.

-

Shape is implemented using reference counting and can be copied and passed by value efficiently. The only mutator methods are appendSubPath() and load(), which can only be called during construction of the Shape (that is, before its implementation has been shared).

-

Constructor & Destructor Documentation

- -

◆ Shape() [1/6]

- -
-
- - - - - - - -
Shape::Shape ()
-
- -

Construct an empty shape (zero subpaths).

- -

Referenced by ipe::ClosedSpline::snapBnd().

- -
-
- -

◆ Shape() [2/6]

- -
-
- - - - - -
- - - - - - - - -
Shape::Shape (const Rectrect)
-
-explicit
-
-
- -

◆ Shape() [3/6]

- -
-
- - - - - -
- - - - - - - - -
Shape::Shape (const Segmentseg)
-
-explicit
-
- -

Convenience function: create a single line segment.

- -

References ipe::Curve::appendSegment(), ipe::Segment::iP, and ipe::Segment::iQ.

- -
-
- -

◆ Shape() [4/6]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Shape::Shape (const Vectorcenter,
double radius 
)
-
-explicit
-
- -

Convenience function: create circle with center and radius.

- -

References ipe::Ellipse::Ellipse(), ipe::Vector::x, and ipe::Vector::y.

- -
-
- -

◆ Shape() [5/6]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Shape::Shape (const Vectorcenter,
double radius,
double alpha0,
double alpha1 
)
-
-explicit
-
- -

Convenience function: create circular arc.

-

If alpha1 is larger than alpha0, the arc is oriented positively, otherwise negatively.

- -

References ipe::Curve::appendArc(), ipe::Vector::x, and ipe::Vector::y.

- -
-
- -

◆ ~Shape()

- -
-
- - - - - - - -
Shape::~Shape ()
-
- -

Destructor (takes care of reference counting).

- -
-
- -

◆ Shape() [6/6]

- -
-
- - - - - - - - -
Shape::Shape (const Shaperhs)
-
- -

Copy constructor (constant time).

- -
-
-

Member Function Documentation

- -

◆ operator=()

- -
-
- - - - - - - - -
Shape & Shape::operator= (const Shaperhs)
-
- -

Assignment operator (constant-time).

- -
-
- -

◆ load()

- -
-
- - - - - - - - -
bool Shape::load (String data)
-
- -

Create a Shape from XML data.

-

Appends subpaths from XML data to the current Shape. Returns false if the path syntax is incorrect (the Shape will be in an inconsistent state and must be discarded).

-

This method can only be used during construction of the Shape. It will panic if the implementation has been shared.

- -

References ipe::Curve::appendArc(), ipe::Curve::appendCardinalSpline(), ipe::Curve::appendOldSpline(), ipe::Curve::appendSegment(), ipe::Curve::appendSpiroSpline(), ipe::Curve::appendSpiroSplinePrecomputed(), ipe::Curve::appendSpline(), ipe::SubPath::asCurve(), ipe::Matrix::determinant(), ipe::Ellipse::Ellipse(), ipe::Lex::eos(), ipe::Lex::nextToken(), ipe::Curve::setClosed(), ipe::Lex::skipWhitespace(), ipe::Lex::token(), and ipe::Ellipse::type().

- -

Referenced by ipe::Group::Group().

- -
-
- -

◆ save()

- -
-
- - - - - - - - -
void Shape::save (Streamstream) const
-
- -

Save Shape onto XML stream.

- -

Referenced by ipe::Group::saveAsXml(), and ipe::Path::saveAsXml().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void Shape::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
- -

Add shape (transformed by m) to box.

- -

Referenced by ipe::Path::addToBBox().

- -
-
- -

◆ distance()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
double Shape::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
- -

Referenced by ipe::Path::distance().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Shape::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound,
bool cp 
) const
-
- -

Referenced by ipe::Path::snapCtl(), and ipe::Path::snapVtx().

- -
-
- -

◆ snapBnd()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Shape::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
- -

Referenced by ipe::Path::snapBnd().

- -
-
- -

◆ countSubPaths()

- -
-
- - - - - -
- - - - - - - -
int ipe::Shape::countSubPaths () const
-
-inline
-
- -

Return number of subpaths.

- -

Referenced by ipe::Path::clone(), ipe::Group::Group(), and ipe::Group::saveAsXml().

- -
-
- -

◆ subPath()

- -
-
- - - - - -
- - - - - - - - -
const SubPath* ipe::Shape::subPath (int i) const
-
-inline
-
- -

Return subpath.

- -

References ipe::CurveSegment::draw().

- -

Referenced by ipe::Path::clone(), and ipe::Path::draw().

- -
-
- -

◆ isSegment()

- -
-
- - - - - - - -
bool Shape::isSegment () const
-
-
- -

◆ appendSubPath()

- -
-
- - - - - - - - -
void Shape::appendSubPath (SubPathsp)
-
- -

Append a SubPath to shape.

-

The Shape will take ownership of the subpath. This method can only be used during construction of the Shape. It will panic if the implementation has been shared.

- -
-
- -

◆ draw()

- -
-
- - - - - - - - -
void Shape::draw (Painterpainter) const
-
- -

Draw the Shape as a path to painter.

-

Does not call newPath() on painter.

- -

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

- -

Referenced by ipe::Path::draw(), and ipe::Path::drawSimple().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_shape-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_shape-members.html --- ipe-7.2.20/build/doc/classipe_1_1_shape-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_shape-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,72 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Shape Member List
-
-
- -

This is the complete list of members for ipe::Shape, including all inherited members.

- - - - - - - - - - - - - - - - - - - - -
addToBBox(Rect &box, const Matrix &m, bool cp) constipe::Shape
appendSubPath(SubPath *sp)ipe::Shape
countSubPaths() constipe::Shapeinline
distance(const Vector &v, const Matrix &m, double bound) constipe::Shape
draw(Painter &painter) constipe::Shape
isSegment() constipe::Shape
load(String data)ipe::Shape
operator=(const Shape &rhs)ipe::Shape
save(Stream &stream) constipe::Shape
Shape()ipe::Shape
Shape(const Rect &rect)ipe::Shapeexplicit
Shape(const Segment &seg)ipe::Shapeexplicit
Shape(const Vector &center, double radius)ipe::Shapeexplicit
Shape(const Vector &center, double radius, double alpha0, double alpha1)ipe::Shapeexplicit
Shape(const Shape &rhs)ipe::Shape
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Shape
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) constipe::Shape
subPath(int i) constipe::Shapeinline
~Shape()ipe::Shape
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_snap.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_snap.html --- ipe-7.2.20/build/doc/classipe_1_1_snap.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_snap.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,605 +0,0 @@ - - - - - - - -Ipelib: ipe::Snap Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -Public Attributes | -List of all members
-
-
ipe::Snap Class Reference
-
-
- -

#include <ipesnap.h>

- - - - -

-Public Types

enum  TSnapModes {
-  ESnapNone = 0, -ESnapVtx = 1, -ESnapCtl = 2, -ESnapBd = 4, -
-  ESnapInt = 8, -ESnapGrid = 0x10, -ESnapAngle = 0x20, -ESnapAuto = 0x40, -
-  ESnapCustom = 0x80 -
- }
 
- - - - - - - - - - - - - -

-Public Member Functions

void intersectionSnap (const Vector &pos, Vector &fifi, const Page *page, int view, double &snapDist) const noexcept
 
bool snapAngularIntersection (Vector &pos, const Line &l, const Page *page, int view, double snapDist) const noexcept
 
TSnapModes simpleSnap (Vector &pos, const Page *page, int view, double snapDist, Tool *tool=nullptr) const noexcept
 
TSnapModes snap (Vector &pos, const Page *page, int view, double snapDist, Tool *tool=nullptr, Vector *autoOrg=nullptr) const noexcept
 
Line getLine (const Vector &mouse, const Vector &base) const noexcept
 
bool setEdge (const Vector &pos, const Page *page, int view) noexcept
 
- - - - - - - - - - - - - - - - - -

-Public Attributes

int iSnap
 
bool iGridVisible
 
int iGridSize
 
double iAngleSize
 
int iSnapDistance
 
bool iWithAxes
 
Vector iOrigin
 
Angle iDir
 
-

Detailed Description

-

Performs snapping operations, and stores snapping state.

-

Member Enumeration Documentation

- -

◆ TSnapModes

- -
-
- - - - -
enum ipe::Snap::TSnapModes
-
- -

The different snap modes as bitmasks.

- - - - - - - - - - -
Enumerator
ESnapNone 
ESnapVtx 
ESnapCtl 
ESnapBd 
ESnapInt 
ESnapGrid 
ESnapAngle 
ESnapAuto 
ESnapCustom 
- -
-
-

Member Function Documentation

- -

◆ intersectionSnap()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Snap::intersectionSnap (const Vectorpos,
Vectorfifi,
const Pagepage,
int view,
double & snapDist 
) const
-
-noexcept
-
- -

Perform intersection snapping.

- -

References ipe::size().

- -
-
- -

◆ snapAngularIntersection()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Snap::snapAngularIntersection (Vectorpos,
const Linel,
const Pagepage,
int view,
double snapDist 
) const
-
-noexcept
-
- -

Perform snapping to intersection of angular line and pos.

- -
-
- -

◆ simpleSnap()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Snap::TSnapModes Snap::simpleSnap (Vectorpos,
const Pagepage,
int view,
double snapDist,
Tooltool = nullptr 
) const
-
-noexcept
-
- -

Tries vertex, intersection, boundary, and grid snapping.

-

If snapping occurred, pos is set to the new user space position.

- -

References ipe::Page::count(), ipe::Page::objSnapsInView(), ipe::Page::snapBnd(), ipe::Page::snapCtl(), ipe::Page::snapVtx(), ipe::Vector::x, and ipe::Vector::y.

- -
-
- -

◆ snap()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Snap::TSnapModes Snap::snap (Vectorpos,
const Pagepage,
int view,
double snapDist,
Tooltool = nullptr,
VectorautoOrg = nullptr 
) const
-
-noexcept
-
- -

Performs snapping of position pos.

-

Returns true if snapping occurred. In that case pos is set to the new user space position.

-

Automatic angular snapping occurs if autoOrg is not null — the value is then used as the origin for automatic angular snapping.

- -

References ipe::Line::intersects(), ipe::Line::project(), and ipe::Vector::sqLen().

- -
-
- -

◆ getLine()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Line Snap::getLine (const Vectormouse,
const Vectorbase 
) const
-
-noexcept
-
-

Find line through base with slope determined by angular snap size and direction.

- -

References ipe::Vector::angle(), ipe::Vector::len(), and ipe::Angle::normalize().

- -
-
- -

◆ setEdge()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool Snap::setEdge (const Vectorpos,
const Pagepage,
int view 
)
-
-noexcept
-
-
-

Member Data Documentation

- -

◆ iSnap

- -
-
- - - - -
int ipe::Snap::iSnap
-
- -

Activated snapping modes (TSnapModes)

- -
-
- -

◆ iGridVisible

- -
-
- - - - -
bool ipe::Snap::iGridVisible
-
- -

Is the grid visible?

- -
-
- -

◆ iGridSize

- -
-
- - - - -
int ipe::Snap::iGridSize
-
- -

Snap grid spacing.

- -
-
- -

◆ iAngleSize

- -
-
- - - - -
double ipe::Snap::iAngleSize
-
- -

Angle for angular snapping.

- -
-
- -

◆ iSnapDistance

- -
-
- - - - -
int ipe::Snap::iSnapDistance
-
- -

Snap distance (in pixels).

- -
-
- -

◆ iWithAxes

- -
-
- - - - -
bool ipe::Snap::iWithAxes
-
- -

Show coordinate system?

- -

Referenced by ipe::TransformTool::TransformTool().

- -
-
- -

◆ iOrigin

- -
-
- - - - -
Vector ipe::Snap::iOrigin
-
- -

Origin of coordinate system.

- -

Referenced by ipe::TransformTool::TransformTool().

- -
-
- -

◆ iDir

- -
-
- - - - -
Angle ipe::Snap::iDir
-
- -

Direction of x-axis.

- -

Referenced by ipe::TransformTool::TransformTool().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_snap-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_snap-members.html --- ipe-7.2.20/build/doc/classipe_1_1_snap-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_snap-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Snap Member List
-
-
- -

This is the complete list of members for ipe::Snap, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
ESnapAngle enum valueipe::Snap
ESnapAuto enum valueipe::Snap
ESnapBd enum valueipe::Snap
ESnapCtl enum valueipe::Snap
ESnapCustom enum valueipe::Snap
ESnapGrid enum valueipe::Snap
ESnapInt enum valueipe::Snap
ESnapNone enum valueipe::Snap
ESnapVtx enum valueipe::Snap
getLine(const Vector &mouse, const Vector &base) const noexceptipe::Snap
iAngleSizeipe::Snap
iDiripe::Snap
iGridSizeipe::Snap
iGridVisibleipe::Snap
intersectionSnap(const Vector &pos, Vector &fifi, const Page *page, int view, double &snapDist) const noexceptipe::Snap
iOriginipe::Snap
iSnapipe::Snap
iSnapDistanceipe::Snap
iWithAxesipe::Snap
setEdge(const Vector &pos, const Page *page, int view) noexceptipe::Snap
simpleSnap(Vector &pos, const Page *page, int view, double snapDist, Tool *tool=nullptr) const noexceptipe::Snap
snap(Vector &pos, const Page *page, int view, double snapDist, Tool *tool=nullptr, Vector *autoOrg=nullptr) const noexceptipe::Snap
snapAngularIntersection(Vector &pos, const Line &l, const Page *page, int view, double snapDist) const noexceptipe::Snap
TSnapModes enum nameipe::Snap
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,466 +0,0 @@ - - - - - - - -Ipelib: ipe::Stream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Stream Class Referenceabstract
-
-
- -

#include <ipebase.h>

- -

Inherited by ipe::A85Stream, ipe::Base64Stream, ipe::DeflateStream, and ipe::TellStream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual ~Stream ()
 
virtual void putChar (char ch)=0
 
virtual void close ()
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
-

Detailed Description

-

Abstract base class for output streams.

-

Constructor & Destructor Documentation

- -

◆ ~Stream()

- -
-
- - - - - -
- - - - - - - -
Stream::~Stream ()
-
-virtual
-
- -

Virtual destructor.

- -
-
-

Member Function Documentation

- -

◆ putChar()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::Stream::putChar (char ch)
-
-pure virtual
-
-
- -

◆ close()

- -
-
- - - - - -
- - - - - - - -
void Stream::close ()
-
-virtual
-
- -

Close the stream. No more writing allowed!

- -

Reimplemented in ipe::DeflateStream, ipe::Base64Stream, and ipe::A85Stream.

- -

Referenced by ipe::A85Stream::close(), ipe::Base64Stream::close(), and ipe::DeflateStream::close().

- -
-
- -

◆ putString()

- -
-
- - - - - -
- - - - - - - - -
void Stream::putString (String s)
-
-virtual
-
- -

Output string.

-

Default implementation uses PutChar.

- -

Reimplemented in ipe::FileStream, and ipe::StringStream.

- -

References ipe::String::size().

- -
-
- -

◆ putCString()

- -
-
- - - - - -
- - - - - - - - -
void Stream::putCString (const char * s)
-
-virtual
-
- -

Output C string.

-

Default implementation uses PutChar.

- -

Reimplemented in ipe::FileStream, and ipe::StringStream.

- -

Referenced by ipe::A85Stream::close(), ipe::Base64Stream::close(), ipe::A85Stream::putChar(), and ipe::Base64Stream::putChar().

- -
-
- -

◆ putRaw()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Stream::putRaw (const char * data,
int size 
)
-
-virtual
-
- -

Output raw character data.

-

Default implementation uses PutChar.

- -

Reimplemented in ipe::FileStream, and ipe::StringStream.

- -

References ipe::String::size().

- -

Referenced by ipe::DeflateStream::close(), ipe::DeflateStream::putChar(), and ipe::PdfWriter::~PdfWriter().

- -
-
- -

◆ operator<<() [1/5]

- -
-
- - - - - -
- - - - - - - - -
Stream& ipe::Stream::operator<< (char ch)
-
-inline
-
- -

Output character.

- -
-
- -

◆ operator<<() [2/5]

- -
-
- - - - - -
- - - - - - - - -
Stream& ipe::Stream::operator<< (const Strings)
-
-inline
-
- -

Output string.

- -
-
- -

◆ operator<<() [3/5]

- -
-
- - - - - -
- - - - - - - - -
Stream& ipe::Stream::operator<< (const char * s)
-
-inline
-
- -

Output C string.

- -
-
- -

◆ operator<<() [4/5]

- -
-
- - - - - - - - -
Stream & Stream::operator<< (int i)
-
- -

Output integer.

- -
-
- -

◆ operator<<() [5/5]

- -
-
- - - - - - - - -
Stream & Stream::operator<< (double d)
-
- -

Output double.

- -
-
- -

◆ putHexByte()

- -
-
- - - - - - - - -
void Stream::putHexByte (char b)
-
- -

Output byte in hexadecimal.

- -

Referenced by ipe::ipeDebugBuffer().

- -
-
- -

◆ putXmlString()

- -
-
- - - - - - - - -
void Stream::putXmlString (String s)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Stream Member List
-
-
- -

This is the complete list of members for ipe::Stream, including all inherited members.

- - - - - - - - - - - - - - -
close()ipe::Streamvirtual
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)=0ipe::Streampure virtual
putCString(const char *s)ipe::Streamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::Streamvirtual
putString(String s)ipe::Streamvirtual
putXmlString(String s)ipe::Stream
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_string.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string.html --- ipe-7.2.20/build/doc/classipe_1_1_string.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1259 +0,0 @@ - - - - - - - -Ipelib: ipe::String Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::String Class Reference
-
-
- -

#include <ipebase.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 String () noexcept
 
 String (const char *str) noexcept
 
 String (const char *str, int len) noexcept
 
 String (const String &rhs) noexcept
 
 String (const String &rhs, int index, int len) noexcept
 
Stringoperator= (const String &rhs) noexcept
 
 ~String () noexcept
 
char operator[] (int i) const noexcept
 
bool empty () const noexcept
 
const char * data () const noexcept
 
int size () const noexcept
 
void operator+= (const String &rhs) noexcept
 
void operator+= (const char *rhs) noexcept
 
void operator+= (char ch) noexcept
 
String substr (int i, int len=-1) const noexcept
 
String left (int i) const noexcept
 
String right (int i) const noexcept
 
bool operator!= (const String &rhs) const noexcept
 
bool operator!= (const char *rhs) const noexcept
 
int find (char ch) const noexcept
 
int rfind (char ch) const noexcept
 
int find (const char *rhs) const noexcept
 
void erase () noexcept
 
void append (const String &rhs) noexcept
 
void append (const char *rhs) noexcept
 
void append (char ch) noexcept
 
void appendUtf8 (uint16_t ch) noexcept
 
bool hasPrefix (const char *rhs) const noexcept
 
bool operator== (const String &rhs) const noexcept
 
bool operator== (const char *rhs) const noexcept
 
bool operator< (const String &rhs) const noexcept
 
String operator+ (const String &rhs) const noexcept
 
int unicode (int &index) const noexcept
 
String getLine (int &index) const noexcept
 
const char * z () const noexcept
 
- - - -

-Static Public Member Functions

static String withData (char *data, int len=0) noexcept
 
-

Detailed Description

-

Strings and buffers.

-

String is is an implicitly shared byte string. It is designed to be efficient for strings of arbitrary length, and supposed to be passed by value (the size of String is a single pointer). Sharing is implicit—the string creates its own representation as soon as it is modified.

-

String can be used for binary data. For text, it is usually assumed that the string is UTF-8 encoded, but only the unicode member function actually requires this. In particular, all indices into the string are byte indices, not Unicode character indices.

-

Constructor & Destructor Documentation

- -

◆ String() [1/5]

- -
-
- - - - - -
- - - - - - - -
String::String ()
-
-noexcept
-
- -

Construct an empty string.

- -

Referenced by right(), and ipe::Platform::runLatex().

- -
-
- -

◆ String() [2/5]

- -
-
- - - - - -
- - - - - - - - -
String::String (const char * str)
-
-noexcept
-
- -

Construct a string by making copy of str.

- -
-
- -

◆ String() [3/5]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
String::String (const char * str,
int len 
)
-
-noexcept
-
- -

Construct string by making copy of str with given len.

- -
-
- -

◆ String() [4/5]

- -
-
- - - - - -
- - - - - - - - -
String::String (const Stringrhs)
-
-noexcept
-
- -

Copy constructor. This only copies the reference and takes constant time.

- -
-
- -

◆ String() [5/5]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
String::String (const Stringrhs,
int index,
int len 
)
-
-noexcept
-
- -

Construct a substring.

-

index must be >= 0. len can be negative or too large to return entire string.

- -
-
- -

◆ ~String()

- -
-
- - - - - -
- - - - - - - -
String::~String ()
-
-noexcept
-
- -

Destruct string if reference count has reached zero.

- -
-
-

Member Function Documentation

- -

◆ operator=()

- -
-
- - - - - -
- - - - - - - - -
String & String::operator= (const Stringrhs)
-
-noexcept
-
- -

Assignment takes constant time.

- -
-
- -

◆ withData()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
String String::withData (char * data,
int len = 0 
)
-
-staticnoexcept
-
- -

Construct string by taking ownership of given data.

- -

References data().

- -
-
- -

◆ operator[]()

- -
-
- - - - - -
- - - - - - - - -
char ipe::String::operator[] (int i) const
-
-inlinenoexcept
-
- -

Return character at index i.

- -
-
- -

◆ empty()

- -
-
- - - - - -
- - - - - - - -
bool ipe::String::empty () const
-
-inlinenoexcept
-
-
- -

◆ data()

- -
-
- - - - - -
- - - - - - - -
const char* ipe::String::data () const
-
-inlinenoexcept
-
-
- -

◆ size()

- -
-
- - - - - -
- - - - - - - -
int ipe::String::size () const
-
-inlinenoexcept
-
-
- -

◆ operator+=() [1/3]

- -
-
- - - - - -
- - - - - - - - -
void ipe::String::operator+= (const Stringrhs)
-
-inlinenoexcept
-
- -

Operator syntax for append.

- -
-
- -

◆ operator+=() [2/3]

- -
-
- - - - - -
- - - - - - - - -
void ipe::String::operator+= (const char * rhs)
-
-inlinenoexcept
-
- -

Operator syntax for append.

- -
-
- -

◆ operator+=() [3/3]

- -
-
- - - - - -
- - - - - - - - -
void ipe::String::operator+= (char ch)
-
-inlinenoexcept
-
- -

Operator syntax for append.

- -
-
- -

◆ substr()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
String ipe::String::substr (int i,
int len = -1 
) const
-
-inlinenoexcept
-
-
- -

◆ left()

- -
-
- - - - - -
- - - - - - - - -
String ipe::String::left (int i) const
-
-inlinenoexcept
-
-
- -

◆ right()

- -
-
- - - - - -
- - - - - - - - -
String String::right (int i) const
-
-noexcept
-
- -

Create substring at the right.

-

Returns the entire string if i is larger than its length.

- -

References size(), and String().

- -

Referenced by ipe::Bitmap::Bitmap(), ipe::Document::formatFromFilename(), and ipe::Platform::latexDirectory().

- -
-
- -

◆ operator!=() [1/2]

- -
-
- - - - - -
- - - - - - - - -
bool ipe::String::operator!= (const Stringrhs) const
-
-inlinenoexcept
-
- -

Operator !=.

- -
-
- -

◆ operator!=() [2/2]

- -
-
- - - - - -
- - - - - - - - -
bool ipe::String::operator!= (const char * rhs) const
-
-inlinenoexcept
-
- -

Operator !=.

- -
-
- -

◆ find() [1/2]

- -
-
- - - - - -
- - - - - - - - -
int String::find (char ch) const
-
-noexcept
-
- -

Return index of first occurrence of ch.

-

Return -1 if character does not appear.

- -

References size().

- -

Referenced by ipe::PdfWriter::createTrailer(), ipe::Painter::dashStyle(), ipe::CairoPainter::doDrawText(), ipe::Reference::flagsFromName(), ipe::PdfParser::getTrailer(), ipe::Document::runLatex(), and ipe::StyleSheet::saveAsXml().

- -
-
- -

◆ rfind()

- -
-
- - - - - -
- - - - - - - - -
int String::rfind (char ch) const
-
-noexcept
-
- -

Return index of last occurrence of ch.

-

Return -1 if character does not appear.

- -

References size().

- -

Referenced by ipe::Reference::flagsFromName(), and ipe::Platform::ipeDrive().

- -
-
- -

◆ find() [2/2]

- -
-
- - - - - -
- - - - - - - - -
int String::find (const char * rhs) const
-
-noexcept
-
- -

Return index of first occurrence of rhs.

-

Return -1 if not substring is not present.

- -

References size().

- -
-
- -

◆ erase()

- -
-
- - - - - -
- - - - - - - -
void String::erase ()
-
-noexcept
-
- -

Make string empty.

- -
-
- -

◆ append() [1/3]

- -
-
- - - - - -
- - - - - - - - -
void String::append (const Stringrhs)
-
-noexcept
-
- -

Append rhs to this string.

- -

Referenced by appendUtf8(), operator+(), and ipe::Platform::readFile().

- -
-
- -

◆ append() [2/3]

- -
-
- - - - - -
- - - - - - - - -
void String::append (const char * rhs)
-
-noexcept
-
- -

Append rhs to this string.

- -
-
- -

◆ append() [3/3]

- -
-
- - - - - -
- - - - - - - - -
void String::append (char ch)
-
-noexcept
-
- -

Append ch to this string.

- -
-
- -

◆ appendUtf8()

- -
-
- - - - - -
- - - - - - - - -
void String::appendUtf8 (uint16_t ch)
-
-noexcept
-
- -

Append a single unicode character ch in UTF-8 encoding.

- -

References append().

- -

Referenced by ipe::PdfString::decode().

- -
-
- -

◆ hasPrefix()

- -
-
- - - - - -
- - - - - - - - -
bool String::hasPrefix (const char * rhs) const
-
-noexcept
-
- -

Does string start with this prefix? (bytewise comparison)

- -

References size().

- -

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

- -
-
- -

◆ operator==() [1/2]

- -
-
- - - - - -
- - - - - - - - -
bool String::operator== (const Stringrhs) const
-
-noexcept
-
- -

Equality operator (bytewise comparison).

- -

References size().

- -
-
- -

◆ operator==() [2/2]

- -
-
- - - - - -
- - - - - - - - -
bool String::operator== (const char * rhs) const
-
-noexcept
-
- -

Equality operator (bytewise comparison).

- -

References size().

- -
-
- -

◆ operator<()

- -
-
- - - - - -
- - - - - - - - -
bool String::operator< (const Stringrhs) const
-
-noexcept
-
- -

Inequality operator (bytewise comparison).

- -

References size().

- -
-
- -

◆ operator+()

- -
-
- - - - - -
- - - - - - - - -
String String::operator+ (const Stringrhs) const
-
-noexcept
-
- -

Concatenate this string with rhs.

- -

References append().

- -
-
- -

◆ unicode()

- -
-
- - - - - -
- - - - - - - - -
int String::unicode (int & index) const
-
-noexcept
-
- -

Return Unicode value from UTF-8 string.

-

The index is incremented to the next UTF-8 character. This returns 0xfffd if there is any problem in parsing UTF-8.

- -

References ipe::Fixed::fromInternal(), and ipe::Fixed::mult().

- -

Referenced by ipe::PdfWriter::createXmlStream().

- -
-
- -

◆ getLine()

- -
-
- - - - - -
- - - - - - - - -
String String::getLine (int & index) const
-
-noexcept
-
- -

Return line starting at position index. Index is updated to point to next line.

- -

References size(), and substr().

- -

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

- -
-
- -

◆ z()

- -
-
- - - - - -
- - - - - - - -
const char * String::z () const
-
-noexcept
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_string-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string-members.html --- ipe-7.2.20/build/doc/classipe_1_1_string-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,89 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::String Member List
-
-
- -

This is the complete list of members for ipe::String, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
append(const String &rhs) noexceptipe::String
append(const char *rhs) noexceptipe::String
append(char ch) noexceptipe::String
appendUtf8(uint16_t ch) noexceptipe::String
data() const noexceptipe::Stringinline
empty() const noexceptipe::Stringinline
erase() noexceptipe::String
find(char ch) const noexceptipe::String
find(const char *rhs) const noexceptipe::String
getLine(int &index) const noexceptipe::String
hasPrefix(const char *rhs) const noexceptipe::String
left(int i) const noexceptipe::Stringinline
operator!=(const String &rhs) const noexceptipe::Stringinline
operator!=(const char *rhs) const noexceptipe::Stringinline
operator+(const String &rhs) const noexceptipe::String
operator+=(const String &rhs) noexceptipe::Stringinline
operator+=(const char *rhs) noexceptipe::Stringinline
operator+=(char ch) noexceptipe::Stringinline
operator<(const String &rhs) const noexceptipe::String
operator=(const String &rhs) noexceptipe::String
operator==(const String &rhs) const noexceptipe::String
operator==(const char *rhs) const noexceptipe::String
operator[](int i) const noexceptipe::Stringinline
rfind(char ch) const noexceptipe::String
right(int i) const noexceptipe::String
size() const noexceptipe::Stringinline
String() noexceptipe::String
String(const char *str) noexceptipe::String
String(const char *str, int len) noexceptipe::String
String(const String &rhs) noexceptipe::String
String(const String &rhs, int index, int len) noexceptipe::String
substr(int i, int len=-1) const noexceptipe::Stringinline
unicode(int &index) const noexceptipe::String
withData(char *data, int len=0) noexceptipe::Stringstatic
z() const noexceptipe::String
~String() noexceptipe::String
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_string_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_string_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,286 +0,0 @@ - - - - - - - -Ipelib: ipe::StringStream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::StringStream Class Reference
-
-
- -

#include <ipebase.h>

- -

Inherits ipe::TellStream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 StringStream (String &string)
 
virtual void putChar (char ch)
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
virtual long tell () const
 
- Public Member Functions inherited from ipe::Stream
virtual ~Stream ()
 
virtual void close ()
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
-

Detailed Description

-

Stream writing into an String.

-

Constructor & Destructor Documentation

- -

◆ StringStream()

- -
-
- - - - - - - - -
StringStream::StringStream (Stringstring)
-
- -

Construct with string reference.

- -

Referenced by ipe::Stream::putXmlString().

- -
-
-

Member Function Documentation

- -

◆ putChar()

- -
-
- - - - - -
- - - - - - - - -
void StringStream::putChar (char ch)
-
-virtual
-
- -

Output character.

- -

Implements ipe::Stream.

- -
-
- -

◆ putString()

- -
-
- - - - - -
- - - - - - - - -
void StringStream::putString (String s)
-
-virtual
-
- -

Output string.

-

Default implementation uses PutChar.

- -

Reimplemented from ipe::Stream.

- -
-
- -

◆ putCString()

- -
-
- - - - - -
- - - - - - - - -
void StringStream::putCString (const char * s)
-
-virtual
-
- -

Output C string.

-

Default implementation uses PutChar.

- -

Reimplemented from ipe::Stream.

- -
-
- -

◆ putRaw()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void StringStream::putRaw (const char * data,
int size 
)
-
-virtual
-
- -

Output raw character data.

-

Default implementation uses PutChar.

- -

Reimplemented from ipe::Stream.

- -

References ipe::String::size().

- -
-
- -

◆ tell()

- -
-
- - - - - -
- - - - - - - -
long StringStream::tell () const
-
-virtual
-
- -

Implements ipe::TellStream.

- -

References ipe::FileStream::FileStream().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_string_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_string_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_string_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::StringStream Member List
-
-
- -

This is the complete list of members for ipe::StringStream, including all inherited members.

- - - - - - - - - - - - - - - - -
close()ipe::Streamvirtual
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)ipe::StringStreamvirtual
putCString(const char *s)ipe::StringStreamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::StringStreamvirtual
putString(String s)ipe::StringStreamvirtual
putXmlString(String s)ipe::Stream
StringStream(String &string)ipe::StringStream
tell() constipe::StringStreamvirtual
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_style_sheet.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_style_sheet.html --- ipe-7.2.20/build/doc/classipe_1_1_style_sheet.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_style_sheet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1084 +0,0 @@ - - - - - - - -Ipelib: ipe::StyleSheet Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::StyleSheet Class Reference
-
-
- -

#include <ipestyle.h>

- - - - - - -

-Classes

struct  PageNumberStyle
 
struct  TitleStyle
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 StyleSheet ()
 
void addSymbol (Attribute name, const Symbol &symbol)
 
const SymbolfindSymbol (Attribute sym) const
 
void addGradient (Attribute name, const Gradient &s)
 
const GradientfindGradient (Attribute sym) const
 
void addTiling (Attribute name, const Tiling &s)
 
const TilingfindTiling (Attribute sym) const
 
void addEffect (Attribute name, const Effect &e)
 
const EffectfindEffect (Attribute sym) const
 
void add (Kind kind, Attribute name, Attribute value)
 
bool has (Kind kind, Attribute sym) const
 
Attribute find (Kind, Attribute sym) const
 
void remove (Kind kind, Attribute sym)
 
void saveAsXml (Stream &stream, bool saveBitmaps=false) const
 
void allNames (Kind kind, AttributeSeq &seq) const
 
bool isStandard () const
 
String preamble () const
 
void setPreamble (const String &str)
 
const Layoutlayout () const
 
void setLayout (const Layout &margins)
 
const TextPaddingtextPadding () const
 
void setTextPadding (const TextPadding &pad)
 
const TitleStyletitleStyle () const
 
void setTitleStyle (const TitleStyle &ts)
 
const PageNumberStylepageNumberStyle () const
 
void setPageNumberStyle (const PageNumberStyle &pns)
 
void setLineCap (TLineCap s)
 
void setLineJoin (TLineJoin s)
 
void setFillRule (TFillRule s)
 
TLineCap lineCap () const
 
TLineJoin lineJoin () const
 
TFillRule fillRule () const
 
String name () const
 
void setName (const String &name)
 
- - - -

-Static Public Member Functions

static StyleSheetstandard ()
 
-

Detailed Description

-

A style sheet maps symbolic names to absolute values.

-

Ipe documents can use symbolic attributes, such as 'normal', 'fat', or 'thin' for line thickness, or 'red', 'navy', 'turquoise' for color. The mapping to an absolute pen thickness or RGB value is performed by a StyleSheet.

-

Style sheets are always included when the document is saved, so that an Ipe document is self-contained.

-

The built-in standard style sheet is minimal, and only needed to provide sane fallbacks for all the "normal" settings.

-

Constructor & Destructor Documentation

- -

◆ StyleSheet()

- -
-
- - - - - - - -
StyleSheet::StyleSheet ()
-
- -

The default constructor creates an empty style sheet.

- -

References ipe::EDefaultCap, ipe::EDefaultJoin, and ipe::EDefaultRule.

- -
-
-

Member Function Documentation

- -

◆ standard()

- -
-
- - - - - -
- - - - - - - -
StyleSheet * StyleSheet::standard ()
-
-static
-
- -

Create standard built-in style sheet.

- -

References ipe::ImlParser::parseStyleSheet().

- -

Referenced by ipe::Document::Document(), and ipe::PdfThumbnail::PdfThumbnail().

- -
-
- -

◆ addSymbol()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::addSymbol (Attribute name,
const Symbolsymbol 
)
-
- -

Add a symbol object.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ findSymbol()

- -
-
- - - - - - - - -
const Symbol * StyleSheet::findSymbol (Attribute attr) const
-
- -

Find a symbol object with given name.

-

If attr is not symbolic or if the symbol doesn't exist, returns 0.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -
-
- -

◆ addGradient()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::addGradient (Attribute name,
const Gradients 
)
-
- -

Add gradient to this style sheet.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ findGradient()

- -
-
- - - - - - - - -
const Gradient * StyleSheet::findGradient (Attribute sym) const
-
- -

Find gradient in style sheet cascade.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -
-
- -

◆ addTiling()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::addTiling (Attribute name,
const Tilings 
)
-
- -

Add tiling to this style sheet.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ findTiling()

- -
-
- - - - - - - - -
const Tiling * StyleSheet::findTiling (Attribute sym) const
-
- -

Find tiling in style sheet cascade.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -
-
- -

◆ addEffect()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::addEffect (Attribute name,
const Effecte 
)
-
-
- -

◆ findEffect()

- -
-
- - - - - - - - -
const Effect * StyleSheet::findEffect (Attribute sym) const
-
-
- -

◆ add()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void StyleSheet::add (Kind kind,
Attribute name,
Attribute value 
)
-
- -

Add an attribute.

-

Does nothing if name is not symbolic.

- -

References ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ has()

- -
-
- - - - - - - - - - - - - - - - - - -
bool StyleSheet::has (Kind kind,
Attribute sym 
) const
-
- -

Check whether symbolic attribute is defined.

-

This method also works for ESymbol, EGradient, ETiling, and EEffect.

-

Returns true if sym is not symbolic.

- -

References ipe::EEffect, ipe::EGradient, ipe::ESymbol, ipe::ETiling, ipe::Attribute::index(), and ipe::Attribute::isSymbolic().

- -
-
- -

◆ find()

- -
-
- - - - - - - - - - - - - - - - - - -
Attribute StyleSheet::find (Kind kind,
Attribute sym 
) const
-
- -

Find a symbolic attribute.

-

If sym is not symbolic, returns sym itself. If sym cannot be found, returns the "undefined" attribute. In all other cases, the returned attribute is guaranteed to be absolute.

- -

References ipe::Attribute::index(), ipe::Attribute::isSymbolic(), and ipe::Attribute::UNDEFINED().

- -
-
- -

◆ remove()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::remove (Kind kind,
Attribute sym 
)
-
- -

Removes definition for a symbolic attribute from this stylesheet.

-

This method also works for ESymbol, EGradient, ETiling, and EEffect. It is okay if the symbolic attribute is not defined in the stylesheet, nothing happens in this case.

- -

References ipe::EEffect, ipe::EGradient, ipe::ESymbol, ipe::ETiling, and ipe::Attribute::index().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::saveAsXml (Streamstream,
bool saveBitmaps = false 
) const
-
-
- -

◆ allNames()

- -
-
- - - - - - - - - - - - - - - - - - -
void StyleSheet::allNames (Kind kind,
AttributeSeqseq 
) const
-
- -

Return all symbolic names in the style sheet cascade.

-

Names are simply appended from top to bottom of the cascade. Names are inserted only once.

- -

References ipe::EEffect, ipe::EGradient, ipe::ESymbol, and ipe::ETiling.

- -
-
- -

◆ isStandard()

- -
-
- - - - - -
- - - - - - - -
bool ipe::StyleSheet::isStandard () const
-
-inline
-
- -

Return whether this is the standard style sheet built into Ipe.

- -
-
- -

◆ preamble()

- -
-
- - - - - -
- - - - - - - -
String ipe::StyleSheet::preamble () const
-
-inline
-
- -

Return Latex preamble.

- -
-
- -

◆ setPreamble()

- -
-
- - - - - -
- - - - - - - - -
void ipe::StyleSheet::setPreamble (const Stringstr)
-
-inline
-
- -

Set LaTeX preamble.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ layout()

- -
-
- - - - - - - -
const Layout * StyleSheet::layout () const
-
- -

Return page layout (or 0 if none defined).

- -
-
- -

◆ setLayout()

- -
-
- - - - - - - - -
void StyleSheet::setLayout (const Layoutmargins)
-
- -

Set page layout.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ textPadding()

- -
-
- - - - - - - -
const TextPadding * StyleSheet::textPadding () const
-
- -

Return text object padding (for bbox computation).

- -
-
- -

◆ setTextPadding()

- -
-
- - - - - - - - -
void StyleSheet::setTextPadding (const TextPaddingpad)
-
- -

Set padding for text object bbox computation.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ titleStyle()

- -
-
- - - - - - - -
const StyleSheet::TitleStyle * StyleSheet::titleStyle () const
-
- -

Return title style (or 0 if none defined).

- -
-
- -

◆ setTitleStyle()

- -
-
- - - - - - - - -
void StyleSheet::setTitleStyle (const TitleStylets)
-
- -

Set style of page titles.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ pageNumberStyle()

- -
-
- - - - - - - -
const StyleSheet::PageNumberStyle * StyleSheet::pageNumberStyle () const
-
- -

Return page number style.

- -
-
- -

◆ setPageNumberStyle()

- -
-
- - - - - - - - -
void StyleSheet::setPageNumberStyle (const PageNumberStylepns)
-
- -

Set style of page numbering.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ setLineCap()

- -
-
- - - - - - - - -
void StyleSheet::setLineCap (TLineCap s)
-
- -

Set line cap.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ setLineJoin()

- -
-
- - - - - - - - -
void StyleSheet::setLineJoin (TLineJoin s)
-
- -

Set line join.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ setFillRule()

- -
-
- - - - - - - - -
void StyleSheet::setFillRule (TFillRule s)
-
- -

Set fill rule.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
- -

◆ lineCap()

- -
-
- - - - - -
- - - - - - - -
TLineCap ipe::StyleSheet::lineCap () const
-
-inline
-
- -

Return line cap.

- -
-
- -

◆ lineJoin()

- -
-
- - - - - -
- - - - - - - -
TLineJoin ipe::StyleSheet::lineJoin () const
-
-inline
-
- -

Return line join.

- -
-
- -

◆ fillRule()

- -
-
- - - - - -
- - - - - - - -
TFillRule ipe::StyleSheet::fillRule () const
-
-inline
-
- -

Return path fill rule.

- -
-
- -

◆ name()

- -
-
- - - - - -
- - - - - - - -
String ipe::StyleSheet::name () const
-
-inline
-
- -

Return name of style sheet.

- -
-
- -

◆ setName()

- -
-
- - - - - -
- - - - - - - - -
void ipe::StyleSheet::setName (const Stringname)
-
-inline
-
- -

Set name of style sheet.

- -

Referenced by ipe::ImlParser::parseStyle().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_style_sheet-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_style_sheet-members.html --- ipe-7.2.20/build/doc/classipe_1_1_style_sheet-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_style_sheet-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,88 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::StyleSheet Member List
-
-
- -

This is the complete list of members for ipe::StyleSheet, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add(Kind kind, Attribute name, Attribute value)ipe::StyleSheet
addEffect(Attribute name, const Effect &e)ipe::StyleSheet
addGradient(Attribute name, const Gradient &s)ipe::StyleSheet
addSymbol(Attribute name, const Symbol &symbol)ipe::StyleSheet
addTiling(Attribute name, const Tiling &s)ipe::StyleSheet
allNames(Kind kind, AttributeSeq &seq) constipe::StyleSheet
fillRule() constipe::StyleSheetinline
find(Kind, Attribute sym) constipe::StyleSheet
findEffect(Attribute sym) constipe::StyleSheet
findGradient(Attribute sym) constipe::StyleSheet
findSymbol(Attribute sym) constipe::StyleSheet
findTiling(Attribute sym) constipe::StyleSheet
has(Kind kind, Attribute sym) constipe::StyleSheet
isStandard() constipe::StyleSheetinline
layout() constipe::StyleSheet
lineCap() constipe::StyleSheetinline
lineJoin() constipe::StyleSheetinline
name() constipe::StyleSheetinline
pageNumberStyle() constipe::StyleSheet
preamble() constipe::StyleSheetinline
remove(Kind kind, Attribute sym)ipe::StyleSheet
saveAsXml(Stream &stream, bool saveBitmaps=false) constipe::StyleSheet
setFillRule(TFillRule s)ipe::StyleSheet
setLayout(const Layout &margins)ipe::StyleSheet
setLineCap(TLineCap s)ipe::StyleSheet
setLineJoin(TLineJoin s)ipe::StyleSheet
setName(const String &name)ipe::StyleSheetinline
setPageNumberStyle(const PageNumberStyle &pns)ipe::StyleSheet
setPreamble(const String &str)ipe::StyleSheetinline
setTextPadding(const TextPadding &pad)ipe::StyleSheet
setTitleStyle(const TitleStyle &ts)ipe::StyleSheet
standard()ipe::StyleSheetstatic
StyleSheet()ipe::StyleSheet
textPadding() constipe::StyleSheet
titleStyle() constipe::StyleSheet
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_sub_path.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_sub_path.html --- ipe-7.2.20/build/doc/classipe_1_1_sub_path.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_sub_path.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,568 +0,0 @@ - - - - - - - -Ipelib: ipe::SubPath Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -List of all members
-
-
ipe::SubPath Class Referenceabstract
-
-
- -

#include <ipeshape.h>

- -

Inherited by ipe::ClosedSpline, ipe::Curve, and ipe::Ellipse.

- - - - -

-Public Types

enum  Type { ECurve, -EEllipse, -EClosedSpline - }
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual ~SubPath ()=0
 
virtual Type type () const =0
 
virtual bool closed () const
 
virtual const EllipseasEllipse () const
 
virtual const ClosedSplineasClosedSpline () const
 
virtual const CurveasCurve () const
 
virtual void save (Stream &stream) const =0
 
virtual void draw (Painter &painter) const =0
 
virtual void addToBBox (Rect &box, const Matrix &m, bool cp) const =0
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const =0
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const =0
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const =0
 
-

Detailed Description

-

A subpath of a Path.

-

A subpath is either open, or closed. There are two special kinds of closed subpaths, namely ellipses and closed B-splines.

-

Member Enumeration Documentation

- -

◆ Type

- -
-
- - - - -
enum ipe::SubPath::Type
-
- -

The subpath types.

- - - - -
Enumerator
ECurve 
EEllipse 
EClosedSpline 
- -
-
-

Constructor & Destructor Documentation

- -

◆ ~SubPath()

- -
-
- - - - - -
- - - - - - - -
SubPath::~SubPath ()
-
-pure virtual
-
- -

Implementation of pure virtual destructor.

- -

Referenced by ipe::Curve::closingSegment().

- -
-
-

Member Function Documentation

- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
virtual Type ipe::SubPath::type () const
-
-pure virtual
-
- -

Return type of this subpath.

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -

Referenced by ipe::Shape::isSegment().

- -
-
- -

◆ closed()

- -
-
- - - - - -
- - - - - - - -
bool SubPath::closed () const
-
-virtual
-
- -

Is this subpath closed?

-

Default implementation returns true.

- -

Reimplemented in ipe::Curve.

- -

Referenced by ipe::Path::clone(), and ipe::Shape::isSegment().

- -
-
- -

◆ asEllipse()

- -
-
- - - - - -
- - - - - - - -
const Ellipse * SubPath::asEllipse () const
-
-virtual
-
- -

Return this object as an Ellipse, or nullptr if it's not an ellipse.

- -

Reimplemented in ipe::Ellipse.

- -
-
- -

◆ asClosedSpline()

- -
-
- - - - - -
- - - - - - - -
const ClosedSpline * SubPath::asClosedSpline () const
-
-virtual
-
- -

Return this object as an ClosedSpline, or nullptr if it's not a closed spline.

- -

Reimplemented in ipe::ClosedSpline.

- -
-
- -

◆ asCurve()

- -
-
- - - - - -
- - - - - - - -
const Curve * SubPath::asCurve () const
-
-virtual
-
- -

Return this object as an Curve, or else nullptr.

- -

Reimplemented in ipe::Curve.

- -

Referenced by ipe::Path::clone(), ipe::Path::draw(), ipe::Shape::isSegment(), and ipe::Shape::load().

- -
-
- -

◆ save()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::SubPath::save (Streamstream) const
-
-pure virtual
-
- -

Save subpath to XML stream.

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::SubPath::draw (Painterpainter) const
-
-pure virtual
-
- -

Draw subpath (does not call drawPath()).

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::SubPath::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-pure virtual
-
- -

Add subpath to box.

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual double ipe::SubPath::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-pure virtual
-
- -

Return distance from v to subpath transformed by m.

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::SubPath::snapVtx (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound,
bool cp 
) const
-
-pure virtual
-
- -

Snap to vertex.

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -
-
- -

◆ snapBnd()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual void ipe::SubPath::snapBnd (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-pure virtual
-
- -

Snap to boundary of subpath.

- -

Implemented in ipe::Curve, ipe::ClosedSpline, and ipe::Ellipse.

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_sub_path-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_sub_path-members.html --- ipe-7.2.20/build/doc/classipe_1_1_sub_path-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_sub_path-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::SubPath Member List
-
-
- -

This is the complete list of members for ipe::SubPath, including all inherited members.

- - - - - - - - - - - - - - - - - -
addToBBox(Rect &box, const Matrix &m, bool cp) const =0ipe::SubPathpure virtual
asClosedSpline() constipe::SubPathvirtual
asCurve() constipe::SubPathvirtual
asEllipse() constipe::SubPathvirtual
closed() constipe::SubPathvirtual
distance(const Vector &v, const Matrix &m, double bound) const =0ipe::SubPathpure virtual
draw(Painter &painter) const =0ipe::SubPathpure virtual
EClosedSpline enum valueipe::SubPath
ECurve enum valueipe::SubPath
EEllipse enum valueipe::SubPath
save(Stream &stream) const =0ipe::SubPathpure virtual
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const =0ipe::SubPathpure virtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound, bool cp) const =0ipe::SubPathpure virtual
type() const =0ipe::SubPathpure virtual
Type enum nameipe::SubPath
~SubPath()=0ipe::SubPathpure virtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_tell_stream.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tell_stream.html --- ipe-7.2.20/build/doc/classipe_1_1_tell_stream.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tell_stream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,125 +0,0 @@ - - - - - - - -Ipelib: ipe::TellStream Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::TellStream Class Referenceabstract
-
-
- -

#include <ipebase.h>

- -

Inherits ipe::Stream.

- -

Inherited by ipe::FileStream, and ipe::StringStream.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

virtual long tell () const =0
 
- Public Member Functions inherited from ipe::Stream
virtual ~Stream ()
 
virtual void putChar (char ch)=0
 
virtual void close ()
 
virtual void putString (String s)
 
virtual void putCString (const char *s)
 
virtual void putRaw (const char *data, int size)
 
Streamoperator<< (char ch)
 
Streamoperator<< (const String &s)
 
Streamoperator<< (const char *s)
 
Streamoperator<< (int i)
 
Streamoperator<< (double d)
 
void putHexByte (char b)
 
void putXmlString (String s)
 
-

Detailed Description

-

Adds position feedback to IpeStream.

-

Member Function Documentation

- -

◆ tell()

- -
-
- - - - - -
- - - - - - - -
virtual long ipe::TellStream::tell () const
-
-pure virtual
-
- -

Implemented in ipe::FileStream, and ipe::StringStream.

- -
-
-
The documentation for this class was generated from the following file: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_tell_stream-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tell_stream-members.html --- ipe-7.2.20/build/doc/classipe_1_1_tell_stream-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tell_stream-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::TellStream Member List
-
-
- -

This is the complete list of members for ipe::TellStream, including all inherited members.

- - - - - - - - - - - - - - - -
close()ipe::Streamvirtual
operator<<(char ch)ipe::Streaminline
operator<<(const String &s)ipe::Streaminline
operator<<(const char *s)ipe::Streaminline
operator<<(int i)ipe::Stream
operator<<(double d)ipe::Stream
putChar(char ch)=0ipe::Streampure virtual
putCString(const char *s)ipe::Streamvirtual
putHexByte(char b)ipe::Stream
putRaw(const char *data, int size)ipe::Streamvirtual
putString(String s)ipe::Streamvirtual
putXmlString(String s)ipe::Stream
tell() const =0ipe::TellStreampure virtual
~Stream()ipe::Streamvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_text.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_text.html --- ipe-7.2.20/build/doc/classipe_1_1_text.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_text.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1775 +0,0 @@ - - - - - - - -Ipelib: ipe::Text Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Classes | -Public Types | -Public Member Functions | -Static Public Member Functions | -List of all members
-
-
ipe::Text Class Reference
-
-
- -

#include <ipetext.h>

- -

Inherits ipe::Object.

- - - - -

-Classes

struct  XForm
 
- - - - - - -

-Public Types

enum  TextType { ELabel, -EMinipage - }
 
- Public Types inherited from ipe::Object
enum  Type {
-  EGroup, -EPath, -EText, -EImage, -
-  EReference -
- }
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Text ()
 
 Text (const AllAttributes &attr, String data, const Vector &pos, TextType type, double width=10.0)
 
 Text (const Text &rhs)
 
 ~Text ()
 
 Text (const XmlAttributes &attr, String data)
 
virtual Objectclone () const
 
virtual TextasText ()
 
virtual Type type () const
 
virtual void saveAsXml (Stream &stream, String layer) const
 
virtual void draw (Painter &painter) const
 
virtual void drawSimple (Painter &painter) const
 
virtual void accept (Visitor &visitor) const
 
virtual void addToBBox (Rect &box, const Matrix &m, bool) const
 
virtual double distance (const Vector &v, const Matrix &m, double bound) const
 
virtual void snapCtl (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void checkStyle (const Cascade *sheet, AttributeSeq &seq) const
 
virtual bool setAttribute (Property prop, Attribute value)
 
virtual Attribute getAttribute (Property prop) const noexcept
 
Vector align () const
 
TextType textType () const
 
Vector position () const
 
String text () const
 
void setStroke (Attribute stroke)
 
void setOpacity (Attribute opaq)
 
Attribute stroke () const
 
Attribute size () const
 
Attribute style () const
 
Attribute opacity () const
 
bool isMinipage () const
 
void setTextType (TextType type)
 
THorizontalAlignment horizontalAlignment () const
 
TVerticalAlignment verticalAlignment () const
 
void setHorizontalAlignment (THorizontalAlignment align)
 
void setVerticalAlignment (TVerticalAlignment align)
 
double width () const
 
double height () const
 
double depth () const
 
double totalHeight () const
 
void setSize (Attribute size)
 
void setStyle (Attribute style)
 
void setWidth (double width)
 
void setText (String text)
 
void setXForm (XForm *xform) const
 
const XFormgetXForm () const
 
- Public Member Functions inherited from ipe::Object
virtual ~Object ()=0
 
virtual GroupasGroup ()
 
virtual const GroupasGroup () const
 
virtual PathasPath ()
 
virtual ImageasImage ()
 
virtual ReferenceasReference ()
 
virtual TPinned pinned () const
 
void setPinned (TPinned pin)
 
TTransformations transformations () const
 
void setTransformations (TTransformations trans)
 
virtual void setMatrix (const Matrix &matrix)
 
const Matrixmatrix () const
 
virtual void snapVtx (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
virtual void snapBnd (const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const
 
- - - - - - - -

-Static Public Member Functions

static TVerticalAlignment makeVAlign (String str, TVerticalAlignment def)
 
static THorizontalAlignment makeHAlign (String str, THorizontalAlignment def)
 
static void saveAlignment (Stream &stream, THorizontalAlignment h, TVerticalAlignment v)
 
- - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::Object
 Object ()
 
 Object (const AllAttributes &attr)
 
 Object (const Object &rhs)
 
 Object (const XmlAttributes &attr)
 
void saveAttributesAsXml (Stream &stream, String layer) const
 
- Static Protected Member Functions inherited from ipe::Object
static void checkSymbol (Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)
 
- Protected Attributes inherited from ipe::Object
Matrix iMatrix
 
TPinned iPinned: 8
 
TTransformations iTransformations: 8
 
-

Detailed Description

-

The text object.

-

The text object stores a Latex source representation, which needs to be translated into PDF by Pdflatex before it can be saved as PDF.

-

There are two types of text objects: labels and minipages. The textType() method tells you which, or use isMinipage().

-

The dimensions of a text object are given by width(), height(), and depth(). They are recomputed by Ipe when running LaTeX, with the exception of the width for minipage objects (whose width is fixed). Before Latex has been run, the dimensions are not reliable.

-

The position of the reference point relative to the text box is given by verticalAlignment() and horizontalAlignment().

-

The text() must be a legal LaTeX fragment that can be interpreted by LaTeX inside \hbox, possibly using the macros or packages defined in the preamble.

-

Member Enumeration Documentation

- -

◆ TextType

- -
-
- - - - -
enum ipe::Text::TextType
-
- - - -
Enumerator
ELabel 
EMinipage 
- -
-
-

Constructor & Destructor Documentation

- -

◆ Text() [1/4]

- -
-
- - - - - -
- - - - - - - -
Text::Text ()
-
-explicit
-
- -

Construct an empty internal text object.

- -

Referenced by clone().

- -
-
- -

◆ Text() [2/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Text::Text (const AllAttributesattr,
String data,
const Vectorpos,
TextType type,
double width = 10.0 
)
-
-explicit
-
-
- -

◆ Text() [3/4]

- -
-
- - - - - - - - -
Text::Text (const Textrhs)
-
- -

Copy constructor.

- -

References ipe::Text::XForm::iRefCount.

- -
-
- -

◆ ~Text()

- -
-
- - - - - - - -
Text::~Text ()
-
- -

Destructor.

- -

References ipe::Text::XForm::iRefCount.

- -
-
- -

◆ Text() [4/4]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Text::Text (const XmlAttributesattr,
String data 
)
-
-explicit
-
-
-

Member Function Documentation

- -

◆ clone()

- -
-
- - - - - -
- - - - - - - -
Object * Text::clone () const
-
-virtual
-
- -

Clone object.

- -

Implements ipe::Object.

- -

References Text().

- -
-
- -

◆ asText()

- -
-
- - - - - -
- - - - - - - -
Text * Text::asText ()
-
-virtual
-
- -

Return pointer to this object.

- -

Reimplemented from ipe::Object.

- -
-
- -

◆ type()

- -
-
- - - - - -
- - - - - - - -
Object::Type Text::type () const
-
-virtual
-
- -

Implements ipe::Object.

- -

References ipe::Object::EText.

- -

Referenced by setTextType(), and Text().

- -
-
- -

◆ saveAsXml()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Text::saveAsXml (Streamstream,
String layer 
) const
-
-virtual
-
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void Text::draw (Painterpainter) const
-
-virtual
-
-
- -

◆ drawSimple()

- -
-
- - - - - -
- - - - - - - - -
void Text::drawSimple (Painterpainter) const
-
-virtual
-
-
- -

◆ accept()

- -
-
- - - - - -
- - - - - - - - -
void Text::accept (Visitorvisitor) const
-
-virtual
-
- -

Call visitText of visitor.

- -

Implements ipe::Object.

- -

References ipe::Visitor::visitText().

- -

Referenced by ipe::Latex::scanPage().

- -
-
- -

◆ addToBBox()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Text::addToBBox (Rectbox,
const Matrixm,
bool cp 
) const
-
-virtual
-
- -

Extend box to include the object transformed by m.

-

For objects in a page, don't call this directly. The Page caches the bounding box of each object, so it is far more efficient to call Page::bbox.

-

Control points that lie outside the visual object are included if cp is true.

-

If called with an empty box and cp == false, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).

- -

Implements ipe::Object.

- -

References ipe::Rect::addPoint().

- -
-
- -

◆ distance()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
double Text::distance (const Vectorv,
const Matrixm,
double bound 
) const
-
-virtual
-
-

Return distance of transformed object to point v. If larger than bound, can just return bound.

- -

Implements ipe::Object.

- -
-
- -

◆ snapCtl()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Text::snapCtl (const Vectormouse,
const Matrixm,
Vectorpos,
double & bound 
) const
-
-virtual
-
- -

Compute control point snapping position for transformed object.

-

Looks only for positions closer than bound. If successful, modify pos and bound. The default implementation does nothing.

- -

Reimplemented from ipe::Object.

- -

References ipe::Object::matrix().

- -
-
- -

◆ checkStyle()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Text::checkStyle (const Cascadesheet,
AttributeSeqseq 
) const
-
-virtual
-
-
- -

◆ setAttribute()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Text::setAttribute (Property prop,
Attribute value 
)
-
-virtual
-
-
- -

◆ getAttribute()

- -
-
- - - - - -
- - - - - - - - -
Attribute Text::getAttribute (Property prop) const
-
-virtualnoexcept
-
-
- -

◆ align()

- -
-
- - - - - - - -
Vector Text::align () const
-
- -

Return position of reference point in text box coordinate system.

-

Assume a coordinate system where the text box has corners (0,0) and (Width(), TotalHeight()). This function returns the coordinates of the reference point in this coordinate system.

- -

References depth(), ipe::EAlignBaseline, ipe::EAlignBottom, ipe::EAlignHCenter, ipe::EAlignLeft, ipe::EAlignRight, ipe::EAlignTop, ipe::EAlignVCenter, horizontalAlignment(), totalHeight(), verticalAlignment(), width(), ipe::Vector::x, and ipe::Vector::y.

- -

Referenced by checkStyle(), ipe::CairoPainter::doDrawText(), draw(), drawSimple(), setHorizontalAlignment(), and setVerticalAlignment().

- -
-
- -

◆ textType()

- -
-
- - - - - - - -
Text::TextType Text::textType () const
-
- -

Return type of text object.

- -

References ELabel.

- -

Referenced by setWidth().

- -
-
- -

◆ position()

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Text::position () const
-
-inline
-
- -

Return text position.

- -
-
- -

◆ text()

- -
-
- - - - - -
- - - - - - - -
String ipe::Text::text () const
-
-inline
-
-
- -

◆ setStroke()

- -
-
- - - - - - - - -
void Text::setStroke (Attribute stroke)
-
- -

Set stroke color.

- -

References stroke().

- -

Referenced by ipe::Page::applyTitleStyle(), and setAttribute().

- -
-
- -

◆ setOpacity()

- -
-
- - - - - - - - -
void Text::setOpacity (Attribute opaq)
-
- -

Set opacity of the object.

- -

Referenced by setAttribute().

- -
-
- -

◆ stroke()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Text::stroke () const
-
-inline
-
- -

Return stroke color.

- -

Referenced by ipe::Latex::createLatexSource(), getAttribute(), setAttribute(), and setStroke().

- -
-
- -

◆ size()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Text::size () const
-
-inline
-
-
- -

◆ style()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Text::style () const
-
-inline
-
- -

Return Latex style of text object.

- -

Referenced by ipe::Latex::createLatexSource(), getAttribute(), setAttribute(), and setStyle().

- -
-
- -

◆ opacity()

- -
-
- - - - - -
- - - - - - - -
Attribute ipe::Text::opacity () const
-
-inline
-
-
- -

◆ isMinipage()

- -
-
- - - - - -
- - - - - - - -
bool ipe::Text::isMinipage () const
-
-inline
-
- -

Return true if text object is formatted as a minipage.

-

Equivalent to type being EMinipage.

- -

References EMinipage.

- -

Referenced by ipe::Latex::createLatexSource(), getAttribute(), opacity(), saveAsXml(), setAttribute(), setXForm(), and Text().

- -
-
- -

◆ setTextType()

- -
-
- - - - - - - - -
void Text::setTextType (TextType type)
-
- -

Change type.

-

This invalidates (and destroys) the XForm.

- -

References ipe::Attribute::NORMAL(), setXForm(), and type().

- -

Referenced by opacity().

- -
-
- -

◆ horizontalAlignment()

- -
-
- - - - - -
- - - - - - - -
THorizontalAlignment ipe::Text::horizontalAlignment () const
-
-inline
-
- -

Return horizontal alignment of text object.

- -

Referenced by align(), getAttribute(), opacity(), and setAttribute().

- -
-
- -

◆ verticalAlignment()

- -
-
- - - - - -
- - - - - - - -
TVerticalAlignment ipe::Text::verticalAlignment () const
-
-inline
-
- -

Return vertical alignment of text object.

- -

Referenced by align(), getAttribute(), opacity(), and setAttribute().

- -
-
- -

◆ setHorizontalAlignment()

- -
-
- - - - - - - - -
void Text::setHorizontalAlignment (THorizontalAlignment align)
-
- -

Change horizontal alignment (text moves with respect to reference point).

- -

References align().

- -

Referenced by ipe::Page::applyTitleStyle(), and opacity().

- -
-
- -

◆ setVerticalAlignment()

- -
-
- - - - - - - - -
void Text::setVerticalAlignment (TVerticalAlignment align)
-
- -

Change vertical alignment (text moves with respect to reference point).

- -

References align().

- -

Referenced by ipe::Page::applyTitleStyle(), and opacity().

- -
-
- -

◆ makeVAlign()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
TVerticalAlignment Text::makeVAlign (String str,
TVerticalAlignment def 
)
-
-static
-
- -

Return vertical alignment indicated by a name, or else default.

- -

References ipe::EAlignBaseline, ipe::EAlignBottom, ipe::EAlignTop, and ipe::EAlignVCenter.

- -

Referenced by opacity(), ipe::ImlParser::parseStyle(), and Text().

- -
-
- -

◆ makeHAlign()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
THorizontalAlignment Text::makeHAlign (String str,
THorizontalAlignment def 
)
-
-static
-
- -

Return horizontal alignment indicated by a name, or else default.

- -

References ipe::EAlignHCenter, ipe::EAlignLeft, and ipe::EAlignRight.

- -

Referenced by opacity(), ipe::ImlParser::parseStyle(), and Text().

- -
-
- -

◆ saveAlignment()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
void Text::saveAlignment (Streamstream,
THorizontalAlignment h,
TVerticalAlignment v 
)
-
-static
-
-
- -

◆ width()

- -
-
- - - - - -
- - - - - - - -
double ipe::Text::width () const
-
-inline
-
-
- -

◆ height()

- -
-
- - - - - -
- - - - - - - -
double ipe::Text::height () const
-
-inline
-
- -

Return height of text object (from baseline to top).

- -

Referenced by opacity().

- -
-
- -

◆ depth()

- -
-
- - - - - -
- - - - - - - -
double ipe::Text::depth () const
-
-inline
-
- -

Return depth of text object.

- -

References ipe::Text::XForm::iDepth.

- -

Referenced by align(), and opacity().

- -
-
- -

◆ totalHeight()

- -
-
- - - - - -
- - - - - - - -
double ipe::Text::totalHeight () const
-
-inline
-
- -

Return height + depth of text object.

- -

References ipe::Text::XForm::iDepth.

- -

Referenced by align(), checkStyle(), ipe::BBoxPainter::doDrawText(), ipe::CairoPainter::doDrawText(), drawSimple(), and opacity().

- -
-
- -

◆ setSize()

- -
-
- - - - - - - - -
void Text::setSize (Attribute size)
-
- -

Set font size of text.

-

This invalidates (and destroys) the XForm.

- -

References setXForm(), and size().

- -

Referenced by ipe::Page::applyTitleStyle(), opacity(), and setAttribute().

- -
-
- -

◆ setStyle()

- -
-
- - - - - - - - -
void Text::setStyle (Attribute style)
-
- -

Set Latex style of text.

-

This invalidates (and destroys) the XForm.

- -

References setXForm(), and style().

- -

Referenced by opacity(), and setAttribute().

- -
-
- -

◆ setWidth()

- -
-
- - - - - - - - -
void Text::setWidth (double width)
-
- -

Set width of paragraph.

-

This invalidates (and destroys) the XForm. The function panics if object is not a (true) minipage.

- -

References EMinipage, setXForm(), textType(), and width().

- -

Referenced by opacity(), and setAttribute().

- -
-
- -

◆ setText()

- -
-
- - - - - - - - -
void Text::setText (String text)
-
- -

Sets the text of the text object.

-

This invalidates (and destroys) the XForm.

- -

References setXForm(), and text().

- -

Referenced by opacity(), and ipe::Page::setTitle().

- -
-
- -

◆ setXForm()

- -
-
- - - - - - - - -
void Text::setXForm (XFormxform) const
-
-
- -

◆ getXForm()

- -
-
- - - - - -
- - - - - - - -
const Text::XForm * ipe::Text::getXForm () const
-
-inline
-
- -

Return the PDF representation of this text object.

-

If Pdflatex has not been run yet, returns 0.

- -

Referenced by ipe::Latex::createLatexSource(), ipe::PdfPainter::doDrawText(), and ipe::CairoPainter::doDrawText().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_text-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_text-members.html --- ipe-7.2.20/build/doc/classipe_1_1_text-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_text-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,132 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Text Member List
-
-
- -

This is the complete list of members for ipe::Text, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept(Visitor &visitor) constipe::Textvirtual
addToBBox(Rect &box, const Matrix &m, bool) constipe::Textvirtual
align() constipe::Text
asGroup()ipe::Objectvirtual
asGroup() constipe::Objectvirtual
asImage()ipe::Objectvirtual
asPath()ipe::Objectvirtual
asReference()ipe::Objectvirtual
asText()ipe::Textvirtual
checkStyle(const Cascade *sheet, AttributeSeq &seq) constipe::Textvirtual
checkSymbol(Kind kind, Attribute attr, const Cascade *sheet, AttributeSeq &seq)ipe::Objectprotectedstatic
clone() constipe::Textvirtual
depth() constipe::Textinline
distance(const Vector &v, const Matrix &m, double bound) constipe::Textvirtual
draw(Painter &painter) constipe::Textvirtual
drawSimple(Painter &painter) constipe::Textvirtual
EGroup enum valueipe::Object
EImage enum valueipe::Object
ELabel enum valueipe::Text
EMinipage enum valueipe::Text
EPath enum valueipe::Object
EReference enum valueipe::Object
EText enum valueipe::Object
getAttribute(Property prop) const noexceptipe::Textvirtual
getXForm() constipe::Textinline
height() constipe::Textinline
horizontalAlignment() constipe::Textinline
iMatrixipe::Objectprotected
iPinnedipe::Objectprotected
isMinipage() constipe::Textinline
iTransformationsipe::Objectprotected
makeHAlign(String str, THorizontalAlignment def)ipe::Textstatic
makeVAlign(String str, TVerticalAlignment def)ipe::Textstatic
matrix() constipe::Objectinline
Object()ipe::Objectexplicitprotected
Object(const AllAttributes &attr)ipe::Objectexplicitprotected
Object(const Object &rhs)ipe::Objectprotected
Object(const XmlAttributes &attr)ipe::Objectexplicitprotected
opacity() constipe::Textinline
pinned() constipe::Objectvirtual
position() constipe::Textinline
saveAlignment(Stream &stream, THorizontalAlignment h, TVerticalAlignment v)ipe::Textstatic
saveAsXml(Stream &stream, String layer) constipe::Textvirtual
saveAttributesAsXml(Stream &stream, String layer) constipe::Objectprotected
setAttribute(Property prop, Attribute value)ipe::Textvirtual
setHorizontalAlignment(THorizontalAlignment align)ipe::Text
setMatrix(const Matrix &matrix)ipe::Objectvirtual
setOpacity(Attribute opaq)ipe::Text
setPinned(TPinned pin)ipe::Object
setSize(Attribute size)ipe::Text
setStroke(Attribute stroke)ipe::Text
setStyle(Attribute style)ipe::Text
setText(String text)ipe::Text
setTextType(TextType type)ipe::Text
setTransformations(TTransformations trans)ipe::Object
setVerticalAlignment(TVerticalAlignment align)ipe::Text
setWidth(double width)ipe::Text
setXForm(XForm *xform) constipe::Text
size() constipe::Textinline
snapBnd(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
snapCtl(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Textvirtual
snapVtx(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) constipe::Objectvirtual
stroke() constipe::Textinline
style() constipe::Textinline
text() constipe::Textinline
Text()ipe::Textexplicit
Text(const AllAttributes &attr, String data, const Vector &pos, TextType type, double width=10.0)ipe::Textexplicit
Text(const Text &rhs)ipe::Text
Text(const XmlAttributes &attr, String data)ipe::Textexplicit
textType() constipe::Text
TextType enum nameipe::Text
totalHeight() constipe::Textinline
transformations() constipe::Objectinline
type() constipe::Textvirtual
Type enum nameipe::Object
verticalAlignment() constipe::Textinline
width() constipe::Textinline
~Object()=0ipe::Objectpure virtual
~Text()ipe::Text
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_thumbnail.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_thumbnail.html --- ipe-7.2.20/build/doc/classipe_1_1_thumbnail.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_thumbnail.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,330 +0,0 @@ - - - - - - - -Ipelib: ipe::Thumbnail Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -List of all members
-
-
ipe::Thumbnail Class Reference
-
-
- -

#include <ipethumbs.h>

- - - - -

-Public Types

enum  TargetFormat { ESVG, -EPNG, -EPS, -EPDF - }
 
- - - - - - - - - - - - - - - -

-Public Member Functions

 Thumbnail (const Document *doc, int width)
 
void setTransparent (bool t)
 
void setNoCrop (bool n)
 
int width () const
 
int height () const
 
Buffer render (const Page *page, int view)
 
bool saveRender (TargetFormat fm, const char *dst, const Page *page, int view, double zoom)
 
-

Member Enumeration Documentation

- -

◆ TargetFormat

- -
-
- - - - - -
Enumerator
ESVG 
EPNG 
EPS 
EPDF 
- -
-
-

Constructor & Destructor Documentation

- -

◆ Thumbnail()

- -
-
- - - - - - - - - - - - - - - - - - -
Thumbnail::Thumbnail (const Documentdoc,
int width 
)
-
-
-

Member Function Documentation

- -

◆ setTransparent()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Thumbnail::setTransparent (bool t)
-
-inline
-
- -
-
- -

◆ setNoCrop()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Thumbnail::setNoCrop (bool n)
-
-inline
-
- -
-
- -

◆ width()

- -
-
- - - - - -
- - - - - - - -
int ipe::Thumbnail::width () const
-
-inline
-
-
- -

◆ height()

- -
-
- - - - - -
- - - - - - - -
int ipe::Thumbnail::height () const
-
-inline
-
-
- -

◆ render()

- -
-
- - - - - - - - - - - - - - - - - - -
Buffer Thumbnail::render (const Pagepage,
int view 
)
-
-
- -

◆ saveRender()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool Thumbnail::saveRender (TargetFormat fm,
const char * dst,
const Pagepage,
int view,
double zoom 
)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_thumbnail-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_thumbnail-members.html --- ipe-7.2.20/build/doc/classipe_1_1_thumbnail-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_thumbnail-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Thumbnail Member List
-
-
- -

This is the complete list of members for ipe::Thumbnail, including all inherited members.

- - - - - - - - - - - - - -
EPDF enum valueipe::Thumbnail
EPNG enum valueipe::Thumbnail
EPS enum valueipe::Thumbnail
ESVG enum valueipe::Thumbnail
height() constipe::Thumbnailinline
render(const Page *page, int view)ipe::Thumbnail
saveRender(TargetFormat fm, const char *dst, const Page *page, int view, double zoom)ipe::Thumbnail
setNoCrop(bool n)ipe::Thumbnailinline
setTransparent(bool t)ipe::Thumbnailinline
TargetFormat enum nameipe::Thumbnail
Thumbnail(const Document *doc, int width)ipe::Thumbnail
width() constipe::Thumbnailinline
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_tool.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tool.html --- ipe-7.2.20/build/doc/classipe_1_1_tool.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tool.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,369 +0,0 @@ - - - - - - - -Ipelib: ipe::Tool Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::Tool Class Referenceabstract
-
-
- -

#include <ipetoolbase.h>

- -

Inherited by ipe::PanTool, ipe::SelectTool, and ipe::TransformTool.

- - - - - - - - - - - - - - -

-Public Member Functions

virtual ~Tool ()
 
virtual void draw (Painter &painter) const =0
 
virtual void mouseButton (int button, bool press)
 
virtual void mouseMove ()
 
virtual bool key (String text, int modifiers)
 
virtual void snapVtx (const Vector &mouse, Vector &pos, double &bound, bool cp) const
 
- - - -

-Protected Member Functions

 Tool (CanvasBase *canvas)
 
- - - -

-Protected Attributes

CanvasBaseiCanvas
 
-

Detailed Description

-

Abstract base class for various canvas tools.

-

The Canvas doesn't know about the various modes for object creation, editing, and moving, but delegates the handling to a subclass of Tool.

-

Constructor & Destructor Documentation

- -

◆ ~Tool()

- -
-
- - - - - -
- - - - - - - -
Tool::~Tool ()
-
-virtual
-
- -

Virtual destructor.

- -
-
- -

◆ Tool()

- -
-
- - - - - -
- - - - - - - - -
Tool::Tool (CanvasBasecanvas)
-
-protected
-
- -

Constructor.

- -
-
-

Member Function Documentation

- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
virtual void ipe::Tool::draw (Painterpainter) const
-
-pure virtual
-
- -

Implemented in ipe::TransformTool, ipe::SelectTool, and ipe::PanTool.

- -
-
- -

◆ mouseButton()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void Tool::mouseButton (int button,
bool press 
)
-
-virtual
-
- -

Called when a mouse button is pressed or released on the canvas.

-

button is 1, 2, or 3, with Shift/Ctrl/Alt/Meta modifiers added in (as defined in CanvasBase::TModifiers. press is true for button-down, and false for button-up.

- -

Reimplemented in ipe::TransformTool, ipe::SelectTool, and ipe::PanTool.

- -

Referenced by Canvas::drawRect(), ipe::Canvas::mouseButton(), and ipe::Canvas::tabletEvent().

- -
-
- -

◆ mouseMove()

- -
-
- - - - - -
- - - - - - - -
void Tool::mouseMove ()
-
-virtual
-
- -

Called when the mouse is moved on the canvas.

- -

Reimplemented in ipe::TransformTool, ipe::SelectTool, and ipe::PanTool.

- -

Referenced by Canvas::mouseMove(), ipe::Canvas::mouseMoveEvent(), and ipe::Canvas::tabletEvent().

- -
-
- -

◆ key()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool Tool::key (String text,
int modifiers 
)
-
-virtual
-
- -

Called when a key is pressed.

-

modifiers are as defined in CanvasBase::TModifiers.

- -

Reimplemented in ipe::SelectTool.

- -

Referenced by Canvas::key(), and ipe::Canvas::keyPressEvent().

- -
-
- -

◆ snapVtx()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Tool::snapVtx (const Vectormouse,
Vectorpos,
double & bound,
bool cp 
) const
-
-virtual
-
- -

Snapping to vertices on object currently being drawn.

- -
-
-

Member Data Documentation

- -

◆ iCanvas

- -
-
- - - - - -
- - - - -
CanvasBase* ipe::Tool::iCanvas
-
-protected
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_tool-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tool-members.html --- ipe-7.2.20/build/doc/classipe_1_1_tool-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_tool-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Tool Member List
-
-
- -

This is the complete list of members for ipe::Tool, including all inherited members.

- - - - - - - - - -
draw(Painter &painter) const =0ipe::Toolpure virtual
iCanvasipe::Toolprotected
key(String text, int modifiers)ipe::Toolvirtual
mouseButton(int button, bool press)ipe::Toolvirtual
mouseMove()ipe::Toolvirtual
snapVtx(const Vector &mouse, Vector &pos, double &bound, bool cp) constipe::Toolvirtual
Tool(CanvasBase *canvas)ipe::Toolprotected
~Tool()ipe::Toolvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_transform_tool.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_transform_tool.html --- ipe-7.2.20/build/doc/classipe_1_1_transform_tool.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_transform_tool.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,665 +0,0 @@ - - - - - - - -Ipelib: ipe::TransformTool Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::TransformTool Class Reference
-
-
- -

#include <ipetool.h>

- -

Inherits ipe::Tool.

- - - - -

-Public Types

enum  TType {
-  ETranslate, -EScale, -EStretch, -ERotate, -
-  EShear -
- }
 
- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 TransformTool (CanvasBase *canvas, Page *page, int view, TType type, bool withShift)
 
bool isValid () const
 
virtual void draw (Painter &painter) const
 
virtual void mouseButton (int button, bool press)
 
virtual void mouseMove ()
 
virtual void report ()
 
- Public Member Functions inherited from ipe::Tool
virtual ~Tool ()
 
virtual bool key (String text, int modifiers)
 
virtual void snapVtx (const Vector &mouse, Vector &pos, double &bound, bool cp) const
 
- - - - - - -

-Protected Member Functions

void compute (const Vector &v)
 
- Protected Member Functions inherited from ipe::Tool
 Tool (CanvasBase *canvas)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Attributes

PageiPage
 
int iView
 
TType iType
 
bool iWithShift
 
bool iOnlyHorizontal
 
bool iOnlyVertical
 
Vector iMouseDown
 
Matrix iTransform
 
Vector iOrigin
 
Angle iDir
 
bool iValid
 
- Protected Attributes inherited from ipe::Tool
CanvasBaseiCanvas
 
-

Detailed Description

-

A tool for transforming the selected objects on the canvas.

-

Supports moving, rotating, scaling, stretching, and shearing.

-

Member Enumeration Documentation

- -

◆ TType

- -
-
- - - - -
enum ipe::TransformTool::TType
-
- - - - - - -
Enumerator
ETranslate 
EScale 
EStretch 
ERotate 
EShear 
- -
-
-

Constructor & Destructor Documentation

- -

◆ TransformTool()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TransformTool::TransformTool (CanvasBasecanvas,
Pagepage,
int view,
TType type,
bool withShift 
)
-
-
-

Member Function Documentation

- -

◆ isValid()

- -
-
- - - - - - - -
bool TransformTool::isValid () const
-
- -

Check that the transformation can be performed.

- -

References iValid.

- -
-
- -

◆ draw()

- -
-
- - - - - -
- - - - - - - - -
void TransformTool::draw (Painterpainter) const
-
-virtual
-
-
- -

◆ mouseButton()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void TransformTool::mouseButton (int button,
bool press 
)
-
-virtual
-
- -

Called when a mouse button is pressed or released on the canvas.

-

button is 1, 2, or 3, with Shift/Ctrl/Alt/Meta modifiers added in (as defined in CanvasBase::TModifiers. press is true for button-down, and false for button-up.

- -

Reimplemented from ipe::Tool.

- -

References compute(), ipe::CanvasBase::finishTool(), ipe::Tool::iCanvas, ipe::CanvasBase::pos(), and report().

- -
-
- -

◆ mouseMove()

- -
-
- - - - - -
- - - - - - - -
void TransformTool::mouseMove ()
-
-virtual
-
- -

Called when the mouse is moved on the canvas.

- -

Reimplemented from ipe::Tool.

- -

References compute(), ipe::Tool::iCanvas, ipe::CanvasBase::pos(), and ipe::CanvasBase::updateTool().

- -
-
- -

◆ report()

- -
-
- - - - - -
- - - - - - - -
void TransformTool::report ()
-
-virtual
-
- -

Report the final transformation chosen.

-

The implementation in TransformTool does nothing. Derived classes should reimplement report().

- -

Referenced by mouseButton().

- -
-
- -

◆ compute()

- -
-
- - - - - -
- - - - - - - - -
void TransformTool::compute (const Vectorv)
-
-protected
-
-
-

Member Data Documentation

- -

◆ iPage

- -
-
- - - - - -
- - - - -
Page* ipe::TransformTool::iPage
-
-protected
-
- -

Referenced by draw(), and TransformTool().

- -
-
- -

◆ iView

- -
-
- - - - - -
- - - - -
int ipe::TransformTool::iView
-
-protected
-
- -

Referenced by TransformTool().

- -
-
- -

◆ iType

- -
-
- - - - - -
- - - - -
TType ipe::TransformTool::iType
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iWithShift

- -
-
- - - - - -
- - - - -
bool ipe::TransformTool::iWithShift
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iOnlyHorizontal

- -
-
- - - - - -
- - - - -
bool ipe::TransformTool::iOnlyHorizontal
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iOnlyVertical

- -
-
- - - - - -
- - - - -
bool ipe::TransformTool::iOnlyVertical
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iMouseDown

- -
-
- - - - - -
- - - - -
Vector ipe::TransformTool::iMouseDown
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iTransform

- -
-
- - - - - -
- - - - -
Matrix ipe::TransformTool::iTransform
-
-protected
-
- -

Referenced by compute(), and draw().

- -
-
- -

◆ iOrigin

- -
-
- - - - - -
- - - - -
Vector ipe::TransformTool::iOrigin
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iDir

- -
-
- - - - - -
- - - - -
Angle ipe::TransformTool::iDir
-
-protected
-
- -

Referenced by compute(), and TransformTool().

- -
-
- -

◆ iValid

- -
-
- - - - - -
- - - - -
bool ipe::TransformTool::iValid
-
-protected
-
- -

Referenced by isValid(), and TransformTool().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_transform_tool-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_transform_tool-members.html --- ipe-7.2.20/build/doc/classipe_1_1_transform_tool-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_transform_tool-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,82 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::TransformTool Member List
-
-
- -

This is the complete list of members for ipe::TransformTool, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
compute(const Vector &v)ipe::TransformToolprotected
draw(Painter &painter) constipe::TransformToolvirtual
ERotate enum valueipe::TransformTool
EScale enum valueipe::TransformTool
EShear enum valueipe::TransformTool
EStretch enum valueipe::TransformTool
ETranslate enum valueipe::TransformTool
iCanvasipe::Toolprotected
iDiripe::TransformToolprotected
iMouseDownipe::TransformToolprotected
iOnlyHorizontalipe::TransformToolprotected
iOnlyVerticalipe::TransformToolprotected
iOriginipe::TransformToolprotected
iPageipe::TransformToolprotected
isValid() constipe::TransformTool
iTransformipe::TransformToolprotected
iTypeipe::TransformToolprotected
iValidipe::TransformToolprotected
iViewipe::TransformToolprotected
iWithShiftipe::TransformToolprotected
key(String text, int modifiers)ipe::Toolvirtual
mouseButton(int button, bool press)ipe::TransformToolvirtual
mouseMove()ipe::TransformToolvirtual
report()ipe::TransformToolvirtual
snapVtx(const Vector &mouse, Vector &pos, double &bound, bool cp) constipe::Toolvirtual
Tool(CanvasBase *canvas)ipe::Toolprotected
TransformTool(CanvasBase *canvas, Page *page, int view, TType type, bool withShift)ipe::TransformTool
TType enum nameipe::TransformTool
~Tool()ipe::Toolvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_vector.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_vector.html --- ipe-7.2.20/build/doc/classipe_1_1_vector.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_vector.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,842 +0,0 @@ - - - - - - - -Ipelib: ipe::Vector Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Public Attributes | -Static Public Attributes | -Related Functions | -List of all members
-
-
ipe::Vector Class Reference
-
-
- -

#include <ipegeo.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 Vector ()
 
 Vector (Angle alpha)
 
 Vector (double x0, double y0)
 
double sqLen () const
 
double len () const
 
Angle angle () const
 
Vector normalized () const
 
Vector orthogonal () const
 
double factorize (Vector &unit) const
 
bool snap (const Vector &mouse, Vector &pos, double &bound) const
 
bool operator== (const Vector &rhs) const
 
bool operator!= (const Vector &rhs) const
 
void operator+= (const Vector &rhs)
 
void operator-= (const Vector &rhs)
 
void operator*= (double rhs)
 
Vector operator+ (const Vector &rhs) const
 
Vector operator- (const Vector &rhs) const
 
Vector operator* (double rhs) const
 
Vector operator- () const
 
- - - - - -

-Public Attributes

double x
 
double y
 
- - - -

-Static Public Attributes

static Vector ZERO = Vector(0.0, 0.0)
 
- - - - - - - - -

-Related Functions

(Note that these are not member functions.)

-
Streamoperator<< (Stream &stream, const Vector &rhs)
 
Vector operator* (double lhs, const Vector &rhs)
 
double dot (const Vector &lhs, const Vector &rhs)
 
-

Detailed Description

-

Two-dimensional vector.

-

Unlike some other libraries, I don't make a difference between points and vectors.

-

Constructor & Destructor Documentation

- -

◆ Vector() [1/3]

- -
-
- - - - - -
- - - - - - - -
ipe::Vector::Vector ()
-
-inline
-
- -

Uninitialized vector.

- -

Referenced by ipe::Angle::liesBetween().

- -
-
- -

◆ Vector() [2/3]

- -
-
- - - - - -
- - - - - - - - -
Vector::Vector (Angle alpha)
-
-explicit
-
- -

Construct a unit vector with this direction.

- -
-
- -

◆ Vector() [3/3]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
ipe::Vector::Vector (double x0,
double y0 
)
-
-inlineexplicit
-
- -

Construct a vector.

- -
-
-

Member Function Documentation

- -

◆ sqLen()

- -
-
- - - - - -
- - - - - - - -
double ipe::Vector::sqLen () const
-
-inline
-
- -

Return square of Euclidean length.

-

Return square of vector's length.

- -

Referenced by ipe::TransformTool::compute(), ipe::Line::Line(), and ipe::Snap::snap().

- -
-
- -

◆ len()

- -
-
- - - - - - - -
double Vector::len () const
-
- -

Referenced by ipe::Line::distance(), and ipe::Snap::getLine().

- -
-
- -

◆ angle()

- -
-
- - - - - - - -
Angle Vector::angle () const
-
- -

Return angle of the vector (with positive x-direction).

-

The returned angle lies between -pi and +pi. Returns zero for the zero vector.

- -

References ZERO.

- -

Referenced by ipe::TransformTool::compute(), ipe::Arc::distance(), ipe::Snap::getLine(), ipe::Arc::intersect(), and ipe::Snap::setEdge().

- -
-
- -

◆ normalized()

- -
-
- - - - - - - -
Vector Vector::normalized () const
-
- -

Return this vector normalized (with length one).

-

Normalizing the zero vector returns the vector (1,0).

- -

Referenced by ipe::Arc::distance().

- -
-
- -

◆ orthogonal()

- -
-
- - - - - - - -
Vector Vector::orthogonal () const
-
- -

Return this vector turned 90 degrees to the left.

- -
-
- -

◆ factorize()

- -
-
- - - - - - - - -
double Vector::factorize (Vectorunit) const
-
-

Normalizes this vector into unit and returns length. If this is the zero vector, unit is set to (1,0).

- -

Referenced by ipe::Segment::distance(), and ipe::Segment::project().

- -
-
- -

◆ snap()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool Vector::snap (const Vectormouse,
Vectorpos,
double & bound 
) const
-
- -

Snap to nearby vertex.

-

If distance between mouse and this vector is less than bound, set pos to this vector and bound to the distance, and return true.

- -

References ipe::Rect::Rect(), x, and y.

- -

Referenced by ipe::Segment::snap(), ipe::Bezier::snap(), and ipe::CanvasBase::snapToPaperAndFrame().

- -
-
- -

◆ operator==()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Vector::operator== (const Vectorrhs) const
-
-inline
-
- -

Equality.

- -

References x, and y.

- -
-
- -

◆ operator!=()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::Vector::operator!= (const Vectorrhs) const
-
-inline
-
- -

Inequality.

- -

References x, and y.

- -
-
- -

◆ operator+=()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Vector::operator+= (const Vectorrhs)
-
-inline
-
- -

Vector-addition.

- -

References x, and y.

- -
-
- -

◆ operator-=()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Vector::operator-= (const Vectorrhs)
-
-inline
-
- -

Vector-subtraction.

- -

References x, and y.

- -
-
- -

◆ operator*=()

- -
-
- - - - - -
- - - - - - - - -
void ipe::Vector::operator*= (double rhs)
-
-inline
-
- -

Multiply vector by scalar.

- -
-
- -

◆ operator+()

- -
-
- - - - - -
- - - - - - - - -
Vector ipe::Vector::operator+ (const Vectorrhs) const
-
-inline
-
- -

Vector-addition.

- -
-
- -

◆ operator-() [1/2]

- -
-
- - - - - -
- - - - - - - - -
Vector ipe::Vector::operator- (const Vectorrhs) const
-
-inline
-
- -

Vector-subtraction.

- -
-
- -

◆ operator*()

- -
-
- - - - - -
- - - - - - - - -
Vector ipe::Vector::operator* (double rhs) const
-
-inline
-
- -

Vector * scalar.

- -
-
- -

◆ operator-() [2/2]

- -
-
- - - - - -
- - - - - - - -
Vector ipe::Vector::operator- () const
-
-inline
-
- -

Unary minus for Vector.

- -
-
-

Friends And Related Function Documentation

- -

◆ operator<<()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Stream & operator<< (Streamstream,
const Vectorrhs 
)
-
-related
-
- -
-
- -

◆ operator*()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
Vector operator* (double lhs,
const Vectorrhs 
)
-
-related
-
- -

Scalar * vector.

- -

References x, and y.

- -
-
- -

◆ dot()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
double dot (const Vectorlhs,
const Vectorrhs 
)
-
-related
-
- -

Dotproduct of two vectors.

- -

References x, and y.

- -
-
-

Member Data Documentation

- -

◆ ZERO

- -
-
- - - - - -
- - - - -
Vector Vector::ZERO = Vector(0.0, 0.0)
-
-static
-
-
- -

◆ x

- -
-
- - - - -
double ipe::Vector::x
-
-
- -

◆ y

- -
-
- - - - -
double ipe::Vector::y
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_vector-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_vector-members.html --- ipe-7.2.20/build/doc/classipe_1_1_vector-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_vector-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,78 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Vector Member List
-
-
- -

This is the complete list of members for ipe::Vector, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - -
angle() constipe::Vector
dot(const Vector &lhs, const Vector &rhs)ipe::Vectorrelated
factorize(Vector &unit) constipe::Vector
len() constipe::Vector
normalized() constipe::Vector
operator!=(const Vector &rhs) constipe::Vectorinline
operator*(double rhs) constipe::Vectorinline
operator*(double lhs, const Vector &rhs)ipe::Vectorrelated
operator*=(double rhs)ipe::Vectorinline
operator+(const Vector &rhs) constipe::Vectorinline
operator+=(const Vector &rhs)ipe::Vectorinline
operator-(const Vector &rhs) constipe::Vectorinline
operator-() constipe::Vectorinline
operator-=(const Vector &rhs)ipe::Vectorinline
operator<<(Stream &stream, const Vector &rhs)ipe::Vectorrelated
operator==(const Vector &rhs) constipe::Vectorinline
orthogonal() constipe::Vector
snap(const Vector &mouse, Vector &pos, double &bound) constipe::Vector
sqLen() constipe::Vectorinline
Vector()ipe::Vectorinline
Vector(Angle alpha)ipe::Vectorexplicit
Vector(double x0, double y0)ipe::Vectorinlineexplicit
xipe::Vector
yipe::Vector
ZEROipe::Vectorstatic
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_visitor.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_visitor.html --- ipe-7.2.20/build/doc/classipe_1_1_visitor.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_visitor.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,266 +0,0 @@ - - - - - - - -Ipelib: ipe::Visitor Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
ipe::Visitor Class Reference
-
-
- -

#include <ipeobject.h>

- -

Inherited by CollectSegs, ipe::BitmapFinder, and ipe::TextCollectingVisitor.

- - - - - - - - - - - - - - -

-Public Member Functions

virtual ~Visitor ()
 
virtual void visitGroup (const Group *obj)
 
virtual void visitPath (const Path *obj)
 
virtual void visitText (const Text *obj)
 
virtual void visitImage (const Image *obj)
 
virtual void visitReference (const Reference *obj)
 
-

Detailed Description

-

Base class for visitors to Object.

-

Many operations on Ipe Objects are implemented as visitors, all derived from Visitor.

-

The default implementation of each visitXXX member does nothing.

-

Constructor & Destructor Documentation

- -

◆ ~Visitor()

- -
-
- - - - - -
- - - - - - - -
Visitor::~Visitor ()
-
-virtual
-
- -

Pure virtual destructor.

- -

Referenced by ipe::Object::snapBnd().

- -
-
-

Member Function Documentation

- -

◆ visitGroup()

- -
-
- - - - - -
- - - - - - - - -
void Visitor::visitGroup (const Groupobj)
-
-virtual
-
- -

Called on an Group object.

- -

Reimplemented in ipe::BitmapFinder.

- -

Referenced by ipe::Group::accept().

- -
-
- -

◆ visitPath()

- -
-
- - - - - -
- - - - - - - - -
void Visitor::visitPath (const Pathobj)
-
-virtual
-
- -

Called on an Path object.

- -

Referenced by ipe::Path::accept().

- -
-
- -

◆ visitText()

- -
-
- - - - - -
- - - - - - - - -
void Visitor::visitText (const Textobj)
-
-virtual
-
- -

Called on an Text object.

- -

Referenced by ipe::Text::accept().

- -
-
- -

◆ visitImage()

- -
-
- - - - - -
- - - - - - - - -
void Visitor::visitImage (const Imageobj)
-
-virtual
-
- -

Called on an Image object.

- -

Reimplemented in ipe::BitmapFinder.

- -

Referenced by ipe::Image::accept().

- -
-
- -

◆ visitReference()

- -
-
- - - - - -
- - - - - - - - -
void Visitor::visitReference (const Referenceobj)
-
-virtual
-
- -

Called on an Reference object.

- -

Referenced by ipe::Reference::accept().

- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_visitor-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_visitor-members.html --- ipe-7.2.20/build/doc/classipe_1_1_visitor-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_visitor-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::Visitor Member List
-
-
- -

This is the complete list of members for ipe::Visitor, including all inherited members.

- - - - - - - -
visitGroup(const Group *obj)ipe::Visitorvirtual
visitImage(const Image *obj)ipe::Visitorvirtual
visitPath(const Path *obj)ipe::Visitorvirtual
visitReference(const Reference *obj)ipe::Visitorvirtual
visitText(const Text *obj)ipe::Visitorvirtual
~Visitor()ipe::Visitorvirtual
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_xml_attributes.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_attributes.html --- ipe-7.2.20/build/doc/classipe_1_1_xml_attributes.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_attributes.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,375 +0,0 @@ - - - - - - - -Ipelib: ipe::XmlAttributes Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Types | -Public Member Functions | -List of all members
-
-
ipe::XmlAttributes Class Reference
-
-
- -

#include <ipexml.h>

- - - - -

-Public Types

typedef Map::const_iterator const_iterator
 
- - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
 XmlAttributes ()
 
void clear ()
 
String operator[] (String str) const
 
bool has (String str) const
 
bool has (String str, String &val) const
 
void add (String key, String val)
 
void setSlash ()
 
bool slash () const
 
-

Detailed Description

-

Stores attributes of an XML tag.

-

Member Typedef Documentation

- -

◆ const_iterator

- -
-
- - - - -
typedef Map::const_iterator ipe::XmlAttributes::const_iterator
-
- -

Iterator for (key, value) pairs.

- -
-
-

Constructor & Destructor Documentation

- -

◆ XmlAttributes()

- -
-
- - - - - - - -
XmlAttributes::XmlAttributes ()
-
- -

Constructor for an empty collection.

- -

Referenced by end().

- -
-
-

Member Function Documentation

- -

◆ begin()

- -
-
- - - - - -
- - - - - - - -
const_iterator ipe::XmlAttributes::begin () const
-
-inline
-
- -

Return const iterator for first attribute.

- -
-
- -

◆ end()

- -
-
- - - - - -
- - - - - - - -
const_iterator ipe::XmlAttributes::end () const
-
-inline
-
- -

Return const iterator for end of attributes.

- -

References add(), clear(), has(), operator[](), and XmlAttributes().

- -
-
- -

◆ clear()

- -
-
- - - - - - - -
void XmlAttributes::clear ()
-
- -

Remove all attributes.

- -

Referenced by end(), and ipe::XmlParser::parseAttributes().

- -
-
- -

◆ operator[]()

- -
-
- - - - - - - - -
String XmlAttributes::operator[] (String str) const
-
- -

Return attribute with given key.

-

Returns an empty string if no attribute with this key exists.

- -

Referenced by end().

- -
-
- -

◆ has() [1/2]

- -
-
- - - - - - - - -
bool XmlAttributes::has (String str) const
-
-
- -

◆ has() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - -
bool XmlAttributes::has (String str,
Stringval 
) const
-
- -

Check whether attribute exists, set val if so.

- -
-
- -

◆ add()

- -
-
- - - - - - - - - - - - - - - - - - -
void XmlAttributes::add (String key,
String val 
)
-
- -

Add a new attribute.

- -

Referenced by end(), and ipe::XmlParser::parseAttributes().

- -
-
- -

◆ setSlash()

- -
-
- - - - - -
- - - - - - - -
void ipe::XmlAttributes::setSlash ()
-
-inline
-
- -

Set that the tag contains the final /.

- -

Referenced by ipe::XmlParser::parseAttributes().

- -
-
- -

◆ slash()

- -
-
- - - - - -
- - - - - - - -
bool ipe::XmlAttributes::slash () const
-
-inline
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_xml_attributes-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_attributes-members.html --- ipe-7.2.20/build/doc/classipe_1_1_xml_attributes-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_attributes-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::XmlAttributes Member List
-
-
- -

This is the complete list of members for ipe::XmlAttributes, including all inherited members.

- - - - - - - - - - - - -
add(String key, String val)ipe::XmlAttributes
begin() constipe::XmlAttributesinline
clear()ipe::XmlAttributes
const_iterator typedefipe::XmlAttributes
end() constipe::XmlAttributesinline
has(String str) constipe::XmlAttributes
has(String str, String &val) constipe::XmlAttributes
operator[](String str) constipe::XmlAttributes
setSlash()ipe::XmlAttributesinline
slash() constipe::XmlAttributesinline
XmlAttributes()ipe::XmlAttributes
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_xml_parser.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_parser.html --- ipe-7.2.20/build/doc/classipe_1_1_xml_parser.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_parser.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,491 +0,0 @@ - - - - - - - -Ipelib: ipe::XmlParser Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-Public Member Functions | -Protected Member Functions | -Protected Attributes | -List of all members
-
-
ipe::XmlParser Class Reference
-
-
- -

#include <ipexml.h>

- -

Inherited by ipe::ImlParser.

- - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 XmlParser (DataSource &source)
 
virtual ~XmlParser ()
 
int parsePosition () const
 
String parseToTag ()
 
bool parseAttributes (XmlAttributes &attr, bool qm=false)
 
bool parsePCDATA (String tag, String &pcdata)
 
bool isTagChar (int ch)
 
void getChar ()
 
bool eos ()
 
void skipWhitespace ()
 
- - - -

-Protected Member Functions

String parseToTagX ()
 
- - - - - - - - - -

-Protected Attributes

DataSourceiSource
 
String iTopElement
 
int iCh
 
int iPos
 
-

Detailed Description

-

Base class for XML stream parsing.

-

This is the base class for Ipe's XML parser. It only provides some utility functions for parsing tags and PCDATA. Derived classes implement the actual parsing using recursive descent parsers—after experimenting with various schemes for XML parsing, this seems to work best for Ipe.

-

Tag names and attribute names must consist of ASCII letters only. Only entities for '&', '<', and '>' are recognized.

-

Constructor & Destructor Documentation

- -

◆ XmlParser()

- -
-
- - - - - - - - -
XmlParser::XmlParser (DataSourcesource)
-
- -

Construct with a data source.

- -

Referenced by ipe::XmlAttributes::has().

- -
-
- -

◆ ~XmlParser()

- -
-
- - - - - -
- - - - - - - -
XmlParser::~XmlParser ()
-
-virtual
-
- -

Virtual destructor, so one can destroy through pointer.

- -
-
-

Member Function Documentation

- -

◆ parsePosition()

- -
-
- - - - - -
- - - - - - - -
int ipe::XmlParser::parsePosition () const
-
-inline
-
-
- -

◆ parseToTag()

- -
-
- - - - - - - -
String XmlParser::parseToTag ()
-
- -

Parse whitespace and the name of a tag.

-

Like ParseToTagX, but silently skips over all tags whose name starts with "x-"

- -

References ipe::String::size().

- -

Referenced by ipe::ImlParser::parseDocument(), ipe::ImlParser::parseObject(), ipe::ImlParser::parsePage(), ipe::ImlParser::parsePageSelection(), ipe::ImlParser::parseStyle(), ipe::ImlParser::parseStyleSheet(), and ipe::ImlParser::parseView().

- -
-
- -

◆ parseAttributes()

- -
-
- - - - - - - - - - - - - - - - - - -
bool XmlParser::parseAttributes (XmlAttributesattr,
bool qm = false 
)
-
- -

Parse XML attributes.

-

Returns with stream just after >. Caller can check whether the tag ended with a / by checking attr.slash().

-

Set qm to true to allow a question mark just before the >.

- -

References ipe::XmlAttributes::add(), ipe::XmlAttributes::clear(), ipe::String::empty(), and ipe::XmlAttributes::setSlash().

- -

Referenced by ipe::ImlParser::parseBitmap(), ipe::ImlParser::parseDocument(), ipe::ImlParser::parseObject(), ipe::ImlParser::parsePage(), ipe::ImlParser::parsePageSelection(), ipe::ImlParser::parseStyle(), ipe::ImlParser::parseStyleSheet(), and ipe::ImlParser::parseView().

- -
-
- -

◆ parsePCDATA()

- -
-
- - - - - - - - - - - - - - - - - - -
bool XmlParser::parsePCDATA (String tag,
Stringpcdata 
)
-
- -

Parse PCDATA.

-

Checks whether the data is terminated by </tag>, and returns with stream past the >.

- -

References ipe::String::size().

- -

Referenced by ipe::ImlParser::parseBitmap(), ipe::ImlParser::parseDocument(), ipe::ImlParser::parseObject(), ipe::ImlParser::parsePage(), and ipe::ImlParser::parseStyle().

- -
-
- -

◆ isTagChar()

- -
-
- - - - - -
- - - - - - - - -
bool ipe::XmlParser::isTagChar (int ch)
-
-inline
-
- -
-
- -

◆ getChar()

- -
-
- - - - - -
- - - - - - - -
void ipe::XmlParser::getChar ()
-
-inline
-
- -
-
- -

◆ eos()

- -
-
- - - - - -
- - - - - - - -
bool ipe::XmlParser::eos ()
-
-inline
-
- -
-
- -

◆ skipWhitespace()

- -
-
- - - - - - - -
void XmlParser::skipWhitespace ()
-
- -
-
- -

◆ parseToTagX()

- -
-
- - - - - -
- - - - - - - -
String XmlParser::parseToTagX ()
-
-protected
-
- -

Parse whitespace and the name of a tag.

-

If the tag is a closing tag, skips > and returns with stream after that. Otherwise, returns with stream just after the tag name.

-

Comments and <!TAG .. > are skipped silently.

- -
-
-

Member Data Documentation

- -

◆ iSource

- -
-
- - - - - -
- - - - -
DataSource& ipe::XmlParser::iSource
-
-protected
-
- -
-
- -

◆ iTopElement

- -
-
- - - - - -
- - - - -
String ipe::XmlParser::iTopElement
-
-protected
-
- -
-
- -

◆ iCh

- -
-
- - - - - -
- - - - -
int ipe::XmlParser::iCh
-
-protected
-
- -
-
- -

◆ iPos

- -
-
- - - - - -
- - - - -
int ipe::XmlParser::iPos
-
-protected
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/classipe_1_1_xml_parser-members.html ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_parser-members.html --- ipe-7.2.20/build/doc/classipe_1_1_xml_parser-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/classipe_1_1_xml_parser-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipe::XmlParser Member List
-
-
- -

This is the complete list of members for ipe::XmlParser, including all inherited members.

- - - - - - - - - - - - - - - - -
eos()ipe::XmlParserinline
getChar()ipe::XmlParserinline
iChipe::XmlParserprotected
iPosipe::XmlParserprotected
iSourceipe::XmlParserprotected
isTagChar(int ch)ipe::XmlParserinline
iTopElementipe::XmlParserprotected
parseAttributes(XmlAttributes &attr, bool qm=false)ipe::XmlParser
parsePCDATA(String tag, String &pcdata)ipe::XmlParser
parsePosition() constipe::XmlParserinline
parseToTag()ipe::XmlParser
parseToTagX()ipe::XmlParserprotected
skipWhitespace()ipe::XmlParser
XmlParser(DataSource &source)ipe::XmlParser
~XmlParser()ipe::XmlParservirtual
-
- diff -Nru ipe-7.2.20/build/doc/class_pdf_view.html ipe-7.2.23+dfsg1/build/doc/class_pdf_view.html --- ipe-7.2.20/build/doc/class_pdf_view.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/class_pdf_view.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,210 +0,0 @@ - - - - - - - -Ipelib: PdfView Class Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Public Member Functions | -List of all members
-
-
PdfView Class Reference
-
-
- -

#include <ipepdfview_cocoa.h>

- -

Inherits ipe::PdfViewBase.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 PdfView (IpePdfView *view)
 
virtual ~PdfView ()
 
void drawRect (NSRect rect)
 
- Public Member Functions inherited from ipe::PdfViewBase
virtual ~PdfViewBase ()
 
void setPdf (const PdfFile *pdf, Fonts *fonts)
 
void setPage (const PdfDict *page, const Rect &paper)
 
void setBackground (const Color &bg)
 
void setBlackout (bool bo)
 
Vector pan () const
 
double zoom () const
 
Vector center () const
 
int viewWidth () const
 
int viewHeight () const
 
bool blackout () const
 
Vector devToUser (const Vector &arg) const
 
Vector userToDev (const Vector &arg) const
 
void setPan (const Vector &v)
 
void setZoom (double zoom)
 
Matrix canvasTfm () const
 
void updatePdf ()
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Member Functions inherited from ipe::PdfViewBase
 PdfViewBase ()
 
void drawPaper (cairo_t *cc)
 
void refreshSurface ()
 
- Protected Attributes inherited from ipe::PdfViewBase
double iWidth
 
double iHeight
 
double iBWidth
 
double iBHeight
 
Vector iPan
 
double iZoom
 
Color iBackground
 
bool iBlackout
 
bool iRepaint
 
cairo_surface_t * iSurface
 
std::unique_ptr< CascadeiCascade
 
const PdfDictiPage
 
Rect iPaperBox
 
const PdfDictiStream
 
const PdfFileiPdf
 
FontsiFonts
 
-

Constructor & Destructor Documentation

- -

◆ PdfView()

- -
-
- - - - - - - - -
PdfView::PdfView (IpePdfView * view)
-
- -
-
- -

◆ ~PdfView()

- -
-
- - - - - -
- - - - - - - -
PdfView::~PdfView ()
-
-virtual
-
- -
-
-

Member Function Documentation

- -

◆ drawRect()

- -
-
- - - - - - - - -
void PdfView::drawRect (NSRect rect)
-
-
-
The documentation for this class was generated from the following files: -
-
- diff -Nru ipe-7.2.20/build/doc/class_pdf_view-members.html ipe-7.2.23+dfsg1/build/doc/class_pdf_view-members.html --- ipe-7.2.20/build/doc/class_pdf_view-members.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/class_pdf_view-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,88 +0,0 @@ - - - - - - - -Ipelib: Member List - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
PdfView Member List
-
-
- -

This is the complete list of members for PdfView, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
blackout() constipe::PdfViewBaseinline
canvasTfm() constipe::PdfViewBase
center() constipe::PdfViewBaseinline
devToUser(const Vector &arg) constipe::PdfViewBase
drawPaper(cairo_t *cc)ipe::PdfViewBaseprotected
drawRect(NSRect rect)PdfView
iBackgroundipe::PdfViewBaseprotected
iBHeightipe::PdfViewBaseprotected
iBlackoutipe::PdfViewBaseprotected
iBWidthipe::PdfViewBaseprotected
iCascadeipe::PdfViewBaseprotected
iFontsipe::PdfViewBaseprotected
iHeightipe::PdfViewBaseprotected
iPageipe::PdfViewBaseprotected
iPanipe::PdfViewBaseprotected
iPaperBoxipe::PdfViewBaseprotected
iPdfipe::PdfViewBaseprotected
iRepaintipe::PdfViewBaseprotected
iStreamipe::PdfViewBaseprotected
iSurfaceipe::PdfViewBaseprotected
iWidthipe::PdfViewBaseprotected
iZoomipe::PdfViewBaseprotected
pan() constipe::PdfViewBaseinline
PdfView(IpePdfView *view)PdfView
PdfViewBase()ipe::PdfViewBaseprotected
refreshSurface()ipe::PdfViewBaseprotected
setBackground(const Color &bg)ipe::PdfViewBase
setBlackout(bool bo)ipe::PdfViewBase
setPage(const PdfDict *page, const Rect &paper)ipe::PdfViewBase
setPan(const Vector &v)ipe::PdfViewBase
setPdf(const PdfFile *pdf, Fonts *fonts)ipe::PdfViewBase
setZoom(double zoom)ipe::PdfViewBase
updatePdf()ipe::PdfViewBase
userToDev(const Vector &arg) constipe::PdfViewBase
viewHeight() constipe::PdfViewBaseinline
viewWidth() constipe::PdfViewBaseinline
zoom() constipe::PdfViewBaseinline
~PdfView()PdfViewvirtual
~PdfViewBase()ipe::PdfViewBasevirtual
-
- Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/closed.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/closed.png differ diff -Nru ipe-7.2.20/build/doc/cpp-ipelets.html ipe-7.2.23+dfsg1/build/doc/cpp-ipelets.html --- ipe-7.2.20/build/doc/cpp-ipelets.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/cpp-ipelets.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,120 +0,0 @@ - - - - - - - -Ipelib: Ipelets written in C++ - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
Ipelets written in C++
-
-
-

As in Ipe 6, it is possible to write ipelets entirely in C++. Different from Ipe 6, however, the labels of the ipelet and its functions must now be specified in a short Lua wrapper with some boilerplate code. This Lua code will invoke your C++ methods.

-

-C++ ipelet framework

-

The C++ code is in a dynamically loaded library (DLL), that you place on Ipe's C++ ipelet path. The DLL has to be written in C++, and must export a function newIpelet that creates an object derived from the class Ipelet (defined in ipelet.h). Here is a minimal ipelet implementation:

-
#include "ipelet.h"
-
-class MyIpelet : public ipe::Ipelet {
-public:
-  virtual int ipelibVersion() const { return IPELIB_VERSION; }
-  virtual bool run(int function, ipe::IpeletData *data, ipe::IpeletHelper *helper);
-};
-
-bool MyIpelet::run(int function, ipe::IpeletData *data, ipe::IpeletHelper *helper)
-{
-  // this is where you do all the work
-}
-
-IPELET_DECLARE ipe::Ipelet *newIpelet()
-{
-  return new MyIpelet;
-}
-

When the ipelet is executed, Ipe hands it a structure with some information about the document, in particular a pointer to the current page. The ipelet can examine the selected objects, and modify the page in any way it wishes. (It is not possible to modify the document outside the current page, as this would interfere with the undo stack). It can also request services from the Ipe application through the IpeletHelper object, for instance to display a message in the status bar, to pop up message boxes and to obtain input from the user.

-

The run method must return true if it modified the document page. This is used to create an item on the undo stack so that this change can be undone. If the run method returns false, then no undo stack item is created. In this case, the ipelet must not modify the page.

-

-The Lua wrapper

-

You need to provide a small Lua wrapper that declares the names of the ipelet and its methods, and that calls your C++ code when an ipelet method is invoked. This wrapper will look as follows:

-
-- Lua wrapper for C++ ipelet "myipelet"
-
-label = "My Ipelet"
-
-about = "This ipelet is for explanation only"
-
--- this variable will store the C++ ipelet when it has been loaded
-ipelet = false
-
-function run(ui, num)
-  if not ipelet then ipelet = assert(loadIpelet("myipelet"))
-  model:runIpelet(ipelet, num) 
-end
-
-methods = { { label = "First function of my ipelet" },
-            { label = "Second function of my ipelet" }
-          }
-

If the ipelet contains only a single method, then the methods table is omitted.

-

The Lua wrapper needs to be placed in Ipe's ipelet directory. When Ipe starts up, it automatically loads all ipelets from this directory. Note that the wrapper above does not immediately load the C++ ipelet (using loadIpelet) when the Lua wrapper is loaded by Ipe, but only when the first method of the ipelet is called. This is considered good style.

-

-Passing parameters from Lua wrapper to the C++ code

-

Your Lua wrapper can include a table with key/value pairs that the C++ code can examine to set parameters or otherwise decide what to do without recompiling the C++ code.

-

The table is passed as an additional argument to model:runIpelet. You can retrieve the value for a given key using the ipe::IpeletHelper.getParameter method.

-

-An example ipelet

-

Kgon is a minimal ipelet that you can use as the basis for your own development. It defines only a single function, and makes no use of the function argument to run. It does show how to pass parameters from the Lua wrapper to the C++ code.

-
// --------------------------------------------------------------------
// Ipelet for creating regular k-gons
// --------------------------------------------------------------------
#include "ipelet.h"
#include "ipepath.h"
#include "ipepage.h"
using namespace ipe;
// --------------------------------------------------------------------
class KGonIpelet : public Ipelet {
public:
virtual int ipelibVersion() const { return IPELIB_VERSION; }
virtual bool run(int, IpeletData *data, IpeletHelper *helper);
};
// --------------------------------------------------------------------
bool KGonIpelet::run(int, IpeletData *data, IpeletHelper *helper)
{
Page *page = data->iPage;
int sel = page->primarySelection();
if (sel < 0) {
helper->message("No selection");
return false;
}
const Path *p = page->object(sel)->asPath();
if (p == 0 || p->shape().countSubPaths() != 1 ||
helper->message("Primary selection is not a circle");
return false;
}
String str = helper->getParameter("n"); // get default value from Lua wrapper
if (!helper->getString("Enter k (number of corners)", str))
return false;
int k = Lex(str).getInt();
if (k < 3 || k > 1000)
return false;
const Ellipse *e = p->shape().subPath(0)->asEllipse();
Matrix m = p->matrix() * e->matrix();
Vector center = m.translation();
Vector v = m * Vector(1,0);
double radius = (v - center).len();
Curve *sp = new Curve;
double alpha = 2.0 * IpePi / k;
Vector v0 = center + radius * Vector(1,0);
for (int i = 1; i < k; ++i) {
Vector v1 = center + radius * Vector(Angle(i * alpha));
sp->appendSegment(v0, v1);
v0 = v1;
}
sp->setClosed(true);
Shape shape;
shape.appendSubPath(sp);
Path *obj = new Path(data->iAttributes, shape);
page->append(ESecondarySelected, data->iLayer, obj);
helper->message("Created regular k-gon");
return true;
}
// --------------------------------------------------------------------
IPELET_DECLARE Ipelet *newIpelet()
{
return new KGonIpelet;
}
// --------------------------------------------------------------------

The Lua wrapper would look like this:

-
----------------------------------------------------------------------
-- kgon ipelet description
----------------------------------------------------------------------
label = "Regular k-gon"
about = [[
Constructs a regular k-gon from a circle.
This ipelet is part of Ipe.
]]
-- this variable will store the C++ ipelet when it has been loaded
ipelet = false
-- parameters for the C++ code
parameters = { n = "7" }
function run(model)
if not ipelet then ipelet = assert(ipe.Ipelet(dllname)) end
model:runIpelet(label, ipelet, 1, parameters)
end
-- define a shortcut for this function
shortcuts.ipelet_1_kgon = "Alt+Ctrl+K"
----------------------------------------------------------------------

-Compiling ipelets on Unix

-

The ipelet must be compiled as a shared library and must be linked with the Ipe library libipe.so. C++ mandates that it must be compiled with the same compiler that was used to compile Ipe. Have a look at the ipelet sources in the Ipe source distribution, and their makefiles for details on compiling them.

-

-Compiling ipelets on Windows

-

The ipelet must be compiled as a DLL and must be linked with the Ipe library ipe.dll. C++ mandates that it must be compiled with the same compiler that was used to compile Ipe. If you use the binary Ipe distribution for Windows, that means you have to use the g++-mingw-w64-x86-64 toolchain. Place the resulting kgon.dll in the ipelets subdirectory, and restart Ipe.

-

-Linking with external libraries

-

If you write an ipelet in C++, you probably want to link with some existing C++ library or framework such as CGAL, and the loader needs to find this framework when it loads the ipelet.

-

On MacOS, you would for instance have a setting like this to tell the loader where to find shared libraries:

$ export DYLD_LIBRARY_PATH=$CGAL_DIR/lib
-

Unfortunately, OSX integrity protection makes it impossible to specify such a setting inside Ipe, in ipe.conf, or in Ipe's Info.plist file.

-

You can set the environment variable when you call Ipe from the command line, but when starting Ipe from the Finder this does not work.

-

One clean solution is to make sure the path of the shared library is hard-coded in the ipelet, using otool and install_name_tool on OSX.

-

A simpler solution is to make a dynamic link like this:

-
$ ln -s $HOME/CGAL/build/4.13R/lib $HOME/lib
-

Since $HOME/lib is searched by dlopen, this will work. You can check which paths are searched when Ipe loads an ipelet by setting this environment variable (and running Ipe from the command line):

-
$ export DYLD_PRINT_LIBRARIES=1
-
-
- diff -Nru ipe-7.2.20/build/doc/dir_7b54d492694b293bf8b54c70d2fe7f56.html ipe-7.2.23+dfsg1/build/doc/dir_7b54d492694b293bf8b54c70d2fe7f56.html --- ipe-7.2.20/build/doc/dir_7b54d492694b293bf8b54c70d2fe7f56.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/dir_7b54d492694b293bf8b54c70d2fe7f56.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - - -Ipelib: ipecairo Directory Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipecairo Directory Reference
-
-
- - - - - - - - - - - - - - -

-Files

file  ipecairopainter.cpp
 
file  ipecairopainter.h
 
file  ipefonts.cpp
 
file  ipefonts.h
 
file  ipethumbs.cpp
 
file  ipethumbs.h
 
-
-
- diff -Nru ipe-7.2.20/build/doc/dir_91a90e6e897462a7bb8a7a0fc103953b.html ipe-7.2.23+dfsg1/build/doc/dir_91a90e6e897462a7bb8a7a0fc103953b.html --- ipe-7.2.20/build/doc/dir_91a90e6e897462a7bb8a7a0fc103953b.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/dir_91a90e6e897462a7bb8a7a0fc103953b.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,106 +0,0 @@ - - - - - - - -Ipelib: ipecanvas Directory Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
ipecanvas Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  ipecanvas.cpp
 
file  ipecanvas.h
 
file  ipecanvas_cocoa.cpp
 
file  ipecanvas_cocoa.h
 
file  ipecanvas_gtk.cpp
 
file  ipecanvas_gtk.h
 
file  ipecanvas_qt.cpp
 
file  ipecanvas_qt.h
 
file  ipecanvas_win.cpp
 
file  ipecanvas_win.h
 
file  ipepdfview.cpp
 
file  ipepdfview.h
 
file  ipepdfview_cocoa.cpp
 
file  ipepdfview_cocoa.h
 
file  ipepdfview_qt.cpp
 
file  ipepdfview_qt.h
 
file  ipepdfview_win.cpp
 
file  ipepdfview_win.h
 
file  ipeselector_cocoa.cpp
 
file  ipeselector_cocoa.h
 
file  ipeselector_gtk.cpp
 
file  ipeselector_qt.cpp
 
file  ipeselector_qt.h
 
file  ipeselector_win.cpp
 
file  ipetool.cpp
 
file  ipetool.h
 
-
-
- diff -Nru ipe-7.2.20/build/doc/dir_d44c64559bbebec7f509842c48db8b23.html ipe-7.2.23+dfsg1/build/doc/dir_d44c64559bbebec7f509842c48db8b23.html --- ipe-7.2.20/build/doc/dir_d44c64559bbebec7f509842c48db8b23.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/dir_d44c64559bbebec7f509842c48db8b23.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,112 +0,0 @@ - - - - - - - -Ipelib: include Directory Reference - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
include Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  ipeattributes.h
 
file  ipebase.h
 
file  ipebitmap.h
 
file  ipedoc.h
 
file  ipefactory.h
 
file  ipegeo.h
 
file  ipegroup.h
 
file  ipeimage.h
 
file  ipeiml.h
 
file  ipelatex.h
 
file  ipelet.h
 
file  ipelib.h
 
file  ipeobject.h
 
file  ipeosx.h
 
file  ipepage.h
 
file  ipepainter.h
 
file  ipepath.h
 
file  ipepdfparser.h
 
file  ipepdfwriter.h
 
file  ipepswriter.h
 
file  ipereference.h
 
file  iperesources.h
 
file  ipeshape.h
 
file  ipesnap.h
 
file  ipestyle.h
 
file  ipetext.h
 
file  ipetoolbase.h
 
file  ipeutils.h
 
file  ipexml.h
 
-
-
- Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/doc.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/doc.png differ diff -Nru ipe-7.2.20/build/doc/doxygen.css ipe-7.2.23+dfsg1/build/doc/doxygen.css --- ipe-7.2.20/build/doc/doxygen.css 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/doxygen.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,1596 +0,0 @@ -/* The standard CSS for doxygen 1.8.13 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 0px; - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtitle { - padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: url('nav_f.png'); - background-repeat: repeat-x; - background-color: #E2E8F2; - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: 400; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -} - -.overload { - font-family: "courier new",courier,monospace; - font-size: 65%; -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -.arrow { - color: #9CAFD4; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #728DC1; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - font-weight: 400; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.plantumlgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - -/* @group Markdown */ - -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - - -/* @end */ Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/doxygen.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/doxygen.png differ diff -Nru ipe-7.2.20/build/doc/example1.svg ipe-7.2.23+dfsg1/build/doc/example1.svg --- ipe-7.2.20/build/doc/example1.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/example1.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/example2.svg ipe-7.2.23+dfsg1/build/doc/example2.svg --- ipe-7.2.20/build/doc/example2.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/example2.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/example3.svg ipe-7.2.23+dfsg1/build/doc/example3.svg --- ipe-7.2.20/build/doc/example3.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/example3.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/example4.svg ipe-7.2.23+dfsg1/build/doc/example4.svg --- ipe-7.2.20/build/doc/example4.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/example4.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/example5.svg ipe-7.2.23+dfsg1/build/doc/example5.svg --- ipe-7.2.20/build/doc/example5.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/example5.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/example6.svg ipe-7.2.23+dfsg1/build/doc/example6.svg --- ipe-7.2.20/build/doc/example6.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/example6.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/filming.html ipe-7.2.23+dfsg1/build/doc/filming.html --- ipe-7.2.20/build/doc/filming.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/filming.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,89 +0,0 @@ - - - - -Ipe Manual -- 8.6 Filming from the canvas - - - - - -
- -
8 Presentations8.5 Prettier bullet points8.6 Filming from the canvas
-
-

8.6 Filming from the canvas

-

Some Ipe users make presentation videos directly from Ipe, as follows: -

-You can now go through your presentation, using the Laser - pointer mode to point to items on your slide, and using ink mode to -write annotations directly onto the slides. -

For this to work well, it is essential that the width of the canvas -remains fixed while you step through your document. Try it before you -start filming! You can change the contents of the "View" and "Page" -buttons by changing the preferences prefs.view_button_prefix and -prefs.page_button_prefix. Furthermore, on MacOS, you can force the -canvas width to remain fixed by making prefs.osx_properties_width -large enough. -

-
Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/folderclosed.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/folderclosed.png differ Binary files /tmp/tmpjauMNk/POXX_N3B2Y/ipe-7.2.20/build/doc/folderopen.png and /tmp/tmpjauMNk/ot6oKuNA_i/ipe-7.2.23+dfsg1/build/doc/folderopen.png differ diff -Nru ipe-7.2.20/build/doc/fontbbox2.svg ipe-7.2.23+dfsg1/build/doc/fontbbox2.svg --- ipe-7.2.20/build/doc/fontbbox2.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/fontbbox2.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/fontbbox.svg ipe-7.2.23+dfsg1/build/doc/fontbbox.svg --- ipe-7.2.20/build/doc/fontbbox.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/fontbbox.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/functions_0x7e.html ipe-7.2.23+dfsg1/build/doc/functions_0x7e.html --- ipe-7.2.20/build/doc/functions_0x7e.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_0x7e.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,161 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- ~ -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_b.html ipe-7.2.23+dfsg1/build/doc/functions_b.html --- ipe-7.2.20/build/doc/functions_b.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_b.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,122 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- b -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_c.html ipe-7.2.23+dfsg1/build/doc/functions_c.html --- ipe-7.2.20/build/doc/functions_c.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_c.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,295 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- c -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_d.html ipe-7.2.23+dfsg1/build/doc/functions_d.html --- ipe-7.2.20/build/doc/functions_d.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_d.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,290 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- d -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_e.html ipe-7.2.23+dfsg1/build/doc/functions_e.html --- ipe-7.2.20/build/doc/functions_e.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_e.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,414 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- e -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_enum.html ipe-7.2.23+dfsg1/build/doc/functions_enum.html --- ipe-7.2.20/build/doc/functions_enum.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_enum.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,86 +0,0 @@ - - - - - - - -Ipelib: Class Members - Enumerations - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
- diff -Nru ipe-7.2.20/build/doc/functions_eval.html ipe-7.2.23+dfsg1/build/doc/functions_eval.html --- ipe-7.2.20/build/doc/functions_eval.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_eval.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,391 +0,0 @@ - - - - - - - -Ipelib: Class Members - Enumerator - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- e -

- - -

- k -

- - -

- m -

- - -

- n -

- - -

- s -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_f.html ipe-7.2.23+dfsg1/build/doc/functions_f.html --- ipe-7.2.20/build/doc/functions_f.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_f.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,173 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- f -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_0x7e.html ipe-7.2.23+dfsg1/build/doc/functions_func_0x7e.html --- ipe-7.2.20/build/doc/functions_func_0x7e.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_0x7e.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,161 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- ~ -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_b.html ipe-7.2.23+dfsg1/build/doc/functions_func_b.html --- ipe-7.2.20/build/doc/functions_func_b.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_b.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,122 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- b -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_c.html ipe-7.2.23+dfsg1/build/doc/functions_func_c.html --- ipe-7.2.20/build/doc/functions_func_c.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_c.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,281 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- c -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_d.html ipe-7.2.23+dfsg1/build/doc/functions_func_d.html --- ipe-7.2.20/build/doc/functions_func_d.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_d.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,286 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- d -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_e.html ipe-7.2.23+dfsg1/build/doc/functions_func_e.html --- ipe-7.2.20/build/doc/functions_func_e.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_e.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,94 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- e -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_f.html ipe-7.2.23+dfsg1/build/doc/functions_func_f.html --- ipe-7.2.20/build/doc/functions_func_f.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_f.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,167 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- f -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_g.html ipe-7.2.23+dfsg1/build/doc/functions_func_g.html --- ipe-7.2.20/build/doc/functions_func_g.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_g.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,150 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- g -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_h.html ipe-7.2.23+dfsg1/build/doc/functions_func_h.html --- ipe-7.2.20/build/doc/functions_func_h.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_h.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- h -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func.html ipe-7.2.23+dfsg1/build/doc/functions_func.html --- ipe-7.2.20/build/doc/functions_func.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,237 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- a -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_i.html ipe-7.2.23+dfsg1/build/doc/functions_func_i.html --- ipe-7.2.20/build/doc/functions_func_i.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_i.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,183 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- i -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_k.html ipe-7.2.23+dfsg1/build/doc/functions_func_k.html --- ipe-7.2.20/build/doc/functions_func_k.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_k.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,55 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- k -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_l.html ipe-7.2.23+dfsg1/build/doc/functions_func_l.html --- ipe-7.2.20/build/doc/functions_func_l.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_l.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,142 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- l -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_m.html ipe-7.2.23+dfsg1/build/doc/functions_func_m.html --- ipe-7.2.20/build/doc/functions_func_m.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_m.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,139 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- m -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_n.html ipe-7.2.23+dfsg1/build/doc/functions_func_n.html --- ipe-7.2.20/build/doc/functions_func_n.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_n.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,83 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- n -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_o.html ipe-7.2.23+dfsg1/build/doc/functions_func_o.html --- ipe-7.2.20/build/doc/functions_func_o.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_o.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,166 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- o -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_p.html ipe-7.2.23+dfsg1/build/doc/functions_func_p.html --- ipe-7.2.20/build/doc/functions_func_p.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_p.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,281 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- p -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_q.html ipe-7.2.23+dfsg1/build/doc/functions_func_q.html --- ipe-7.2.20/build/doc/functions_func_q.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_q.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- q -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_r.html ipe-7.2.23+dfsg1/build/doc/functions_func_r.html --- ipe-7.2.20/build/doc/functions_func_r.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_r.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,146 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- r -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_s.html ipe-7.2.23+dfsg1/build/doc/functions_func_s.html --- ipe-7.2.20/build/doc/functions_func_s.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_s.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,607 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- s -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_t.html ipe-7.2.23+dfsg1/build/doc/functions_func_t.html --- ipe-7.2.20/build/doc/functions_func_t.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_t.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,170 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- t -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_u.html ipe-7.2.23+dfsg1/build/doc/functions_func_u.html --- ipe-7.2.20/build/doc/functions_func_u.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_u.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- u -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_v.html ipe-7.2.23+dfsg1/build/doc/functions_func_v.html --- ipe-7.2.20/build/doc/functions_func_v.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_v.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,99 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- v -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_w.html ipe-7.2.23+dfsg1/build/doc/functions_func_w.html --- ipe-7.2.20/build/doc/functions_func_w.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_w.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,81 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- w -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_x.html ipe-7.2.23+dfsg1/build/doc/functions_func_x.html --- ipe-7.2.20/build/doc/functions_func_x.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_x.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- x -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_func_z.html ipe-7.2.23+dfsg1/build/doc/functions_func_z.html --- ipe-7.2.20/build/doc/functions_func_z.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_func_z.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,53 +0,0 @@ - - - - - - - -Ipelib: Class Members - Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- z -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_g.html ipe-7.2.23+dfsg1/build/doc/functions_g.html --- ipe-7.2.20/build/doc/functions_g.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_g.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,150 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- g -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_h.html ipe-7.2.23+dfsg1/build/doc/functions_h.html --- ipe-7.2.20/build/doc/functions_h.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_h.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- h -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions.html ipe-7.2.23+dfsg1/build/doc/functions.html --- ipe-7.2.20/build/doc/functions.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,241 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- a -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_i.html ipe-7.2.23+dfsg1/build/doc/functions_i.html --- ipe-7.2.20/build/doc/functions_i.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_i.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,689 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- i -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_k.html ipe-7.2.23+dfsg1/build/doc/functions_k.html --- ipe-7.2.20/build/doc/functions_k.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_k.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- k -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_l.html ipe-7.2.23+dfsg1/build/doc/functions_l.html --- ipe-7.2.20/build/doc/functions_l.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_l.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,145 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- l -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_m.html ipe-7.2.23+dfsg1/build/doc/functions_m.html --- ipe-7.2.20/build/doc/functions_m.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_m.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,142 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- m -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_n.html ipe-7.2.23+dfsg1/build/doc/functions_n.html --- ipe-7.2.20/build/doc/functions_n.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_n.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,89 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- n -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_o.html ipe-7.2.23+dfsg1/build/doc/functions_o.html --- ipe-7.2.20/build/doc/functions_o.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_o.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,169 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- o -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_p.html ipe-7.2.23+dfsg1/build/doc/functions_p.html --- ipe-7.2.20/build/doc/functions_p.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_p.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,294 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- p -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_q.html ipe-7.2.23+dfsg1/build/doc/functions_q.html --- ipe-7.2.20/build/doc/functions_q.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_q.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- q -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_rela.html ipe-7.2.23+dfsg1/build/doc/functions_rela.html --- ipe-7.2.20/build/doc/functions_rela.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_rela.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - - -Ipelib: Class Members - Related Functions - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
- diff -Nru ipe-7.2.20/build/doc/functions_r.html ipe-7.2.23+dfsg1/build/doc/functions_r.html --- ipe-7.2.20/build/doc/functions_r.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_r.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,146 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- r -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_s.html ipe-7.2.23+dfsg1/build/doc/functions_s.html --- ipe-7.2.20/build/doc/functions_s.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_s.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,617 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- s -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_t.html ipe-7.2.23+dfsg1/build/doc/functions_t.html --- ipe-7.2.20/build/doc/functions_t.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_t.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,226 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- t -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_type.html ipe-7.2.23+dfsg1/build/doc/functions_type.html --- ipe-7.2.20/build/doc/functions_type.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_type.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ - - - - - - - -Ipelib: Class Members - Typedefs - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
- diff -Nru ipe-7.2.20/build/doc/functions_u.html ipe-7.2.23+dfsg1/build/doc/functions_u.html --- ipe-7.2.20/build/doc/functions_u.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_u.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- u -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_c.html ipe-7.2.23+dfsg1/build/doc/functions_vars_c.html --- ipe-7.2.20/build/doc/functions_vars_c.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_c.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- c -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_d.html ipe-7.2.23+dfsg1/build/doc/functions_vars_d.html --- ipe-7.2.20/build/doc/functions_vars_d.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_d.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- d -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_f.html ipe-7.2.23+dfsg1/build/doc/functions_vars_f.html --- ipe-7.2.20/build/doc/functions_vars_f.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_f.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- f -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars.html ipe-7.2.23+dfsg1/build/doc/functions_vars.html --- ipe-7.2.20/build/doc/functions_vars.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,50 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- a -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_i.html ipe-7.2.23+dfsg1/build/doc/functions_vars_i.html --- ipe-7.2.20/build/doc/functions_vars_i.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_i.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,551 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- i -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_k.html ipe-7.2.23+dfsg1/build/doc/functions_vars_k.html --- ipe-7.2.20/build/doc/functions_vars_k.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_k.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- k -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_n.html ipe-7.2.23+dfsg1/build/doc/functions_vars_n.html --- ipe-7.2.20/build/doc/functions_vars_n.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_n.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- n -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_o.html ipe-7.2.23+dfsg1/build/doc/functions_vars_o.html --- ipe-7.2.20/build/doc/functions_vars_o.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_o.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- o -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_p.html ipe-7.2.23+dfsg1/build/doc/functions_vars_p.html --- ipe-7.2.20/build/doc/functions_vars_p.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_p.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- p -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_s.html ipe-7.2.23+dfsg1/build/doc/functions_vars_s.html --- ipe-7.2.20/build/doc/functions_vars_s.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_s.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- s -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_t.html ipe-7.2.23+dfsg1/build/doc/functions_vars_t.html --- ipe-7.2.20/build/doc/functions_vars_t.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_t.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- t -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_v.html ipe-7.2.23+dfsg1/build/doc/functions_vars_v.html --- ipe-7.2.20/build/doc/functions_vars_v.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_v.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- v -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_w.html ipe-7.2.23+dfsg1/build/doc/functions_vars_w.html --- ipe-7.2.20/build/doc/functions_vars_w.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_w.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- w -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_x.html ipe-7.2.23+dfsg1/build/doc/functions_vars_x.html --- ipe-7.2.20/build/doc/functions_vars_x.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_x.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- x -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_y.html ipe-7.2.23+dfsg1/build/doc/functions_vars_y.html --- ipe-7.2.20/build/doc/functions_vars_y.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_y.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- y -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_vars_z.html ipe-7.2.23+dfsg1/build/doc/functions_vars_z.html --- ipe-7.2.20/build/doc/functions_vars_z.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_vars_z.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - Variables - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-  - -

- z -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_v.html ipe-7.2.23+dfsg1/build/doc/functions_v.html --- ipe-7.2.20/build/doc/functions_v.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_v.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,100 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- v -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_w.html ipe-7.2.23+dfsg1/build/doc/functions_w.html --- ipe-7.2.20/build/doc/functions_w.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_w.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,84 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- w -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_x.html ipe-7.2.23+dfsg1/build/doc/functions_x.html --- ipe-7.2.20/build/doc/functions_x.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_x.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,55 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- x -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_y.html ipe-7.2.23+dfsg1/build/doc/functions_y.html --- ipe-7.2.20/build/doc/functions_y.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_y.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- y -

-
-
- diff -Nru ipe-7.2.20/build/doc/functions_z.html ipe-7.2.23+dfsg1/build/doc/functions_z.html --- ipe-7.2.20/build/doc/functions_z.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/functions_z.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,56 +0,0 @@ - - - - - - - -Ipelib: Class Members - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
Here is a list of all class members with links to the classes they belong to:
- -

- z -

-
-
- diff -Nru ipe-7.2.20/build/doc/group__attr.html ipe-7.2.23+dfsg1/build/doc/group__attr.html --- ipe-7.2.20/build/doc/group__attr.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__attr.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,566 +0,0 @@ - - - - - - - -Ipelib: Ipe Attributes - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes | -Typedefs | -Enumerations | -Variables
-
-
Ipe Attributes
-
-
- - - - - - - - - - - - - - - - - - - - - - -

-Classes

struct  ipe::Tiling
 
struct  ipe::Gradient
 
struct  ipe::Layout
 
struct  ipe::TextPadding
 
class  ipe::Color
 
class  ipe::Effect
 
class  ipe::Repository
 
class  ipe::Attribute
 
class  ipe::AllAttributes
 
class  ipe::Symbol
 
- - - -

-Typedefs

typedef std::vector< Attributeipe::AttributeSeq
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Enumerations

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

-Variables

const char *const ipe::kind_names []
 
const char *const ipe::property_names []
 
-

Detailed Description

-

Attributes for Ipe objects.

-

Ipe objects have attributes such as color, line width, dash pattern, etc. Most attributes can be symbolic (the need to be looked up in a style sheet before rendering) or absolute.

-

The Color class represents absolute values of colors. The class Attribute encapsulates all attributes that can be either symbolic or absolute.

-

The Lua bindings for attributes are described here.

-

Typedef Documentation

- -

◆ AttributeSeq

- -
-
- - - - -
ipe::AttributeSeq
-
- -

A sequence of attribute values.

- -
-
-

Enumeration Type Documentation

- -

◆ Kind

- -
-
- - - - -
enum ipe::Kind
-
- -

The different kinds of attributes.The same symbolic attribute (say "normal") has a different value in the StyleSheet depending on the Kind of attribute. The main use for Kind is as an argument to StyleSheet::find.

-

ESymbol, EGradient, ETiling, and EEffect have their own lookup methods in the StyleSheet. The values are still useful as an argument to allNames(), has(), and findDefinition().

- - - - - - - - - - - - - - - - - -
Enumerator
EPen 
ESymbolSize 
EArrowSize 
EColor 
EDashStyle 
ETextSize 
ETextStretch 
ETextStyle 
ELabelStyle 
EGridSize 
EAngleSize 
EOpacity 
ETiling 
ESymbol 
EGradient 
EEffect 
- -
-
- -

◆ Property

- -
-
- - - - -
enum ipe::Property
-
- -

A Property identifies an attribute that an object can have.The Property identifies a unique attribute of an object, while different Property values can be of the same ipe::Kind. For instance, both EPropStrokeColor and EPropFillColor identify an Attribute of Kind EColor.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enumerator
EPropPen 
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 
- -
-
- -

◆ TPathMode

- -
-
- - - - -
enum ipe::TPathMode
-
- -

Path mode (stroked, filled, or both).

- - - - -
Enumerator
EStrokedOnly 
EStrokedAndFilled 
EFilledOnly 
- -
-
- -

◆ THorizontalAlignment

- -
-
- - - - -
enum ipe::THorizontalAlignment
-
- -

Horizontal alignment.

- - - - -
Enumerator
EAlignLeft 
EAlignRight 
EAlignHCenter 
- -
-
- -

◆ TVerticalAlignment

- -
-
- - - - -
enum ipe::TVerticalAlignment
-
- -

Vertical alignment.

- - - - - -
Enumerator
EAlignBottom 
EAlignBaseline 
EAlignTop 
EAlignVCenter 
- -
-
- -

◆ TSplineType

- -
-
- - - - -
enum ipe::TSplineType
-
- -

Spline type.

- - - - -
Enumerator
EBSpline 
ECardinalSpline 
ESpiroSpline 
- -
-
- -

◆ TLineJoin

- -
-
- - - - -
enum ipe::TLineJoin
-
- -

Line join style.

-

The EDefaultJoin means to use the setting from the style sheet.

- - - - - -
Enumerator
EDefaultJoin 
EMiterJoin 
ERoundJoin 
EBevelJoin 
- -
-
- -

◆ TLineCap

- -
-
- - - - -
enum ipe::TLineCap
-
- -

Line cap style.

-

The EDefaultCap means to use the setting from the style sheet.

- - - - - -
Enumerator
EDefaultCap 
EButtCap 
ERoundCap 
ESquareCap 
- -
-
- -

◆ TFillRule

- -
-
- - - - -
enum ipe::TFillRule
-
- -

Fill rule.

-

The EDefaultRule means to use the setting from the style sheet.

- - - - -
Enumerator
EDefaultRule 
EWindRule 
EEvenOddRule 
- -
-
- -

◆ TPinned

- -
-
- - - - -
enum ipe::TPinned
-
- -

Pinning status of objects.

- - - - - -
Enumerator
ENoPin 
EHorizontalPin 
EVerticalPin 
EFixedPin 
- -
-
- -

◆ TTransformations

- -
-
- - - - -
enum ipe::TTransformations
-
- -

Transformations that are permitted for an object.

- - - - -
Enumerator
ETransformationsTranslations 
ETransformationsRigidMotions 
ETransformationsAffine 
- -
-
- -

◆ TSelect

- -
-
- - - - -
enum ipe::TSelect
-
- -

Selection status of an object on the page.

- - - - -
Enumerator
ENotSelected 
EPrimarySelected 
ESecondarySelected 
- -
-
-

Variable Documentation

- -

◆ kind_names

- -
-
- - - - -
const char *const ipe::kind_names
-
-Initial value:
= {
"pen", "symbolsize", "arrowsize", "color",
"dashstyle", "textsize", "textstretch", "textstyle", "labelstyle",
"gridsize", "anglesize", "opacity", "tiling",
"symbol", "gradient", "effect", nullptr }
-

Referenced by ipe::StyleSheet::saveAsXml(), and ipe::AttributeMap::saveAsXml().

- -
-
- -

◆ property_names

- -
-
- - - - -
const char *const ipe::property_names
-
-Initial value:
= {
"pen", "symbolsize",
"farrow", "rarrow",
"farrowsize", "rarrowsize",
"farrowshape", "rarrowshape",
"stroke", "fill", "markshape",
"pathmode", "dashstyle",
"textsize", "textstyle", "labelstyle",
"opacity", "strokeopacity", "tiling", "gradient",
"horizontalalignment", "verticalalignment",
"linejoin", "linecap", "fillrule",
"pinned", "transformations",
"transformabletext", "splinetype",
"minipage", "width", "decoration", nullptr }
-
-
-
-
- diff -Nru ipe-7.2.20/build/doc/group__base.html ipe-7.2.23+dfsg1/build/doc/group__base.html --- ipe-7.2.20/build/doc/group__base.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__base.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,180 +0,0 @@ - - - - - - - -Ipelib: Ipe Base - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes | -Variables
-
-
Ipe Base
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  ipe::String
 
class  ipe::Fixed
 
class  ipe::Lex
 
class  ipe::Buffer
 
class  ipe::Stream
 
class  ipe::StringStream
 
class  ipe::FileStream
 
class  ipe::DataSource
 
class  ipe::FileSource
 
class  ipe::BufferSource
 
class  ipe::Bitmap
 
class  ipe::Painter
 
class  ipe::PdfObj
 
class  ipe::PdfNull
 
class  ipe::PdfBool
 
class  ipe::PdfNumber
 
class  ipe::PdfString
 
class  ipe::PdfName
 
class  ipe::PdfRef
 
class  ipe::PdfArray
 
class  ipe::PdfDict
 
class  ipe::PdfParser
 
class  ipe::PdfFile
 
class  ipe::Platform
 
class  ipe::PdfResourceBase
 
class  ipe::PdfResources
 
class  ipe::XmlAttributes
 
class  ipe::XmlParser
 
class  ipe::TellStream
 
- - - - - - - -

-Variables

const int ipe::IPELIB_VERSION = 70220
 
const int ipe::OLDEST_FILE_FORMAT = 70000
 
const int ipe::FILE_FORMAT = 70218
 
-

Detailed Description

-

Basic classes for Ipe.

-

Some very basic type definitions, streams, lexical analysis, and XML parsing.

-

All parts of Ipe make use of the STL. The C++ I/O streams library is not used, as Ipelib doesn't do much I/O. Ipe objects support internalization and externalization through an abstract interface based on ipe::Stream's.

-

Clients of Ipelib can use any I/O library that implements this interface. Ipe simply uses cstdio.

-

Variable Documentation

- -

◆ IPELIB_VERSION

- -
-
- - - - -
const int ipe::IPELIB_VERSION = 70220
-
-
- -

◆ OLDEST_FILE_FORMAT

- -
-
- - - - -
const int ipe::OLDEST_FILE_FORMAT = 70000
-
- -

Oldest readable file format version.

- -

Referenced by ipe::ImlParser::parseDocument().

- -
-
- -

◆ FILE_FORMAT

- -
-
- - - - -
const int ipe::FILE_FORMAT = 70218
-
- -

Current file format version.

- -

Referenced by ipe::Document::saveAsXml().

- -
-
-
-
- diff -Nru ipe-7.2.20/build/doc/group__cairo.html ipe-7.2.23+dfsg1/build/doc/group__cairo.html --- ipe-7.2.20/build/doc/group__cairo.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__cairo.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,62 +0,0 @@ - - - - - - - -Ipelib: Ipe Cairo interface - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes
-
-
Ipe Cairo interface
-
-
- - - - - - - - -

-Classes

class  ipe::CairoPainter
 
class  ipe::Fonts
 
class  ipe::Face
 
-

Detailed Description

-

Drawing Ipe objects using the Cairo library.

-

This module contains the classes needed to render Ipe objects using the Cairo and Freetype libraries.

-

These classes are not in Ipelib, but in a separate library libipecairo.

-
-
- diff -Nru ipe-7.2.20/build/doc/group__canvas.html ipe-7.2.23+dfsg1/build/doc/group__canvas.html --- ipe-7.2.20/build/doc/group__canvas.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__canvas.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ - - - - - - - -Ipelib: Ipe canvas - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes
-
-
Ipe canvas
-
-
- - - - - - - - - - - - - - - - -

-Classes

class  ipe::Tool
 
class  ipe::Canvas
 
class  ipe::PdfViewBase
 
class  ipe::PageSelector
 
class  ipe::PanTool
 
class  ipe::SelectTool
 
class  ipe::TransformTool
 
-

Detailed Description

-

A widget (control) that displays an Ipe document page.

-

This module contains the classes needed to display and edit Ipe objects using the selected toolkit.

-

These classes are not in Ipelib, but in a separate library libipecanvas.

-
-
- diff -Nru ipe-7.2.20/build/doc/group__doc.html ipe-7.2.23+dfsg1/build/doc/group__doc.html --- ipe-7.2.20/build/doc/group__doc.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__doc.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ - - - - - - - -Ipelib: Ipe Document - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes
-
-
Ipe Document
-
-
- - - - - - - - - - -

-Classes

class  ipe::Document
 
class  ipe::Page
 
class  ipe::StyleSheet
 
class  ipe::Cascade
 
-

Detailed Description

-

The classes managing an Ipe document.

-

The main class, Document, represents an entire Ipe document, and allows you to load, save, access, and modify such a document.

-

Other classes represent pages, layers, and views of a document. Another important class is the StyleSheet, which maps symbolic attributes to absolute values.

-
-
- diff -Nru ipe-7.2.20/build/doc/group__geo.html ipe-7.2.23+dfsg1/build/doc/group__geo.html --- ipe-7.2.20/build/doc/group__geo.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__geo.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,209 +0,0 @@ - - - - - - - -Ipelib: Ipe Geometry - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes | -Functions
-
-
Ipe Geometry
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  ipe::Angle
 
class  ipe::Vector
 
class  ipe::Rect
 
class  ipe::Line
 
class  ipe::Segment
 
class  ipe::Linear
 
class  ipe::Matrix
 
class  ipe::Bezier
 
class  ipe::Arc
 
class  ipe::CurveSegment
 
class  ipe::Curve
 
class  ipe::SubPath
 
class  ipe::Ellipse
 
class  ipe::ClosedSpline
 
class  ipe::Shape
 
- - - - - - - - - -

-Functions

template<class T >
ipe::max (const T &lhs, const T &rhs)
 
template<class T >
ipe::min (const T &lhs, const T &rhs)
 
double ipe::abs (double val)
 
-

Detailed Description

-

Geometric primitives for Ipe.

-

The IpeGeo module provides a few classes for constant-size geometric primitives, such as vector, axis-aligned rectangles, lines, rays, line segments, etc.

-

Function Documentation

- -

◆ max()

- -
-
-
-template<class T >
- - - - - -
- - - - - - - - - - - - - - - - - - -
T ipe::max (const T & lhs,
const T & rhs 
)
-
-inline
-
-

Maximum of two values.

- -

Referenced by ipe::PdfThumbnail::PdfThumbnail().

- -
-
- -

◆ min()

- -
-
-
-template<class T >
- - - - - -
- - - - - - - - - - - - - - - - - - -
T ipe::min (const T & lhs,
const T & rhs 
)
-
-inline
-
-

Minimum of two values.

- -

Referenced by ipe::ipeDebugBuffer().

- -
-
- -

◆ abs()

- -
-
- - - - - -
- - - - - - - - -
double ipe::abs (double val)
-
-inline
-
-

Absolute value.

- -

Referenced by ipe::TransformTool::compute(), and ipe::TransformTool::TransformTool().

- -
-
-
-
- diff -Nru ipe-7.2.20/build/doc/group__high.html ipe-7.2.23+dfsg1/build/doc/group__high.html --- ipe-7.2.20/build/doc/group__high.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__high.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,79 +0,0 @@ - - - - - - - -Ipelib: Ipe Utilities - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes
-
-
Ipe Utilities
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

class  ipe::ObjectFactory
 
class  ipe::ImlParser
 
class  ipe::Visitor
 
class  ipe::Snap
 
class  ipe::BitmapFinder
 
class  ipe::BBoxPainter
 
class  ipe::A85Stream
 
class  ipe::Base64Stream
 
class  ipe::A85Source
 
class  ipe::Base64Source
 
class  ipe::DeflateStream
 
class  ipe::InflateSource
 
-

Detailed Description

-

Classes to manage Ipe documents and objects.

-

This module contains classes used in the implementation of the Ipe program itself. The only classes from this module you may be interested in are Visitor (which is essential to traverse an Ipe object structure), and perhaps Snap (if you are writing an Ipelet whose behavior depends on the current snap setting in the Ipe program).

-
-
- diff -Nru ipe-7.2.20/build/doc/group__ipelet.html ipe-7.2.23+dfsg1/build/doc/group__ipelet.html --- ipe-7.2.20/build/doc/group__ipelet.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__ipelet.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ - - - - - - - -Ipelib: The Ipelet interface - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes
-
-
The Ipelet interface
-
-
- - - - - - -

-Classes

class  ipe::Ipelet
 
class  ipe::IpeletHelper
 
-

Detailed Description

-

Implementation of Ipe plugins.

-

Ipelets are dynamically loaded plugins for Ipe written in Lua.

-

The Ipelet class makes it easy for ipelet authors to write ipelets in C++ without using Lua's C API. They only need to provide some boilerplate Lua code to define the labels and functions of the ipelet, and use the Lua function "loadIpelet" to load a DLL containing a C++ class derived from Ipelet. The run() method of this class can then be called from Lua. The C++ code has access to services provided by Ipe through an IpeletHelper object.

-

Ipelet derived classes are restricted to operate on the current page of the document, and cannot modify the StyleSheet or other properties of the document. If you wish to write an ipelet doing this, you need to work in Lua (or create a C++ library using the Lua C API).

-
-
- diff -Nru ipe-7.2.20/build/doc/group__obj.html ipe-7.2.23+dfsg1/build/doc/group__obj.html --- ipe-7.2.20/build/doc/group__obj.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/group__obj.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - - -Ipelib: Ipe Objects - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-Classes
-
-
Ipe Objects
-
-
- - - - - - - - - - - - - - -

-Classes

class  ipe::Group
 
class  ipe::Image
 
class  ipe::Object
 
class  ipe::Path
 
class  ipe::Reference
 
class  ipe::Text
 
-

Detailed Description

-

The Ipe object model.

-

This module deals with the actual objects inside an Ipe document. All Ipe objects are derived from Object.

-
-
- diff -Nru ipe-7.2.20/build/doc/hierarchy.html ipe-7.2.23+dfsg1/build/doc/hierarchy.html --- ipe-7.2.20/build/doc/hierarchy.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/hierarchy.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,172 +0,0 @@ - - - - - - - -Ipelib: Class Hierarchy - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
Class Hierarchy
-
-
-
This inheritance list is sorted roughly, but not completely, alphabetically:
-
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Cipe::AllAttributesCollection of all object attributes
 Cipe::AngleA double that's an angle
 Cipe::ArcAn arc of an ellipse
 Cipe::AttributeAn attribute of an Ipe Object
 Cipe::AttributeMap
 Cipe::AttributeMapping
 Cipe::BezierA cubic Bezier spline
 Cipe::BitmapA bitmap
 Cipe::BufferA memory buffer
 Cipe::CanvasBase
 Cipe::CanvasObserver
 Cipe::CascadeA cascade of style sheets
 Cipe::ColorAn absolute RGB color
 Cipe::CurveSegmentA segment on an SubPath
 Cipe::DataSourceInterface for getting data for parsing
 Cipe::DocumentThe model for an Ipe document
 Cipe::EffectEffect that Acrobat Reader will show on page change
 Cipe::FaceA typeface (aka font), actually loaded (from a font file or PDF file)
 Cipe::FixedFixed point number with three (decimal) fractional digits
 Cipe::FontsProvides the fonts used to render text
 Cipe::GradientA gradient pattern
 Cipe::IpeletAbstract base class for Ipelets
 Cipe::IpeletDataInformation provided to an ipelet when it is run
 Cipe::IpeletHelperService provider for Ipelets
 Cipe::LatexObject that converts latex source to PDF format
 Cipe::LayoutLayout of a Page
 Cipe::LexLexical analyser. Seeded with a string
 Cipe::LineA directed line
 Cipe::LinearLinear transformation in the plane (2x2 matrix)
 Cipe::MatrixHomogeneous transformation in the plane
 Cipe::ObjectBase class for all Ipe objects, composite or leaf
 Cipe::ObjectFactoryFactory for Ipe leaf objects
 Cipe::PageAn Ipe document page
 Cipe::StyleSheet::PageNumberStyleHow to show page numbers on the paper
 Cipe::PainterInterface for drawing
 Cipe::PdfFileAll information obtained by parsing a PDF file
 Cipe::PdfObjAbstract base class for PDF objects
 Cipe::PdfParserPDF parser
 Cipe::PdfResourceBaseBase class providing access to PDF objects
 Cipe::PdfThumbnail
 Cipe::PdfTokenA PDF lexical token
 Cipe::PdfViewBaseA widget (control) that displays a PDF document
 Cipe::PdfWriterCreate PDF file
 Cipe::PlatformPlatform dependent methods
 Cipe::PsWriter
 CQListWidget
 CQWidget
 Cipe::RectAxis-parallel rectangle (which can be empty)
 Cipe::RepositoryRepository of strings
 Cipe::SaveFlagFlags for saving Ipe documents (to PDF)
 Cipe::SegmentA directed line segment
 Cipe::ShapeA geometric shape, consisting of several (open or closed) subpaths
 Cipe::SnapPerforms snapping operations, and stores snapping state
 Cipe::SelectTool::SObj
 Cipe::PdfResources::SPageNumber
 Cipe::Document::SPropertiesProperties of a document
 Cipe::Painter::State
 Cipe::Gradient::StopA color stop
 Cipe::StreamAbstract base class for output streams
 Cipe::StringStrings and buffers
 Cipe::CanvasBase::Style
 Cipe::StyleSheetA style sheet maps symbolic names to absolute values
 Cipe::SubPathA subpath of a Path
 Cipe::SymbolA symbol is a named object defined in an ipe::StyleSheet
 Cipe::TextPaddingPadding for text bounding box
 Cipe::Thumbnail
 Cipe::TilingA tiling pattern
 Cipe::StyleSheet::TitleStyleStyle of the title on a page
 Cipe::ToolAbstract base class for various canvas tools
 Cipe::VectorTwo-dimensional vector
 Cipe::VisitorBase class for visitors to Object
 Cipe::Text::XForm
 Cipe::XmlAttributesStores attributes of an XML tag
 Cipe::XmlParserBase class for XML stream parsing
-
-
-
- diff -Nru ipe-7.2.20/build/doc/index.html ipe-7.2.23+dfsg1/build/doc/index.html --- ipe-7.2.20/build/doc/index.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/index.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,80 +0,0 @@ - - - - - - - -Ipelib: The Ipe library documentation - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - -
-
-
-
The Ipe library documentation
-
-
-

The Ipe library ("Ipelib") provides the geometric primitives and implements all the geometric objects that appear in Ipe. Many tasks related to modifying an Ipe document are actually performed by Ipelib. For instance, the ipetoipe program consists of only a few calls to Ipelib.

-

Ipelib can easily be used by C++ programs to read, write, and modify Ipe documents. Compiling Ipelib is easy, it requires only the standard C++ library (including the STL), and the zlib compression library. Nearly all symbols in Ipelib are in the ipe namespace, those that aren't start with the letters "Ipe".

-

Before using Ipelib in your own program, make sure to initialize the library by calling ipe::Platform::initLib().

-

Many of the Ipelib classes are also made available as Lua objects. Programming in Lua describes the Lua bindings to Ipelib, to ipeui, and to the Ipe program itself. The Ipe program itself is mostly written in Lua and uses these Lua bindings.

-

On Unix, all filenames passed to Ipelib are assumed to be in the local system's encoding. On Windows, all filenames passed to Ipelib are assumed to be UTF-8. All Lua strings are assumed to be UTF-8 (filenames are converted by the ipelua bindings).

-

Ipelets explains how to write ipelets, that is, extensions to Ipe. Ipelets are either written in Lua or in C++ (using a small Lua wrapper to describe the ipelet). C++ ipelets have to be linked with Ipelib to access and modify Ipe objects.

-

The classes documented here are implemented in five different libraries:

- -

Here is an annotated list of the modules:

- -

Finally, here is list of the pages describing Lua bindings:

- -
-
- diff -Nru ipe-7.2.20/build/doc/intersection.svg ipe-7.2.23+dfsg1/build/doc/intersection.svg --- ipe-7.2.20/build/doc/intersection.svg 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/intersection.svg 1970-01-01 00:00:00.000000000 +0000 @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/ipe.dtd ipe-7.2.23+dfsg1/build/doc/ipe.dtd --- ipe-7.2.20/build/doc/ipe.dtd 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/ipe.dtd 1970-01-01 00:00:00.000000000 +0000 @@ -1,258 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru ipe-7.2.20/build/doc/ipelets.html ipe-7.2.23+dfsg1/build/doc/ipelets.html --- ipe-7.2.20/build/doc/ipelets.html 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/ipelets.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,55 +0,0 @@ - - - - - - - -Ipelib: Ipelets - - - - - - -
-
- - - - - - -
-
Ipelib -
-
-
- - - - - - - -
-
-
-
Ipelets
-
-
-

Ipe is an extensible drawing editor, and you can write extensions to Ipe that will appear on the Ipe menu and can be called from inside Ipe like other Ipe functions.

-

Ipe extensions are called Ipelets. They are most easily written in the language Lua (www.lua.org), in which also most of Ipe's user interface is written. Lua is a high-level interpreted language, in which interesting classes like vectors, matrices, and Ipe objects are made available. See Programming in Lua for more information about programming with Ipelib in Lua.

-

Ipelets written in Lua explains how to write ipelets in Lua.

-

Often, however, you will already have code that provides some geometric computation in another programming language such as C++. In such a situation you can create Lua bindings for your code and use it from your Lua ipelet. Creating Lua bindings is not documented here, as Ipe also provides an easier solution that will suffice in many cases. You can implement your ipelet entirely in C++, and only need some boilerplate code in Lua that defines the labels and functions inside the ipelet. Ipe will take care of loading and calling your C++ code.

-

Ipelets written in C++ explains how to write ipelets in C++.

-
-
- diff -Nru ipe-7.2.20/build/doc/jquery.js ipe-7.2.23+dfsg1/build/doc/jquery.js --- ipe-7.2.20/build/doc/jquery.js 2020-08-24 02:43:46.000000000 +0000 +++ ipe-7.2.23+dfsg1/build/doc/jquery.js 1970-01-01 00:00:00.000000000 +0000 @@ -1,87 +0,0 @@ -/*! - * jQuery JavaScript Library v1.7.1 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Mon Nov 21 21:11:03 2011 -0500 - */ -(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! - * jQuery UI Widget 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! - * jQuery UI Mouse 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('