Function
AdapBreakpointConditionnew_ratio
since: 1.4
Declaration [src]
AdapBreakpointCondition*
adap_breakpoint_condition_new_ratio (
AdapBreakpointConditionRatioType type,
int width,
int height
)
Description [src]
Creates a condition that triggers on ratio changes.
The ratio is represented as width divided by height.
Available since: 1.4
Parameters
type-
Type:
AdapBreakpointConditionRatioTypeThe ratio type.
width-
Type:
intRatio width.
height-
Type:
intRatio height.
Return value
Type: AdapBreakpointCondition
The newly created condition.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |