Function

CoglColornew

Declaration [src]

CoglColor*
cogl_color_new (
  void
)

Description [src]

Creates a new (empty) color.

Return value

Type: CoglColor

A newly-allocated CoglColor. Use cogl_color_free() to free the allocated resources.

The caller of the function takes ownership of the data, and is responsible for freeing it.