Inkscape
Vector Graphics Editor
|
#include <svg-fonts-dialog.h>
Public Member Functions | |
SvgFontDrawingArea () | |
void | set_text (Glib::ustring) |
void | set_svgfont (SvgFont *) |
void | set_size (int x, int y) |
void | redraw () |
Private Member Functions | |
void | draw_func (Cairo::RefPtr< Cairo::Context > const &cr, int width, int height) |
Private Attributes | |
int | _x = 0 |
int | _y = 0 |
SvgFont * | _svgfont = nullptr |
Glib::ustring | _text |
Definition at line 41 of file svg-fonts-dialog.h.
SvgFontDrawingArea::SvgFontDrawingArea | ( | ) |
Definition at line 47 of file svg-fonts-dialog.cpp.
References draw_func().
|
private |
Definition at line 72 of file svg-fonts-dialog.cpp.
References _svgfont, _text, _y, and SvgFont::get_font_face().
Referenced by SvgFontDrawingArea().
void SvgFontDrawingArea::redraw | ( | ) |
Definition at line 68 of file svg-fonts-dialog.cpp.
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::font_selected(), Inkscape::UI::Dialog::SvgFontsDialog::on_kerning_value_changed(), and set_text().
void SvgFontDrawingArea::set_size | ( | int | x, |
int | y | ||
) |
Definition at line 62 of file svg-fonts-dialog.cpp.
void SvgFontDrawingArea::set_svgfont | ( | SvgFont * | svgfont | ) |
Definition at line 53 of file svg-fonts-dialog.cpp.
References _svgfont.
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::font_selected().
void SvgFontDrawingArea::set_text | ( | Glib::ustring | text | ) |
Definition at line 57 of file svg-fonts-dialog.cpp.
References _text, and redraw().
Referenced by Inkscape::UI::Dialog::SvgFontsDialog::on_kerning_pair_selection_changed(), Inkscape::UI::Dialog::SvgFontsDialog::on_preview_text_changed(), and Inkscape::UI::Dialog::SvgFontsDialog::SvgFontsDialog().
|
private |
Definition at line 52 of file svg-fonts-dialog.h.
Referenced by draw_func(), and set_svgfont().
|
private |
Definition at line 53 of file svg-fonts-dialog.h.
Referenced by draw_func(), and set_text().
|
private |
Definition at line 51 of file svg-fonts-dialog.h.
Referenced by set_size().
|
private |
Definition at line 51 of file svg-fonts-dialog.h.
Referenced by draw_func(), and set_size().