/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/RmlUi/Source/Debugger/Geometry.h
32 строки
768 B
C-Core
Updated RmlUi to 6.2 and added some improvements (#1813)
10 фев 2026, 01:19
Не верифицирован
10 фев 2026, 01:19
58e2d41
Код
Авторство
О чём код?
#pragma once #include "../../Include/RmlUi/Core/Types.h" namespace Rml { class Context; namespace Debugger { /** Helper class for generating geometry for the debugger. */ class Geometry { public: // Set the context to render through. static void SetContext(Context* context); // Renders a one-pixel rectangular outline. static void RenderOutline(Vector2f origin, Vector2f dimensions, Colourb colour, float width); // Renders a box. static void RenderBox(Vector2f origin, Vector2f dimensions, Colourb colour); // Renders a box with a hole in the middle. static void RenderBox(Vector2f origin, Vector2f dimensions, Vector2f hole_origin, Vector2f hole_dimensions, Colourb colour); private: Geometry(); }; } // namespace Debugger } // namespace Rml