Code

Implement cross-architecture print dialog using cairo and PNG backends.
[inkscape.git] / src / ui / widget / rendering-options.h
1 /**
2  * \brief Rendering Options Widget - A container for selecting rendering options
3  *
4  * Author:
5  *   Kees Cook <kees@outflux.net>
6  *
7  * Copyright (C) 2007 Kees Cook
8  * Copyright (C) 2004 Bryce Harrington
9  *
10  * Released under GNU GPL.  Read the file 'COPYING' for more information.
11  */
13 #ifndef INKSCAPE_UI_WIDGET_RENDERING_OPTIONS_H
14 #define INKSCAPE_UI_WIDGET_RENDERING_OPTIONS_H
16 #include "labelled.h"
17 #include "scalar.h"
19 namespace Inkscape {
20 namespace UI {
21 namespace Widget {
23 class RenderingOptions : public Gtk::VBox
24 {
25 public:
26     RenderingOptions();
28     bool as_bitmap();   // should we render as a bitmap?
29     double bitmap_dpi();   // at what DPI should we render the bitmap?
31 protected:
32     // Radio buttons to select desired rendering
33     Gtk::RadioButton    *_radio_cairo;
34     Gtk::RadioButton    *_radio_bitmap;
35     Labelled    _widget_cairo;
36     Labelled    _widget_bitmap;
37     Scalar      _dpi; // DPI of bitmap to render
38 };
40 } // namespace Widget
41 } // namespace UI
42 } // namespace Inkscape
44 #endif // INKSCAPE_UI_WIDGET_RENDERING_OPTIONS_H
46 /* 
47   Local Variables:
48   mode:c++
49   c-file-style:"stroustrup"
50   c-file-offsets:((innamespace . 0)(inline-open . 0))
51   indent-tabs-mode:nil
52   fill-column:99
53   End:
54 */
55 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :