Enum MirPlacementGravity

Enum Documentation

enum MirPlacementGravity

Reference point for aligning a surface relative to a rectangle.

Each element (surface and rectangle) has a MirPlacementGravity assigned.

Values:

enumerator mir_placement_gravity_center

the reference point is at the center.

enumerator mir_placement_gravity_west

the reference point is at the middle of the left edge.

enumerator mir_placement_gravity_east

the reference point is at the middle of the right edge.

enumerator mir_placement_gravity_north

the reference point is in the middle of the top edge.

enumerator mir_placement_gravity_south

the reference point is at the middle of the lower edge.

enumerator mir_placement_gravity_northwest

the reference point is at the top left corner.

enumerator mir_placement_gravity_northeast

the reference point is at the top right corner.

enumerator mir_placement_gravity_southwest

the reference point is at the lower left corner.

enumerator mir_placement_gravity_southeast

the reference point is at the lower right corner.