#include <kanzi/core.ui/graphics2d/frame_description.hpp>
#include <kanzi/core.ui/graphics2d/quad_description.hpp>
#include <kanzi/core.ui/graphics3d/gpu_resource.hpp>
#include <kanzi/core.ui/graphics3d/graphics_enums.hpp>
#include <kanzi/core.ui/platform/graphics_backend/gl/gpu_buffer.hpp>
#include <kanzi/core/cpp/vector.hpp>
#include <kanzi/core/debug/assert.hpp>
#include <kanzi/core/math/matrix4x4.hpp>
Classes | |
class | kanzi::Geometry |
Geometry represents 2D coordinate data that you can use to render 2D nodes and text. More... | |
struct | kanzi::Geometry::Vertex |
Vertex for geometry. More... | |
Namespaces | |
kanzi | |
Functions | |
Matrix3x3 | kanzi::applyGeometryOffsetAndSize (const Matrix3x3 &transformation, Vector2 offset, Vector2 size) |
Applies offset and size to 3x3 transformation. More... | |
Matrix4x4 | kanzi::applyGeometryOffsetAndSize (const Matrix4x4 &transformation, Vector2 offset, Vector2 size) |
Applies offset and size of the target rectangle to 4x4 transformation. More... | |
Matrix3x3 | kanzi::applyGeometryTargetRectangle (const Matrix3x3 &transformation, const RectangleFloat &targetRectangle) |
Applies offset and size of the target rectangle to 3x3 transformation. More... | |
Matrix4x4 | kanzi::applyGeometryTargetRectangle (const Matrix4x4 &transformation, const RectangleFloat &targetRectangle) |
Applies offset and size of the target rectangle to 4x4 transformation. More... | |
GeometrySharedPtr | kanzi::getUnitQuadGeometry (Domain *domain) |
Gets a shared instance that contains shared unit quad geometry. More... | |
Matrix3x3 | kanzi::getUnitQuadTargetTransformation (const RectangleFloat &targetRectangle) |
Gets the 3x3 transformation that maps the unit quad geometry to the target rectangle. More... | |
Matrix3x3 | kanzi::getUnitQuadTargetTransformation (Vector2 offset, Vector2 size) |
Gets the 3x3 transformation that maps the unit quad geometry to the target offset and size. More... | |
bool | kanzi::isCompatibleWithUnitQuadGeometry (const QuadDescription &quadDescription, Vector2 tiling) |
Determines whether the given quad description and tiling are compatible with unit quad geometry. More... | |