diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-03-30 09:41:29 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2017-03-30 09:41:29 +0000 |
| commit | 3de63445fe736ca7c67cdce96426f6e5e3b8ebf4 (patch) | |
| tree | 2d40dafb380e3879ed5d9d8d4a6cfabd00761fb6 /src/display/canvas-debug.h | |
| parent | White space. (diff) | |
| download | inkscape-3de63445fe736ca7c67cdce96426f6e5e3b8ebf4.tar.gz inkscape-3de63445fe736ca7c67cdce96426f6e5e3b8ebf4.zip | |
Add canvas-rotate for rapid previewing canvas rotation.
Add canvas-debug for study of canvas tiling.
(bzr r15612)
Diffstat (limited to 'src/display/canvas-debug.h')
| -rw-r--r-- | src/display/canvas-debug.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/display/canvas-debug.h b/src/display/canvas-debug.h new file mode 100644 index 000000000..d5a166da9 --- /dev/null +++ b/src/display/canvas-debug.h @@ -0,0 +1,41 @@ +#ifndef SEEN_SP_CANVAS_DEBUG_H +#define SEEN_SP_CANVAS_DEBUG_H + +/* + * A simple surface for debugging the canvas. Shows how tiles are drawn. + * + * Author: + * Tavmjong Bah <tavmjong@free.fr> + * + * Copyright (C) 2017 Tavmjong Bah + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include "sp-canvas-item.h" + +class SPItem; + +#define SP_TYPE_CANVAS_DEBUG (sp_canvas_debug_get_type ()) +#define SP_CANVAS_DEBUG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_CANVAS_DEBUG, SPCanvasDebug)) +#define SP_IS_CANVAS_DEBUG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_CANVAS_DEBUG)) + +struct SPCanvasDebug : public SPCanvasItem { +}; + +GType sp_canvas_debug_get_type (void); + +struct SPCanvasDebugClass : public SPCanvasItemClass{}; + +#endif // SEEN_SP_CANVAS_DEBUG_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : |
