29#ifndef NOMLIB_GRAPHICS_GRAPHICS_HELPERS_HPP
30#define NOMLIB_GRAPHICS_GRAPHICS_HELPERS_HPP
32#include "nomlib/config.hpp"
33#include "nomlib/math/Size2.hpp"
34#include "nomlib/math/Point2.hpp"
51Point2i alignment_rect(
const Size2i& obj_dims,
const Point2i& pos_offset,
52 const Size2i& align_bounds, uint32 align );
60void set_alignment(
Transformable* obj,
const Point2i& pos_offset,
61 const Size2i& align_bounds, uint32 align );
70void set_alignment(
Texture* obj,
const Point2i& pos_offset,
71 const Size2i& align_bounds, uint32 align );