News

Documentation

Engrave_Part_State: Functions to work with the Engrave_Part_State objects


Data Structures

struct  _Engrave_Part_State
 Stores the information for the Engrave_Part_State object. More...

Typedefs

typedef _Engrave_Part_State Engrave_Part_State
 The Engrave_Part_State typedef.

Functions

EAPI Engrave_Part_Stateengrave_part_state_new (void)
 engrave_part_state_new - create a new Engrave_Part_State object.
EAPI void engrave_part_state_free (Engrave_Part_State *eps)
 engrave_part_state_free - free the state
EAPI void engrave_part_state_parent_set (Engrave_Part_State *eps, void *ep)
 engrave_part_state_parent_set - set the parent part on this state
EAPI void * engrave_part_state_parent_get (Engrave_Part_State *eps)
 engrave_part_state_parent_get - get the parent part of this state
EAPI void engrave_part_state_name_set (Engrave_Part_State *eps, const char *name, double value)
 engrave_part_state_name_set - Set the name of the state
EAPI void engrave_part_state_visible_set (Engrave_Part_State *eps, int visible)
 engrave_part_state_visible_set - Set the visiblity of the state
EAPI void engrave_part_state_align_set (Engrave_Part_State *eps, double x, double y)
 engrave_part_state_align_set - Set the alignment of the state.
EAPI void engrave_part_state_step_set (Engrave_Part_State *eps, double x, double y)
 engrave_part_state_step_set - Set the step value of the state
EAPI void engrave_part_state_min_size_set (Engrave_Part_State *eps, int w, int h)
 engrave_part_state_min_size_set - Set the min size of the state.
EAPI void engrave_part_state_fixed_size_set (Engrave_Part_State *eps, int w, int h)
 engrave_part_state_fixed_size_set - Set the fixed size of the state.
EAPI void engrave_part_state_max_size_set (Engrave_Part_State *eps, int w, int h)
 engrave_part_state_max_size_set - Set the max size of the state.
EAPI void engrave_part_state_aspect_set (Engrave_Part_State *eps, double w, double h)
 engrave_part_state_aspect_set - Set the width and height of the aspect ratio
EAPI void engrave_part_state_aspect_preference_set (Engrave_Part_State *eps, Engrave_Aspect_Preference prefer)
 engrave_part_state_aspect_preference_set - Set the aspect preferenece.
EAPI void engrave_part_state_rel1_relative_set (Engrave_Part_State *eps, double x, double y)
 engrave_part_state_rel1_relative_set - Set the relative value of rel1.
EAPI void engrave_part_state_rel1_offset_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_rel1_offset_set - Set the rel1 offset value.
EAPI void engrave_part_state_rel1_to_set (Engrave_Part_State *eps, const char *to)
 engrave_part_state_rel1_to_set - Set the rel1 to value for both x and y dirs.
EAPI void engrave_part_state_rel1_to_x_set (Engrave_Part_State *eps, const char *to)
 engrave_part_state_rel1_to_x_set - Set what rel1 is relative too in the x dir.
EAPI void engrave_part_state_rel1_to_y_set (Engrave_Part_State *eps, const char *to)
 engrave_part_state_rel1_to_y_set - Set what rel1 is relative too in the y dir.
EAPI void engrave_part_state_rel2_relative_set (Engrave_Part_State *eps, double x, double y)
 engrave_part_state_rel2_relative_set - Set the rel2 relative value
EAPI void engrave_part_state_rel2_offset_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_rel2_offset_set - Set the rel2 offset value.
EAPI void engrave_part_state_rel2_to_set (Engrave_Part_State *eps, const char *to)
 engrave_part_state_rel2_to_set - Set the rel2 to value for both x and y dirs.
EAPI void engrave_part_state_rel2_to_x_set (Engrave_Part_State *eps, const char *to)
 engrave_part_state_rel2_to_x_set - Set what rel2 is relative too in the x dir.
EAPI void engrave_part_state_rel2_to_y_set (Engrave_Part_State *eps, const char *to)
 engrave_part_state_rel2_to_y_set - Set what rel2 is relative too in the y dir.
EAPI void engrave_part_state_image_normal_set (Engrave_Part_State *eps, Engrave_Image *im)
 engrave_part_state_image_normal_set - Set the image we are associated with.
EAPI void engrave_part_state_image_tween_add (Engrave_Part_State *eps, Engrave_Image *im)
 engrave_part_state_image_tween_add - Add a tween to the state.
EAPI void engrave_part_state_image_border_set (Engrave_Part_State *eps, int l, int r, int t, int b)
 engrave_part_state_image_border_set - Set the border on the image.
EAPI void engrave_part_state_image_middle_set (Engrave_Part_State *eps, int middle)
 engrave_part_state_image_middle_set - Set the middle on the image.
EAPI void engrave_part_state_color_class_set (Engrave_Part_State *eps, const char *class)
 engrave_part_state_color_class_set - Set the colour class on the state.
EAPI void engrave_part_state_color_set (Engrave_Part_State *eps, int r, int g, int b, int a)
 engrave_part_state_color_set - Set the colour of the state.
EAPI void engrave_part_state_color2_set (Engrave_Part_State *eps, int r, int g, int b, int a)
 engrave_part_state_color2_set - Set the colour2 of the state
EAPI void engrave_part_state_color3_set (Engrave_Part_State *eps, int r, int g, int b, int a)
 engrave_part_state_color3_set - Set the colour 3 of the state.
EAPI void engrave_part_state_fill_smooth_set (Engrave_Part_State *eps, int smooth)
 engrave_part_state_fill_smooth_set - Set the fill smooth value of the state.
EAPI void engrave_part_state_fill_origin_relative_set (Engrave_Part_State *state, double x, double y)
 engrave_part_state_fill_origin_relative_set - Set the relative value of the fill.
EAPI void engrave_part_state_fill_size_relative_set (Engrave_Part_State *eps, double x, double y)
 engrave_part_state_fill_size_relative_set - Set the fills relative size on the state.
EAPI void engrave_part_state_fill_origin_offset_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_fill_origin_offset_set - Set the offset of the fill position
EAPI void engrave_part_state_fill_size_offset_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_fill_size_offset_set - Set the fill size offset.
EAPI void engrave_part_state_text_text_set (Engrave_Part_State *eps, const char *text)
 engrave_part_state_text_text_set - Set the text string of the state.
EAPI void engrave_part_state_text_elipsis_set (Engrave_Part_State *eps, double val)
 engrave_part_state_text_elipsis_set - Set the text elipsis of the state.
EAPI void engrave_part_state_text_text_append (Engrave_Part_State *eps, const char *text)
 engrave_part_state_text_text_append - Appends the text string of the state.
EAPI void engrave_part_state_text_text_class_set (Engrave_Part_State *eps, const char *text)
 engrave_part_state_text_text_class_set - Set the text class of the state.
EAPI void engrave_part_state_text_style_set (Engrave_Part_State *eps, const char *style)
 engrave_part_state_text_style_set - Set the text style of the state.
EAPI void engrave_part_state_text_text_source_set (Engrave_Part_State *eps, const char *source)
 engrave_part_state_text_text_source_set - Set the text source of the state.
EAPI void engrave_part_state_text_source_set (Engrave_Part_State *eps, const char *source)
 engrave_part_state_text_source_set - Set the source of the text.
EAPI void engrave_part_state_text_font_set (Engrave_Part_State *eps, const char *font)
 engrave_part_state_text_font_set - Set the font for the text
EAPI void engrave_part_state_text_size_set (Engrave_Part_State *eps, int size)
 engrave_part_state_text_size_set - Set the text size.
EAPI void engrave_part_state_text_fit_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_text_fit_set - Set the fit parameter of the text
EAPI void engrave_part_state_text_min_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_text_min_set - Set the text min value.
EAPI void engrave_part_state_text_max_set (Engrave_Part_State *eps, int x, int y)
 engrave_part_state_text_max_set - Set the text max value.
EAPI void engrave_part_state_text_align_set (Engrave_Part_State *eps, double x, double y)
 engrave_part_state_text_align_set - Set the text alignment of the state.
EAPI void engrave_part_state_copy (Engrave_Part_State *from, Engrave_Part_State *to)
 engrave_part_state_copy - Copy the values from from to to
EAPI const char * engrave_part_state_name_get (Engrave_Part_State *eps, double *val)
 engrave_part_state_name_get - get the state name/value
EAPI int engrave_part_state_visible_get (Engrave_Part_State *eps)
 engrave_part_state_visible_get - get the visiblity flag
EAPI void engrave_part_state_align_get (Engrave_Part_State *eps, double *x, double *y)
 engrave_part_state_align_get - get the alignment of the state
EAPI void engrave_part_state_step_get (Engrave_Part_State *eps, double *x, double *y)
 engrave_part_state_step_get - get the stepping info for the state
EAPI void engrave_part_state_min_size_get (Engrave_Part_State *eps, int *w, int *h)
 engrave_part_state_min_size_get - get the minimum size of the state
EAPI void engrave_part_state_fixed_size_get (Engrave_Part_State *eps, int *w, int *h)
 engrave_part_state_fixed_size_get - get the fixed size of the state
EAPI void engrave_part_state_max_size_get (Engrave_Part_State *eps, int *w, int *h)
 engrave_part_state_max_size_get - get the maximum size of the state
EAPI void engrave_part_state_aspect_get (Engrave_Part_State *eps, double *w, double *h)
 engrave_part_state_aspect_get - get the aspect ratio for the state
EAPI Engrave_Aspect_Preference engrave_part_state_aspect_preference_get (Engrave_Part_State *eps)
 engrave_part_state_aspect_preference_get - get the aspect preference
EAPI void engrave_part_state_rel1_relative_get (Engrave_Part_State *eps, double *x, double *y)
 engrave_part_state_rel1_relative_get - get the rel1 relative values
EAPI void engrave_part_state_rel1_offset_get (Engrave_Part_State *eps, int *x, int *y)
 engrave_part_state_rel1_offset_get - get the rel1 offset values
EAPI const char * engrave_part_state_rel1_to_x_get (Engrave_Part_State *eps)
 engrave_part_state_rel1_to_x_get - get the to_x value for rel1
EAPI const char * engrave_part_state_rel1_to_y_get (Engrave_Part_State *eps)
 engrave_part_state_rel1_to_y_get - get the to_y value for rel1
EAPI void engrave_part_state_rel2_relative_get (Engrave_Part_State *eps, double *x, double *y)
 engrave_part_state_rel2_relative_get - get the rel2 relative values
EAPI void engrave_part_state_rel2_offset_get (Engrave_Part_State *eps, int *x, int *y)
 engrave_part_state_rel2_offset_get - get the rel2 offset values
EAPI const char * engrave_part_state_rel2_to_x_get (Engrave_Part_State *eps)
 engrave_part_state_rel2_to_x_get - get the to_x value for rel2
EAPI const char * engrave_part_state_rel2_to_y_get (Engrave_Part_State *eps)
 engrave_part_state_rel2_to_y_get - get the to_y value for rel2
EAPI const char * engrave_part_state_color_class_get (Engrave_Part_State *eps)
 engrave_part_state_color_class_get - get the color class for the state
EAPI void engrave_part_state_color_get (Engrave_Part_State *eps, int *r, int *g, int *b, int *a)
 engrave_part_state_color_get - get the color value from the state
EAPI void engrave_part_state_color2_get (Engrave_Part_State *eps, int *r, int *g, int *b, int *a)
 engrave_part_state_color2_get - get the color2 value from the state
EAPI void engrave_part_state_color3_get (Engrave_Part_State *eps, int *r, int *g, int *b, int *a)
 engrave_part_state_color3_get - get the color3 value from the state
EAPI Engrave_Imageengrave_part_state_image_normal_get (Engrave_Part_State *eps)
 engrave_part_state_image_normal_get - get the Engrave_Image for the normal setting
EAPI void engrave_part_state_image_border_get (Engrave_Part_State *eps, int *l, int *r, int *t, int *b)
 engrave_part_state_image_border_get - get the border settings
EAPI int engrave_part_state_image_middle_get (Engrave_Part_State *eps)
 engrave_part_state_image_middle_get - get the middle settings
EAPI const char * engrave_part_state_text_text_get (Engrave_Part_State *eps)
 engrave_part_state_text_text_get - get the text value
EAPI const char * engrave_part_state_text_text_class_get (Engrave_Part_State *eps)
 engrave_part_state_text_text_class_get - get the text class
EAPI const char * engrave_part_state_text_style_get (Engrave_Part_State *eps)
 engrave_part_state_text_style_get - get the text style
EAPI const char * engrave_part_state_text_text_source_get (Engrave_Part_State *eps)
 engrave_part_state_text_text_source_get - get the text text_source
EAPI const char * engrave_part_state_text_source_get (Engrave_Part_State *eps)
 engrave_part_state_text_source_get - get the text text_source
EAPI const char * engrave_part_state_text_font_get (Engrave_Part_State *eps)
 engrave_part_state_text_font_get - get the text font
EAPI int engrave_part_state_text_size_get (Engrave_Part_State *eps)
 engrave_part_state_text_size_get - get the font size
EAPI void engrave_part_state_text_fit_get (Engrave_Part_State *eps, int *x, int *y)
 engrave_part_state_text_fit_get - get the text fit settings
EAPI double engrave_part_state_text_elipsis_get (Engrave_Part_State *eps)
 engrave_part_state_text_elipsis_get - get the text elipsis settings
EAPI void engrave_part_state_text_min_get (Engrave_Part_State *eps, int *x, int *y)
 engrave_part_state_text_min_get - get the text min size
EAPI void engrave_part_state_text_align_get (Engrave_Part_State *eps, double *x, double *y)
 engrave_part_state_text_align_get - get the text alignment settings
EAPI int engrave_part_state_tweens_count (Engrave_Part_State *eps)
 engrave_part_state_tweens_count - get the number of tweens in the state
EAPI void engrave_part_state_tween_foreach (Engrave_Part_State *eps, void(*func)(Engrave_Image *, void *), void *data)
 engrave_part_state_tween_foreach - Iterate over the tween list
EAPI void engrave_part_state_gradient_spectrum_set (Engrave_Part_State *eps, const char *spec)
 engrave_part_state_gradient_spectrum_set - set the spectrum of the gradient on this state
EAPI const char * engrave_part_state_gradient_spectrum_get (Engrave_Part_State *eps)
 engrave_part_state_gradient_spectrum_get - get the spectrum of the gradient on this state
EAPI void engrave_part_state_gradient_type_set (Engrave_Part_State *eps, const char *type)
 engrave_part_state_gradient_type - set the type of the gradient on this state
EAPI const char * engrave_part_state_gradient_type_get (Engrave_Part_State *eps)
 engrave_part_state_gradient_type_get - get the type of the gradient on this state

Function Documentation

EAPI void engrave_part_state_align_get ( Engrave_Part_State eps,
double *  x,
double *  y 
)

engrave_part_state_align_get - get the alignment of the state

Parameters:
eps,: The Engrave_Part_State to get the info from
x,: Where to store the x value or 0.5 if not set
y,: Where to store the y value or 0.5 if not set
Returns:
Returns no value.

EAPI void engrave_part_state_align_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_align_set - Set the alignment of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x alignment value to set
y,: The y alignment value to set
Returns:
Returns no value

EAPI void engrave_part_state_aspect_get ( Engrave_Part_State eps,
double *  w,
double *  h 
)

engrave_part_state_aspect_get - get the aspect ratio for the state

Parameters:
eps,: The Engrave_Part_State to get the aspect info from
h,: Where to store the w value
w,: Where to store the h value
Returns:
Returns no value

EAPI Engrave_Aspect_Preference engrave_part_state_aspect_preference_get ( Engrave_Part_State eps  ) 

engrave_part_state_aspect_preference_get - get the aspect preference

Parameters:
eps,: The Engrave_Part_State to get the aspect preference from
Returns:
Returns the Engrave_Aspect_Preference for the state

EAPI void engrave_part_state_aspect_preference_set ( Engrave_Part_State eps,
Engrave_Aspect_Preference  prefer 
)

engrave_part_state_aspect_preference_set - Set the aspect preferenece.

Parameters:
eps,: The Engrave_Part_State to set the value too.
prefer,: The Engrave_Aspect_Preference value to set on the state.
Returns:
Returns no value

EAPI void engrave_part_state_aspect_set ( Engrave_Part_State eps,
double  w,
double  h 
)

engrave_part_state_aspect_set - Set the width and height of the aspect ratio

Parameters:
eps,: The Engrave_Part_State to set the value too.
w,: The width value to set.
h,: The height value to set.
Returns:
Returns no value

EAPI void engrave_part_state_color2_get ( Engrave_Part_State eps,
int *  r,
int *  g,
int *  b,
int *  a 
)

engrave_part_state_color2_get - get the color2 value from the state

Parameters:
eps,: The Engrave_Part_State to get the values from
r,: Where to store the r value
g,: Where to store the g value
b,: Where to store the b value
a,: Where to store the a value
Returns:
Returns no value.

EAPI void engrave_part_state_color2_set ( Engrave_Part_State eps,
int  r,
int  g,
int  b,
int  a 
)

engrave_part_state_color2_set - Set the colour2 of the state

Parameters:
eps,: The Engrave_Part_State to set the value too.
r,: The red value (set -1 to keep the current value).
g,: The green value (set -1 to keep the current value).
b,: the blue value (set -1 to keep the current value).
a,: The alpha value (set -1 to keep the current value).
Returns:
Returns no value

EAPI void engrave_part_state_color3_get ( Engrave_Part_State eps,
int *  r,
int *  g,
int *  b,
int *  a 
)

engrave_part_state_color3_get - get the color3 value from the state

Parameters:
eps,: The Engrave_Part_State to get the values from
r,: Where to store the r value
g,: Where to store the g value
b,: Where to store the b value
a,: Where to store the a value
Returns:
Returns no value.

EAPI void engrave_part_state_color3_set ( Engrave_Part_State eps,
int  r,
int  g,
int  b,
int  a 
)

engrave_part_state_color3_set - Set the colour 3 of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
r,: The red value (set -1 to keep the current value).
g,: The green value (set -1 to keep the current value).
b,: the blue value (set -1 to keep the current value).
a,: The alpha value (set -1 to keep the current value).
Returns:
Returns no value

EAPI const char* engrave_part_state_color_class_get ( Engrave_Part_State eps  ) 

engrave_part_state_color_class_get - get the color class for the state

Parameters:
eps,: The Engrave_Part_State to get the colour class from
Returns:
Returns the colour class on success or NULL on failure.

EAPI void engrave_part_state_color_class_set ( Engrave_Part_State eps,
const char *  class 
)

engrave_part_state_color_class_set - Set the colour class on the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
class,: The colour class to associate with the state.
Returns:
Returns no value

EAPI void engrave_part_state_color_get ( Engrave_Part_State eps,
int *  r,
int *  g,
int *  b,
int *  a 
)

engrave_part_state_color_get - get the color value from the state

Parameters:
eps,: The Engrave_Part_State to get the values from
r,: Where to store the r value
g,: Where to store the g value
b,: Where to store the b value
a,: Where to store the a value
Returns:
Returns no value.

EAPI void engrave_part_state_color_set ( Engrave_Part_State eps,
int  r,
int  g,
int  b,
int  a 
)

engrave_part_state_color_set - Set the colour of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
r,: The red value (set -1 to keep the current value).
g,: The green value (set -1 to keep the current value).
b,: the blue value (set -1 to keep the current value).
a,: The alpha value (set -1 to keep the current value).
Returns:
Returns no value

EAPI void engrave_part_state_copy ( Engrave_Part_State from,
Engrave_Part_State to 
)

engrave_part_state_copy - Copy the values from from to to

Parameters:
from,: The Engrave_Part_State from which to retrieve the values
to,: The Engrave_Part_State to place the values into
Returns:
Returns no value.

EAPI void engrave_part_state_fill_origin_offset_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_fill_origin_offset_set - Set the offset of the fill position

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value.
y,: The y value.
Returns:
Returns no value

EAPI void engrave_part_state_fill_origin_relative_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_fill_origin_relative_set - Set the relative value of the fill.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set
y,: The y value to set
Returns:
Returns no value

EAPI void engrave_part_state_fill_size_offset_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_fill_size_offset_set - Set the fill size offset.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value.
y,: The y value.
Returns:
Returns no value

EAPI void engrave_part_state_fill_size_relative_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_fill_size_relative_set - Set the fills relative size on the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value.
y,: The y value.
Returns:
Returns no value

EAPI void engrave_part_state_fill_smooth_set ( Engrave_Part_State eps,
int  smooth 
)

engrave_part_state_fill_smooth_set - Set the fill smooth value of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
smooth,: The smooth value to set.
Returns:
Returns no value

EAPI void engrave_part_state_fixed_size_get ( Engrave_Part_State eps,
int *  w,
int *  h 
)

engrave_part_state_fixed_size_get - get the fixed size of the state

Parameters:
eps,: The Engrave_Part_State to get the min from
w,: Where to store the w value
h,: Where to store the h value
Returns:
Returns no value.

EAPI void engrave_part_state_fixed_size_set ( Engrave_Part_State eps,
int  w,
int  h 
)

engrave_part_state_fixed_size_set - Set the fixed size of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
w,: for the width
h,: for the height
Returns:
Returns no value

EAPI void engrave_part_state_free ( Engrave_Part_State eps  ) 

engrave_part_state_free - free the state

Parameters:
eps,: The Engrave_Part_State to free
Returns:
Returns no value.

EAPI const char* engrave_part_state_gradient_spectrum_get ( Engrave_Part_State eps  ) 

engrave_part_state_gradient_spectrum_get - get the spectrum of the gradient on this state

Parameters:
eps,: The Engrave_Part_State to get the spectrum for
Returns:
Returns the name of the spectrum used

EAPI void engrave_part_state_gradient_spectrum_set ( Engrave_Part_State eps,
const char *  spec 
)

engrave_part_state_gradient_spectrum_set - set the spectrum of the gradient on this state

Parameters:
eps,: The Engrave_Part_State to set the spectrum for
spec,: The name of the spectrum
Returns:
Returns no value.

EAPI const char* engrave_part_state_gradient_type_get ( Engrave_Part_State eps  ) 

engrave_part_state_gradient_type_get - get the type of the gradient on this state

Parameters:
eps,: The Engrave_Part_State to get the type for
Returns:
Returns the type of the gradient

EAPI void engrave_part_state_gradient_type_set ( Engrave_Part_State eps,
const char *  type 
)

engrave_part_state_gradient_type - set the type of the gradient on this state

Parameters:
eps,: The Engrave_Part_State to set the type for
type,: The type of the spectrum
Returns:
Returns no value.

EAPI void engrave_part_state_image_border_get ( Engrave_Part_State eps,
int *  l,
int *  r,
int *  t,
int *  b 
)

engrave_part_state_image_border_get - get the border settings

Parameters:
eps,: The Engrave_Part_State to get the settings from
l,: Where to store the left value
r,: Where to store the right value
t,: Where to store the top value
b,: Where to store the bottom value
Returns:
Returns no value.

EAPI void engrave_part_state_image_border_set ( Engrave_Part_State eps,
int  l,
int  r,
int  t,
int  b 
)

engrave_part_state_image_border_set - Set the border on the image.

Parameters:
eps,: The Engrave_Part_State to set the value too.
l,: The left border value.
r,: The right border value.
t,: The top border value.
b,: The bottom border value.
Returns:
Returns no value k

EAPI int engrave_part_state_image_middle_get ( Engrave_Part_State eps  ) 

engrave_part_state_image_middle_get - get the middle settings

Parameters:
eps,: The Engrave_Part_State to get the settings from
Returns:
Returns the middle value.

EAPI void engrave_part_state_image_middle_set ( Engrave_Part_State eps,
int  middle 
)

engrave_part_state_image_middle_set - Set the middle on the image.

Parameters:
eps,: The Engrave_Part_State to set the value too.
middle,: The middle value.
Returns:
Returns no value k

EAPI Engrave_Image* engrave_part_state_image_normal_get ( Engrave_Part_State eps  ) 

engrave_part_state_image_normal_get - get the Engrave_Image for the normal setting

Parameters:
eps,: The Engrave_Part_State to get the image from
Returns:
Returns the Engrave_Image for the normal setting or NULL on failure.

EAPI void engrave_part_state_image_normal_set ( Engrave_Part_State eps,
Engrave_Image im 
)

engrave_part_state_image_normal_set - Set the image we are associated with.

Parameters:
eps,: The Engrave_Part_State to set the value too.
im,: The Engrave_Image attached to this state.
Returns:
Returns no value

EAPI void engrave_part_state_image_tween_add ( Engrave_Part_State eps,
Engrave_Image im 
)

engrave_part_state_image_tween_add - Add a tween to the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
im,: The Engrave_Image to add to the tween list.
Returns:
Returns no value

EAPI void engrave_part_state_max_size_get ( Engrave_Part_State eps,
int *  w,
int *  h 
)

engrave_part_state_max_size_get - get the maximum size of the state

Parameters:
eps,: The Engrave_Part_State to get the max from
w,: Where to store the w value
h,: Where to store the h value
Returns:
Returns no value.

EAPI void engrave_part_state_max_size_set ( Engrave_Part_State eps,
int  w,
int  h 
)

engrave_part_state_max_size_set - Set the max size of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
w,: The maximum width of the state.
h,: The maximum height of the state.
Returns:
Returns no value

EAPI void engrave_part_state_min_size_get ( Engrave_Part_State eps,
int *  w,
int *  h 
)

engrave_part_state_min_size_get - get the minimum size of the state

Parameters:
eps,: The Engrave_Part_State to get the min from
w,: Where to store the w value
h,: Where to store the h value
Returns:
Returns no value.

EAPI void engrave_part_state_min_size_set ( Engrave_Part_State eps,
int  w,
int  h 
)

engrave_part_state_min_size_set - Set the min size of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
w,: The minimum width to set
h,: The minimum height to set
Returns:
Returns no value

EAPI const char* engrave_part_state_name_get ( Engrave_Part_State eps,
double *  val 
)

engrave_part_state_name_get - get the state name/value

Parameters:
eps,: The Engave_Part_State to get the values from
val,: Where to put the value setting
Returns:
Returns the state name, or NULL on failure.

EAPI void engrave_part_state_name_set ( Engrave_Part_State eps,
const char *  name,
double  value 
)

engrave_part_state_name_set - Set the name of the state

Parameters:
eps,: The Engrave_Part_State to set the value too.
name,: The name to set to the state.
value,: The value to set to the state.
Returns:
Returns no value

EAPI Engrave_Part_State* engrave_part_state_new ( void   ) 

engrave_part_state_new - create a new Engrave_Part_State object.

Returns:
Returns a pointer to a newly allocated Engrave_Part_State object on success or NULL on failure

EAPI void* engrave_part_state_parent_get ( Engrave_Part_State eps  ) 

engrave_part_state_parent_get - get the parent part of this state

Parameters:
eps,: The Engrave_Part_State to get the parent from
Returns:
Returns the Engrave_Part parent pointer, or NULL if none set.

EAPI void engrave_part_state_parent_set ( Engrave_Part_State eps,
void *  ep 
)

engrave_part_state_parent_set - set the parent part on this state

Parameters:
eps,: The Engrave_Part_State to set the parent into
ep,: The Engrave_Part to set as the parent
Returns:
Returns no value.

EAPI void engrave_part_state_rel1_offset_get ( Engrave_Part_State eps,
int *  x,
int *  y 
)

engrave_part_state_rel1_offset_get - get the rel1 offset values

Parameters:
eps,: The Engrave_Part_State to get the values from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_rel1_offset_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_rel1_offset_set - Set the rel1 offset value.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI void engrave_part_state_rel1_relative_get ( Engrave_Part_State eps,
double *  x,
double *  y 
)

engrave_part_state_rel1_relative_get - get the rel1 relative values

Parameters:
eps,: The Engrave_Part_State to get the values from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_rel1_relative_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_rel1_relative_set - Set the relative value of rel1.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI void engrave_part_state_rel1_to_set ( Engrave_Part_State eps,
const char *  to 
)

engrave_part_state_rel1_to_set - Set the rel1 to value for both x and y dirs.

Parameters:
eps,: The Engrave_Part_State to set the value too.
to,: The name of the part we are relative too.
Returns:
Returns no value

EAPI const char* engrave_part_state_rel1_to_x_get ( Engrave_Part_State eps  ) 

engrave_part_state_rel1_to_x_get - get the to_x value for rel1

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the to_x value or NULL on failure.

EAPI void engrave_part_state_rel1_to_x_set ( Engrave_Part_State eps,
const char *  to 
)

engrave_part_state_rel1_to_x_set - Set what rel1 is relative too in the x dir.

Parameters:
eps,: The Engrave_Part_State to set the value too.
to,: The name of the part we are relative too.
Returns:
Returns no value

EAPI const char* engrave_part_state_rel1_to_y_get ( Engrave_Part_State eps  ) 

engrave_part_state_rel1_to_y_get - get the to_y value for rel1

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the to_y value or NULL on failure.

EAPI void engrave_part_state_rel1_to_y_set ( Engrave_Part_State eps,
const char *  to 
)

engrave_part_state_rel1_to_y_set - Set what rel1 is relative too in the y dir.

Parameters:
eps,: The Engrave_Part_State to set the value too.
to,: The name of the part we are relative too.
Returns:
Returns no value

EAPI void engrave_part_state_rel2_offset_get ( Engrave_Part_State eps,
int *  x,
int *  y 
)

engrave_part_state_rel2_offset_get - get the rel2 offset values

Parameters:
eps,: The Engrave_Part_State to get the values from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_rel2_offset_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_rel2_offset_set - Set the rel2 offset value.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI void engrave_part_state_rel2_relative_get ( Engrave_Part_State eps,
double *  x,
double *  y 
)

engrave_part_state_rel2_relative_get - get the rel2 relative values

Parameters:
eps,: The Engrave_Part_State to get the values from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_rel2_relative_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_rel2_relative_set - Set the rel2 relative value

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI void engrave_part_state_rel2_to_set ( Engrave_Part_State eps,
const char *  to 
)

engrave_part_state_rel2_to_set - Set the rel2 to value for both x and y dirs.

Parameters:
eps,: The Engrave_Part_State to set the value too.
to,: The name of the part we are relative too.
Returns:
Returns no value

EAPI const char* engrave_part_state_rel2_to_x_get ( Engrave_Part_State eps  ) 

engrave_part_state_rel2_to_x_get - get the to_x value for rel2

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the to_x value or NULL on failure.

EAPI void engrave_part_state_rel2_to_x_set ( Engrave_Part_State eps,
const char *  to 
)

engrave_part_state_rel2_to_x_set - Set what rel2 is relative too in the x dir.

Parameters:
eps,: The Engrave_Part_State to set the value too.
to,: The name of the part we are relative too.
Returns:
Returns no value

EAPI const char* engrave_part_state_rel2_to_y_get ( Engrave_Part_State eps  ) 

engrave_part_state_rel2_to_y_get - get the to_y value for rel2

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the to_y value or NULL on failure.

EAPI void engrave_part_state_rel2_to_y_set ( Engrave_Part_State eps,
const char *  to 
)

engrave_part_state_rel2_to_y_set - Set what rel2 is relative too in the y dir.

Parameters:
eps,: The Engrave_Part_State to set the value too.
to,: The name of the part we are relative too.
Returns:
Returns no value

EAPI void engrave_part_state_step_get ( Engrave_Part_State eps,
double *  x,
double *  y 
)

engrave_part_state_step_get - get the stepping info for the state

Parameters:
eps,: The Engrave_Part_State to get the info from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_step_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_step_set - Set the step value of the state

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x step value to set
y,: The y step value to set
Returns:
Returns no value

EAPI void engrave_part_state_text_align_get ( Engrave_Part_State eps,
double *  x,
double *  y 
)

engrave_part_state_text_align_get - get the text alignment settings

Parameters:
eps,: The Engrave_Part_State to get the align from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_text_align_set ( Engrave_Part_State eps,
double  x,
double  y 
)

engrave_part_state_text_align_set - Set the text alignment of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x alignment setting.
y,: the y alignment setting.
Returns:
Returns no value

EAPI double engrave_part_state_text_elipsis_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_elipsis_get - get the text elipsis settings

Parameters:
eps,: The Engrave_Part_State to get the values from
Returns:
The elipsis value

EAPI void engrave_part_state_text_elipsis_set ( Engrave_Part_State eps,
double  val 
)

engrave_part_state_text_elipsis_set - Set the text elipsis of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
val,: The value to set to the state.
Returns:
Returns no value

EAPI void engrave_part_state_text_fit_get ( Engrave_Part_State eps,
int *  x,
int *  y 
)

engrave_part_state_text_fit_get - get the text fit settings

Parameters:
eps,: The Engrave_Part_State to get the values from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_text_fit_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_text_fit_set - Set the fit parameter of the text

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI const char* engrave_part_state_text_font_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_font_get - get the text font

Parameters:
eps,: The Engrave_Part_State to get the font from
Returns:
Returns the font on success or NULL on failure.

EAPI void engrave_part_state_text_font_set ( Engrave_Part_State eps,
const char *  font 
)

engrave_part_state_text_font_set - Set the font for the text

Parameters:
eps,: The Engrave_Part_State to set the value too.
font,: The font to apply to the text.
Returns:
Returns no value

EAPI void engrave_part_state_text_max_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_text_max_set - Set the text max value.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI void engrave_part_state_text_min_get ( Engrave_Part_State eps,
int *  x,
int *  y 
)

engrave_part_state_text_min_get - get the text min size

Parameters:
eps,: The Engrave_Part_State to get the values from
x,: Where to store the x value
y,: Where to store the y value
Returns:
Returns no value.

EAPI void engrave_part_state_text_min_set ( Engrave_Part_State eps,
int  x,
int  y 
)

engrave_part_state_text_min_set - Set the text min value.

Parameters:
eps,: The Engrave_Part_State to set the value too.
x,: The x value to set.
y,: The y value to set.
Returns:
Returns no value

EAPI int engrave_part_state_text_size_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_size_get - get the font size

Parameters:
eps,: The Engrave_Part_State to get the font size from
Returns:
Returns the font size.

EAPI void engrave_part_state_text_size_set ( Engrave_Part_State eps,
int  size 
)

engrave_part_state_text_size_set - Set the text size.

Parameters:
eps,: The Engrave_Part_State to set the value too.
size,: The font size to set.
Returns:
Returns no value

EAPI const char* engrave_part_state_text_source_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_source_get - get the text text_source

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the source or NULL on failure.

EAPI void engrave_part_state_text_source_set ( Engrave_Part_State eps,
const char *  source 
)

engrave_part_state_text_source_set - Set the source of the text.

Parameters:
eps,: The Engrave_Part_State to set the value too.
source,: The text source to set to the state.
Returns:
Returns no value

EAPI const char* engrave_part_state_text_style_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_style_get - get the text style

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the text style or NULL on failure.

EAPI void engrave_part_state_text_style_set ( Engrave_Part_State eps,
const char *  text_style 
)

engrave_part_state_text_style_set - Set the text style of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
text_style,: The text style to set to the state.
Returns:
Returns no value

EAPI void engrave_part_state_text_text_append ( Engrave_Part_State eps,
const char *  text 
)

engrave_part_state_text_text_append - Appends the text string of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
text,: The text string to append.
Returns:
Returns no value

EAPI const char* engrave_part_state_text_text_class_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_text_class_get - get the text class

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the text class or NULL on failure.

EAPI void engrave_part_state_text_text_class_set ( Engrave_Part_State eps,
const char *  text_class 
)

engrave_part_state_text_text_class_set - Set the text class of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
text_class,: The text class to set to the state.
Returns:
Returns no value

EAPI const char* engrave_part_state_text_text_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_text_get - get the text value

Parameters:
eps,: The Engrave_Part_State to get the text from
Returns:
Returns the text value on success or NULL on failure.

EAPI void engrave_part_state_text_text_set ( Engrave_Part_State eps,
const char *  text 
)

engrave_part_state_text_text_set - Set the text string of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
text,: The text string to set.
Returns:
Returns no value

EAPI const char* engrave_part_state_text_text_source_get ( Engrave_Part_State eps  ) 

engrave_part_state_text_text_source_get - get the text text_source

Parameters:
eps,: The Engrave_Part_State to get the value from
Returns:
Returns the text source or NULL on failure.

EAPI void engrave_part_state_text_text_source_set ( Engrave_Part_State eps,
const char *  text_source 
)

engrave_part_state_text_text_source_set - Set the text source of the state.

Parameters:
eps,: The Engrave_Part_State to set the value too.
text_source,: The text source to set to the state.
Returns:
Returns no value

EAPI void engrave_part_state_tween_foreach ( Engrave_Part_State eps,
void(*)(Engrave_Image *, void *)  func,
void *  data 
)

engrave_part_state_tween_foreach - Iterate over the tween list

Parameters:
eps,: The Engrave_Part_State to get the tweens from
func,: The function to call for each tween
data,: User data to pass to the function
Returns:
Returns no value.

EAPI int engrave_part_state_tweens_count ( Engrave_Part_State eps  ) 

engrave_part_state_tweens_count - get the number of tweens in the state

Parameters:
eps,: The Engrave_Part_State to check for tweens
Returns:
Returns number of tweens, 0 otherwise

EAPI int engrave_part_state_visible_get ( Engrave_Part_State eps  ) 

engrave_part_state_visible_get - get the visiblity flag

Parameters:
eps,: The Engrave_Part_State to get the visiblity from
Returns:
Returns the visiblity of the state

EAPI void engrave_part_state_visible_set ( Engrave_Part_State eps,
int  visible 
)

engrave_part_state_visible_set - Set the visiblity of the state

Parameters:
eps,: The Engrave_Part_State to set the value too.
visible,: The visibility value to set to the state
Returns:
Returns no value


Copyright © Enlightenment.org

Engrave Documentation Generated: Sat Apr 7 18:28:01 2007