diff options
| author | Joshua L. Blocher <verbalshadow@gmail.com> | 2006-05-17 04:04:50 +0000 |
|---|---|---|
| committer | verbalshadow <verbalshadow@users.sourceforge.net> | 2006-05-17 04:04:50 +0000 |
| commit | 6ae30c84dcc569c271177dca89efa5929e381b82 (patch) | |
| tree | d83571abc4f47fd4d09c9fc16f954e68b187ad97 /src/desktop-style.h | |
| parent | Switched icons to stock generic. (diff) | |
| download | inkscape-6ae30c84dcc569c271177dca89efa5929e381b82.tar.gz inkscape-6ae30c84dcc569c271177dca89efa5929e381b82.zip | |
Fixes calligraphy tool so drawing now uses the the correct opacity.
(bzr r861)
Diffstat (limited to 'src/desktop-style.h')
| -rw-r--r-- | src/desktop-style.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/desktop-style.h b/src/desktop-style.h index 9f080648a..cec36aca5 100644 --- a/src/desktop-style.h +++ b/src/desktop-style.h @@ -6,8 +6,9 @@ * * Authors: * bulia byak + * verbalshadow * - * Copyright (C) 2004 authors + * Copyright (C) 2004, 2006 authors * * Released under GNU GPL, read the file 'COPYING' for more information */ @@ -53,6 +54,7 @@ void sp_desktop_set_color(SPDesktop *desktop, ColorRGBA const &color, bool is_re void sp_desktop_set_style(SPDesktop *desktop, SPCSSAttr *css, bool change = true, bool write_current = true); SPCSSAttr *sp_desktop_get_style(SPDesktop *desktop, bool with_text); guint32 sp_desktop_get_color (SPDesktop *desktop, bool is_fill); +double sp_desktop_get_opacity_tool(SPDesktop *desktop, char const *tool, bool op); guint32 sp_desktop_get_color_tool(SPDesktop *desktop, char const *tool, bool is_fill); double sp_desktop_get_font_size_tool (SPDesktop *desktop); void sp_desktop_apply_style_tool(SPDesktop *desktop, Inkscape::XML::Node *repr, char const *tool, bool with_text); |
