Public Member Functions | Static Public Member Functions
efl::gfx::gradient::radial Struct Reference

Class radial. More...

Public Member Functions

 radial (Eo *eo)
 Eo Constructor. More...
 
 radial (std::nullptr_t)
 nullptr_t Constructor. More...
 
 radial (radial const &other)
 Copy Constructor.
 
void center_get (double *x_, double *y_) const
 Gets the center of this radial gradient. More...
 
void center_set (double x_, double y_) const
 Sets the center of this radial gradient. More...
 
double radius_get () const
 Gets the center radius of this radial gradient. More...
 
void radius_set (double r_) const
 Sets the center radius of this radial gradient. More...
 
void focal_get (double *x_, double *y_) const
 Gets the focal point of this radial gradient. More...
 
void focal_set (double x_, double y_) const
 Sets the focal point of this radial gradient. More...
 
 radial (::efl::eo::parent_type _p)
 Constructs a new efl::gfx::gradient::radial object. More...
 
- Public Member Functions inherited from efl::eo::concrete
 concrete (Eo *eo)
 Class constructor. More...
 
 concrete ()
 Default constructor. More...
 
 ~concrete ()
 Class destructor.
 
 concrete (concrete const &other)
 
 concrete (concrete &&other)
 
concreteoperator= (concrete const &other)
 Assignment operator.
 
concreteoperator= (concrete &&other)
 
Eo_eo_ptr () const
 Return a pointer to the EO Object stored in this instance. More...
 
Eo_release ()
 Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
 
void _reset (Eo *_ptr=nullptr)
 Reset the current pointer to reference a new Eo object.
 
int ref_get () const
 Get the reference count of this object. More...
 
void parent_set (concrete parent)
 Set the parent of this object. More...
 
eina::optional< concreteparent_get ()
 Get the parent of this object. More...
 
Eo_Dbg_Info dbg_info_get ()
 Get debug information of this object. More...
 
 operator bool () const
 
- Public Member Functions inherited from efl::gfx::gradient::base
 base (Eo *eo)
 Eo Constructor. More...
 
 base (std::nullptr_t)
 nullptr_t Constructor. More...
 
 base (base const &other)
 Copy Constructor.
 
void stop_get (const Efl_Gfx_Gradient_Stop **colors_, unsigned int *length_) const
 get the list of color stops. More...
 
void stop_set (const Efl_Gfx_Gradient_Stop *colors_, unsigned int length_) const
 Set the list of color stops for the gradient. More...
 
Efl_Gfx_Gradient_Spread spread_get () const
 Returns the spread method use by this gradient. More...
 
void spread_set (Efl_Gfx_Gradient_Spread s_) const
 Specifies the spread method that should be used for this gradient. More...
 
 base (::efl::eo::parent_type _p)
 Constructs a new efl::gfx::gradient::base object. More...
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from efl::gfx::gradient::base
static Eo_Class const * _eo_class ()
 

Additional Inherited Members

- Protected Attributes inherited from efl::eo::concrete
Eo_eo_raw
 The opaque EO Object.
 

Detailed Description

Class radial.

Constructor & Destructor Documentation

efl::gfx::gradient::radial::radial ( ::efl::eo::parent_type  _p)
inlineexplicit

Constructs a new efl::gfx::gradient::radial object.

Constructs a new efl::gfx::gradient::radial object. If you want this object to be a child of another Eo object, use an efl::eo::parent expression, like the example.

Example:

efl::gfx::gradient::radial my_radial(efl::eo::parent = parent_object);
See also
radial(Eo* eo)
efl::gfx::gradient::radial::radial ( Eo eo)
inlineexplicit

Eo Constructor.

Constructs the object from an Eo* pointer stealing its ownership.

Parameters
eoThe Eo object pointer.
efl::gfx::gradient::radial::radial ( std::nullptr_t  )
inlineexplicit

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

void efl::gfx::gradient::radial::center_get ( double *  x_,
double *  y_ 
) const

Gets the center of this radial gradient.

Parameters
xx co-ordinate of center point
yy co-ordinate of center point
void efl::gfx::gradient::radial::center_set ( double  x_,
double  y_ 
) const

Sets the center of this radial gradient.

Parameters
xx co-ordinate of center point
yy co-ordinate of center point
double efl::gfx::gradient::radial::radius_get ( ) const

Gets the center radius of this radial gradient.

Parameters
rcenter radius
void efl::gfx::gradient::radial::radius_set ( double  r_) const

Sets the center radius of this radial gradient.

Parameters
rcenter radius
void efl::gfx::gradient::radial::focal_get ( double *  x_,
double *  y_ 
) const

Gets the focal point of this radial gradient.

Parameters
xx co-ordinate of focal point
yy co-ordinate of focal point
void efl::gfx::gradient::radial::focal_set ( double  x_,
double  y_ 
) const

Sets the focal point of this radial gradient.

Parameters
xx co-ordinate of focal point
yy co-ordinate of focal point