Synopsis
#include <adg-1/adg.h> struct AdgLogo; struct AdgLogoClass; AdgLogo * adg_logo_new (void
); void adg_logo_set_symbol_dress (AdgLogo *logo
,AdgDress dress
); AdgDress adg_logo_get_symbol_dress (AdgLogo *logo
); void adg_logo_set_screen_dress (AdgLogo *logo
,AdgDress dress
); AdgDress adg_logo_get_screen_dress (AdgLogo *logo
); void adg_logo_set_frame_dress (AdgLogo *logo
,AdgDress dress
); AdgDress adg_logo_get_frame_dress (AdgLogo *logo
);
Properties
"frame-dress" AdgDress : Read / Write "screen-dress" AdgDress : Read / Write "symbol-dress" AdgDress : Read / Write
Details
struct AdgLogo
struct AdgLogo;
All fields are private and should not be used directly. Use its public methods instead.
Since 1.0
adg_logo_new ()
AdgLogo * adg_logo_new (void
);
Creates a new logo entity.
Returns : |
the newly created logo entity. [transfer full] |
Since 1.0
adg_logo_set_symbol_dress ()
void adg_logo_set_symbol_dress (AdgLogo *logo
,AdgDress dress
);
Sets a new line dress for rendering the symbol of logo
. The
new dress must be a line dress: the check is done by calling
adg_dress_are_related()
with dress
and the old dress as
arguments. Check out its documentation for further details.
The default dress is a transparent line dress: the rendering callback will stroke the symbol using the default color with a predefined thickness.
Since 1.0
adg_logo_get_symbol_dress ()
AdgDress adg_logo_get_symbol_dress (AdgLogo *logo
);
Gets the line dress to be used in stroking the symbol of logo
.
|
an AdgLogo |
Returns : |
the requested line dress. [transfer none] |
Since 1.0
adg_logo_set_screen_dress ()
void adg_logo_set_screen_dress (AdgLogo *logo
,AdgDress dress
);
Sets a new line dress for rendering the screen of logo
.
The new dress must be a line dress: the check is done by
calling adg_dress_are_related()
with dress
and the old
dress as arguments. Check out its documentation for
further details.
The default dress is a transparent line dress: the rendering callback will stroke the screen using the default color with a predefined thickness.
Since 1.0
adg_logo_get_screen_dress ()
AdgDress adg_logo_get_screen_dress (AdgLogo *logo
);
Gets the line dress to be used in stroking the screen shape of logo
.
|
an AdgLogo |
Returns : |
the requested line dress. [transfer none] |
Since 1.0
adg_logo_set_frame_dress ()
void adg_logo_set_frame_dress (AdgLogo *logo
,AdgDress dress
);
Sets a new line dress for rendering the frame of logo
.
The new dress must be a line dress: the check is done by
calling adg_dress_are_related()
with dress
and the old
dress as arguments. Check out its documentation for
further details.
The default dress is a transparent line dress: the rendering callback will stroke the frame using the default color with a predefined thickness.
Since 1.0
Property Details
The "frame-dress"
property
"frame-dress" AdgDress : Read / Write
The line dress to use for rendering the frame.
The "screen-dress"
property
"screen-dress" AdgDress : Read / Write
The line dress to use for rendering the screen shape around the logo.
The "symbol-dress"
property
"symbol-dress" AdgDress : Read / Write
The line dress to use for rendering the symbol of the logo.