Constructor
HeDynamicSchemenew
Declaration
HeDynamicScheme*
he_dynamic_scheme_new (
HeHCTColor* hct,
HeSchemeVariant variant,
gboolean is_dark,
gdouble contrast_level,
HeTonalPalette* primary,
HeTonalPalette* secondary,
HeTonalPalette* tertiary,
HeTonalPalette* neutral,
HeTonalPalette* neutral_variant,
HeTonalPalette* _error_,
HeSchemePlatform platform
)
Parameters
hct-
Type:
HeHCTColorNo description available.
The data is owned by the caller of the function. variant-
Type:
HeSchemeVariantNo description available.
is_dark-
Type:
gbooleanNo description available.
contrast_level-
Type:
gdoubleNo description available.
primary-
Type:
HeTonalPaletteNo description available.
The data is owned by the caller of the function. secondary-
Type:
HeTonalPaletteNo description available.
The data is owned by the caller of the function. tertiary-
Type:
HeTonalPaletteNo description available.
The argument can be NULL.The data is owned by the caller of the function. neutral-
Type:
HeTonalPaletteNo description available.
The data is owned by the caller of the function. neutral_variant-
Type:
HeTonalPaletteNo description available.
The data is owned by the caller of the function. _error_-
Type:
HeTonalPaletteNo description available.
The argument can be NULL.The data is owned by the caller of the function. platform-
Type:
HeSchemePlatformNo description available.
Return value
Type: HeDynamicScheme
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |