Top |
Functions
void | go_style_apply_theme () |
void | go_style_assign () |
GOStyle * | go_style_dup () |
void | go_style_fill () |
void | go_style_force_auto () |
void | go_style_clear_auto () |
gpointer | go_style_get_editor () |
GOMarker const * | go_style_get_marker () |
gboolean | go_style_is_auto () |
gboolean | go_style_is_different_size () |
gboolean | go_style_is_fill_visible () |
gboolean | go_style_is_line_visible () |
gboolean | go_style_is_marker_visible () |
gboolean | go_style_is_outline_visible () |
GOStyle * | go_style_new () |
void | go_style_populate_editor () |
gboolean | go_style_set_cairo_line () |
void | go_style_set_fill_brightness () |
void | go_style_set_font () |
void | go_style_set_font_desc () |
void | go_style_set_marker () |
void | go_style_set_text_angle () |
Functions
go_style_apply_theme ()
void go_style_apply_theme (GOStyle *dst
,GOStyle const *src
,GOStyleFlag fields
);
Merge the attributes from src
onto the elements of dst
that were not user
assigned (is_auto)
go_style_force_auto ()
void
go_style_force_auto (GOStyle *style
);
Sets all auto fields in style
to TRUE
.
go_style_clear_auto ()
void
go_style_clear_auto (GOStyle *style
);
Sets all auto fields in style
to FALSE
.
go_style_get_editor ()
gpointer go_style_get_editor (GOStyle *style
,GOStyle *default_style
,GOCmdContext *cc
,GObject *object_with_style
);
Builds the widget used to edit the style.
go_style_get_marker ()
GOMarker const *
go_style_get_marker (GOStyle const *style
);
Accessor for style
::marker, without referencing it.
go_style_is_different_size ()
gboolean go_style_is_different_size (GOStyle const *a
,GOStyle const *b
);
go_style_populate_editor ()
void go_style_populate_editor (GOStyle *style
,GOEditor *editor
,GOStyle *default_style
,GOCmdContext *cc
,GObject *object_with_style
,gboolean watch_for_external_change
);
go_style_set_fill_brightness ()
void go_style_set_fill_brightness (GOStyle *style
,double brightness
);
go_style_set_font ()
void go_style_set_font (GOStyle *style
,GOFont const *font
);
Set text font used by the style.
go_style_set_font_desc ()
void go_style_set_font_desc (GOStyle *style
,PangoFontDescription *desc
);
Set text font used by the style.
go_style_set_marker ()
void go_style_set_marker (GOStyle *style
,GOMarker *marker
);
Absorb a reference to marker
and assign it to style
.
Types and Values
enum GOStyleFlag
Gives the meaningful fields in GOStyle
. Anyw combination can be used, except
that GO_STYLE_OUTLINE
and GO_STYLE_OUTLINE
should never coexist.
GOStyleLine
typedef struct { /* <0 == no outline, * =0 == hairline : unscaled, minimum useful (can be bigger than visible) size. * >0 in pts */ double width; GOLineDashType dash_type; gboolean auto_dash; GOColor color; /* color is used as background for compatibility (pattern == 0 means filled with background color) */ GOColor fore; gboolean auto_color; gboolean auto_fore; gboolean auto_width; GOPatternType pattern; cairo_line_cap_t cap; cairo_line_join_t join; double miter_limit; } GOStyleLine;
Members
line width: <0 == no line, =0 == hairline : unscaled, minimum useful (can be bigger than visible) size.
|
||
GOLineDashType |
||
automatic dash type. |
||
GOColor |
color is used as background for compatibility (pattern == 0 means filled with background color). |
|
GOColor |
second color used for patterned lines. |
|
color is automatic. |
||
fore is automatic. |
||
GOPatternType |
pattern. |
|
cap style. |
||
join style. |
||
mitter limit. |