Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_Style_Color Class Reference

Color fill. More...

Inheritance diagram for AOI_Style_Color:
AOI_Style

Public Member Functions

void GetColor (AOI_Color &) const
 
AOI_ColorSpace * GetSpace () const
 
void GetDescriptor (char *name) const
 
uint32_t GetType () const
 
void Dispose ()
 

Static Public Member Functions

static AOI_Style_ColorCreate (AOI_Document *document, const AOI_Color &)
 

Detailed Description

Color fill.

Definition at line 55 of file AOI_Style.h.

Member Function Documentation

◆ Create()

AOI_Style_ColorPtr AOI_Style_Color::Create ( AOI_Document * document,
const AOI_Color & color )
static

Creates a AOI_Style_Color.

Parameters
documentThe AOI_Document this style is used in.
colorThe AOI_Color the style should use.
Returns
The AOI_Style_Color.
See also
AOI_Color

Definition at line 149 of file AOI_Style.cpp.

◆ Dispose()

void AOI_Style::Dispose ( )
inherited

Decreases the ownercount of this style. If the ownercount equals zero after this decrease, the style is not used anymore and will be deleted.

Definition at line 136 of file AOI_Style.cpp.

◆ GetColor()

void AOI_Style_Color::GetColor ( AOI_Color & color) const

returns the AOI_Style_Color of a style.

Parameters
colorReceives the AOI_Color.
See also
AOI_Color

Definition at line 160 of file AOI_Style.cpp.

◆ GetDescriptor()

void AOI_Style_Color::GetDescriptor ( char * name) const

Returns the name of a AOI_Style_Color, along with the corresponding percentages.

Examples:

  • "r 20% g 30% b 40%"
  • "Orange 40%"

/param name A buffer which should be long enough to hold the name.

Definition at line 186 of file AOI_Style.cpp.

◆ GetSpace()

AOI_ColorSpace * AOI_Style_Color::GetSpace ( ) const

Returns the AOI_ColorSpace of this style.

Returns
The AOI_ColorSpace
See also
AOI_ColorSpace

Definition at line 172 of file AOI_Style.cpp.

◆ GetType()

uint32_t AOI_Style::GetType ( ) const
inherited

Returns the type of the style.

Possible values are:

  • AOI_Style_Color::Type
  • AOI_Style_Pattern::Type
  • AOI_Style_Axial::Type
  • AOI_Style_Radial::Type
  • AOI_Style_FunctionShading::Type
  • AOI_Style_CoonePatch::Type
Returns
Type of the style
See also
AOI_Style_Axial AOI_Style_Color AOI_Style_CoonePatch AOI_Style_FunctionShading AOI_Style_Pattern AOI_Style_Radial AOI_Style_Shading

Definition at line 101 of file AOI_Style.cpp.


The documentation for this class was generated from the following files: