
papyrus
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Papyrus is a 2D C++ scenegraph (canvas) library similar in concept to Gnome Canvas, and utilizes the cairomm library to perform drawing operations. Papyrus manages a 2D scenegraph (a.k.a. canvas) and uses cairomm (and hence cairo) to perform rendering. The framework has been designed to allow extension of the drawing shapes. Additionally, the library has support for controllers (as in the model-view-controller paradigm) and simple animators.
Screenshot galleries are available at:
http://libpapyrus.sourceforge.net/gallery/papyrus/index.html
http://libpapyrus.sourceforge.net/gallery/papyrusgtk/index.html
The current set of drawables includes:
Some of the canvas objects include:
Arcs
Bezierlines
Beziergons
Circles
PNG Images
Polylines
Polygons
Rectangles
Regular Polygons
Text
Aligned text constrained to a bounding box
Groups
Boxed groups
Boxed groups with handles
... and many others
The papyrusgtk library contains a set of Gtkmm widgets that include:
Viewport - Displays a papyrus canvas similar to Gtk DrawingArea
LineCapComboBox - A graphical drop down combobox for selecting line caps
LineJoinComboBox
LineCapButtonBox - Horizontal buttons with graphical line cap choices
LineJoinButtonBox
LineStyleWidget - Selector for line style with graphical preview
MarkerWidget - Selector for marker styles with graphical preview
... and many others
Please login or register to add a comment or rating