diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2006-09-21 22:25:16 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2006-09-21 22:25:16 +0000 |
| commit | 2cc945f5bad59ff19a872970434ccf1515c0aa79 (patch) | |
| tree | 6901d797dac6ba08036125d59f34575ba2997292 /src/sp-namedview.h | |
| parent | 1) Updated da, tr, sl and es translation to versions in patch tracker (diff) | |
| download | inkscape-2cc945f5bad59ff19a872970434ccf1515c0aa79.tar.gz inkscape-2cc945f5bad59ff19a872970434ccf1515c0aa79.zip | |
AXONOMETRIC (3D) GRID! OK, still alot of work to be done. Snapping, diagonal guides, 0-degree angle axes, user-input checking, emphasis lines, optimizing, ... try and find as many bugs as possible :P Or just look at it playing with the angles of the lines, it's pretty cool to look at all by itself :)
(bzr r1716)
Diffstat (limited to 'src/sp-namedview.h')
| -rw-r--r-- | src/sp-namedview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sp-namedview.h b/src/sp-namedview.h index 54291413e..6625fd027 100644 --- a/src/sp-namedview.h +++ b/src/sp-namedview.h @@ -7,6 +7,7 @@ * Authors: * Lauris Kaplinski <lauris@kaplinski.com> * + * Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl> * Copyright (C) Lauris Kaplinski 2000-2002 * * Released under GNU GPL, read the file 'COPYING' for more information @@ -32,6 +33,7 @@ enum { struct SPNamedView : public SPObjectGroup { unsigned int editable : 1; unsigned int showgrid : 1; + unsigned int gridtype : 1; // 0=normal 1=axonometric unsigned int showguides : 1; unsigned int showborder : 1; unsigned int showpageshadow : 1; @@ -51,6 +53,7 @@ struct SPNamedView : public SPObjectGroup { /* Grid data is in points regardless of unit */ NR::Point gridorigin; gdouble gridspacing[2]; + gdouble gridangle[2]; // for axonometric grid gint gridempspacing; SPUnit const *doc_units; @@ -81,6 +84,7 @@ struct SPNamedView : public SPObjectGroup { GSList *guides; GSList *views; GSList *gridviews; + gint viewcount; void show(SPDesktop *desktop); @@ -105,6 +109,7 @@ void sp_namedview_document_from_window(SPDesktop *desktop); void sp_namedview_toggle_guides(SPDocument *doc, Inkscape::XML::Node *repr); void sp_namedview_toggle_grid(SPDocument *doc, Inkscape::XML::Node *repr); +void sp_namedview_set_gridtype(bool type, SPDocument *doc, Inkscape::XML::Node *repr); #endif /* !INKSCAPE_SP_NAMEDVIEW_H */ |
