Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
void | canvas_set_display_mode (Inkscape::RenderMode value, InkscapeWindow *win, Glib::RefPtr< Gio::SimpleAction > saction) |
Helper function to set display mode. | |
void | canvas_display_mode (int value, InkscapeWindow *win) |
Set display mode. | |
void | canvas_display_mode_cycle (InkscapeWindow *win) |
Cycle between values. | |
void | canvas_display_mode_toggle (InkscapeWindow *win) |
Toggle between normal and last set other value. | |
void | canvas_split_mode (int value, InkscapeWindow *win) |
Set split mode. | |
void | canvas_color_mode_gray (InkscapeWindow *win) |
Set gray scale for canvas. | |
void | canvas_color_mode_toggle (InkscapeWindow *win) |
Toggle Gray scale on/off. | |
void | canvas_color_manage_toggle (InkscapeWindow *win) |
Toggle Color management on/off. | |
void | add_actions_canvas_mode (InkscapeWindow *win) |
void | apply_preferences_canvas_mode (SPDesktop *dt) |
Variables | |
const Glib::ustring | SECTION = NC_("Action Section", "Canvas Display") |
std::vector< std::vector< Glib::ustring > > | raw_data_canvas_mode |
void add_actions_canvas_mode | ( | InkscapeWindow * | win | ) |
Definition at line 284 of file actions-canvas-mode.cpp.
References canvas_color_manage_toggle(), canvas_color_mode_toggle(), canvas_display_mode(), canvas_display_mode_cycle(), canvas_display_mode_toggle(), canvas_split_mode(), Inkscape::Preferences::get(), InkscapeApplication::instance(), Inkscape::NORMAL, raw_data_canvas_mode, show_output(), and Inkscape::size.
Referenced by InkscapeWindow::InkscapeWindow().
void apply_preferences_canvas_mode | ( | SPDesktop * | dt | ) |
Definition at line 310 of file actions-canvas-mode.cpp.
References Inkscape::Preferences::get(), SPDesktop::getCanvas(), Inkscape::UI::Widget::Canvas::set_cms_active(), SPDesktop::setRenderMode(), and Inkscape::size.
Referenced by SPDesktop::SPDesktop().
void canvas_color_manage_toggle | ( | InkscapeWindow * | win | ) |
Toggle Color management on/off.
Definition at line 231 of file actions-canvas-mode.cpp.
References Inkscape::Preferences::get(), InkscapeWindow::get_desktop(), SPDesktop::getCanvas(), Inkscape::UI::Widget::Canvas::set_cms_active(), Inkscape::Preferences::setBool(), and show_output().
Referenced by add_actions_canvas_mode().
void canvas_color_mode_gray | ( | InkscapeWindow * | win | ) |
Set gray scale for canvas.
Definition at line 181 of file actions-canvas-mode.cpp.
References Inkscape::Preferences::get(), InkscapeWindow::get_desktop(), Inkscape::CanvasItemDrawing::get_drawing(), SPDesktop::getCanvasDrawing(), Inkscape::Preferences::getDoubleLimited(), and Inkscape::Drawing::setGrayscaleMatrix().
Referenced by canvas_color_mode_toggle().
void canvas_color_mode_toggle | ( | InkscapeWindow * | win | ) |
Toggle Gray scale on/off.
Definition at line 200 of file actions-canvas-mode.cpp.
References canvas_color_mode_gray(), InkscapeWindow::get_desktop(), Inkscape::GRAYSCALE, Inkscape::NORMAL, SPDesktop::setColorMode(), and show_output().
Referenced by add_actions_canvas_mode().
void canvas_display_mode | ( | int | value, |
InkscapeWindow * | win | ||
) |
Set display mode.
Definition at line 56 of file actions-canvas-mode.cpp.
References canvas_set_display_mode(), show_output(), and Inkscape::size.
Referenced by add_actions_canvas_mode().
void canvas_display_mode_cycle | ( | InkscapeWindow * | win | ) |
Cycle between values.
Definition at line 82 of file actions-canvas-mode.cpp.
References show_output(), and Inkscape::size.
Referenced by add_actions_canvas_mode().
void canvas_display_mode_toggle | ( | InkscapeWindow * | win | ) |
Toggle between normal and last set other value.
Definition at line 110 of file actions-canvas-mode.cpp.
References Inkscape::NORMAL, Inkscape::OUTLINE, and show_output().
Referenced by add_actions_canvas_mode().
void canvas_set_display_mode | ( | Inkscape::RenderMode | value, |
InkscapeWindow * | win, | ||
Glib::RefPtr< Gio::SimpleAction > | saction | ||
) |
Helper function to set display mode.
Definition at line 40 of file actions-canvas-mode.cpp.
References Inkscape::Preferences::get(), InkscapeWindow::get_desktop(), SPDesktop::setRenderMode(), and Inkscape::size.
Referenced by canvas_display_mode().
void canvas_split_mode | ( | int | value, |
InkscapeWindow * | win | ||
) |
Set split mode.
Definition at line 144 of file actions-canvas-mode.cpp.
References InkscapeWindow::get_desktop(), SPDesktop::getCanvas(), Inkscape::NORMAL, Inkscape::UI::Widget::Canvas::set_split_mode(), show_output(), and Inkscape::size.
Referenced by add_actions_canvas_mode().
std::vector<std::vector<Glib::ustring> > raw_data_canvas_mode |
Definition at line 262 of file actions-canvas-mode.cpp.
Referenced by add_actions_canvas_mode().
const Glib::ustring SECTION = NC_("Action Section", "Canvas Display") |
Definition at line 260 of file actions-canvas-mode.cpp.