class
#include <bn_affine_bg_actions.h>
affine_bg_move_by_action Modifies the position of an affine_
Base classes
-
template<typename Value, typename Property, class PropertyManager>class by_value_template_action<affine_bg_ptr, fixed_point, affine_bg_position_manager>
- Modifies the property of a value by a given delta.
Constructors, destructors, conversion operators
-
affine_bg_move_by_action(const affine_
bg_ ptr& bg, fixed delta_x, fixed delta_y) - Constructor.
-
affine_bg_move_by_action(affine_
bg_ ptr&& bg, fixed delta_x, fixed delta_y) - Constructor.
-
affine_bg_move_by_action(const affine_
bg_ ptr& bg, const fixed_ point& delta_position) - Constructor.
-
affine_bg_move_by_action(affine_
bg_ ptr&& bg, const fixed_ point& delta_position) - Constructor.
Public functions
-
auto bg() const -> const affine_
bg_ ptr& - Returns the affine_
bg_ ptr to modify. -
auto delta_position() const -> const fixed_
point& - Returns how much to add to the position of the given affine_
bg_ ptr when the action is updated.
Function documentation
bn:: affine_bg_move_by_action:: affine_bg_move_by_action(const affine_ bg_ ptr& bg,
fixed delta_x,
fixed delta_y)
Constructor.
Parameters | |
---|---|
bg | affine_ |
delta_x | How much to add to the horizontal position of the given affine_ |
delta_y | How much to add to the horizontal position of the given affine_ |
bn:: affine_bg_move_by_action:: affine_bg_move_by_action(affine_ bg_ ptr&& bg,
fixed delta_x,
fixed delta_y)
Constructor.
Parameters | |
---|---|
bg | affine_ |
delta_x | How much to add to the horizontal position of the given affine_ |
delta_y | How much to add to the horizontal position of the given affine_ |
bn:: affine_bg_move_by_action:: affine_bg_move_by_action(const affine_ bg_ ptr& bg,
const fixed_ point& delta_position)
Constructor.
Parameters | |
---|---|
bg | affine_ |
delta_position | How much to add to the position of the given affine_ |
bn:: affine_bg_move_by_action:: affine_bg_move_by_action(affine_ bg_ ptr&& bg,
const fixed_ point& delta_position)
Constructor.
Parameters | |
---|---|
bg | affine_ |
delta_position | How much to add to the position of the given affine_ |