Virtual Method

AgsConversionconvert

since: 3.0.0

Declaration [src]

gdouble
convert (
  AgsConversion* conversion,
  gdouble x,
  gboolean reverse
)

Description [src]

Convert a value if reverse is FALSE then use the target format otherwise if TRUE convert back to original format.

Available since: 3.0.0

Parameters

x

Type: gdouble

The value to convert.

reverse

Type: gboolean

The direction to convert.

Return value

Type: gdouble

The converted value as gdouble.