bn::bgs_mosaic namespace

Functions related with the mosaic applied to the backgrounds.

Functions

auto horizontal_stretch() -> fixed
Returns the horizontal stretch of the mosaic applied to the backgrounds.
void set_horizontal_stretch(fixed horizontal_stretch)
Sets the horizontal stretch of the mosaic applied to the backgrounds.
auto vertical_stretch() -> fixed
Returns the vertical stretch of the mosaic applied to the backgrounds.
void set_vertical_stretch(fixed vertical_stretch)
Sets the vertical stretch of the mosaic applied to the backgrounds.
void set_stretch(fixed stretch)
Sets the stretch of the mosaic applied to the backgrounds.
void set_stretch(fixed horizontal_stretch, fixed vertical_stretch)
Sets the stretch of the mosaic applied to the backgrounds.

Function documentation

void bn::bgs_mosaic::set_horizontal_stretch(fixed horizontal_stretch)

Sets the horizontal stretch of the mosaic applied to the backgrounds.

Parameters
horizontal_stretch Horizontal stretch in the range [0..1].

void bn::bgs_mosaic::set_vertical_stretch(fixed vertical_stretch)

Sets the vertical stretch of the mosaic applied to the backgrounds.

Parameters
vertical_stretch Vertical stretch in the range [0..1].

void bn::bgs_mosaic::set_stretch(fixed stretch)

Sets the stretch of the mosaic applied to the backgrounds.

Parameters
stretch Stretch in the range [0..1].

void bn::bgs_mosaic::set_stretch(fixed horizontal_stretch, fixed vertical_stretch)

Sets the stretch of the mosaic applied to the backgrounds.

Parameters
horizontal_stretch Horizontal stretch in the range [0..1].
vertical_stretch Vertical stretch in the range [0..1].