Epok Engine

EPOK RUNTIME

epok::HudRenderer::rectangle

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Performs `rectangle` as part of native HUD layout, drawing and focus navigation.

Belongs to
epok::HudRenderer
Header
hud.hpp
Overloads
1

Declaration

Declaration
void rectangle(int,int x0,int y0,int x1,int y1,const uint8_t* color)

Performs `rectangle` as part of native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
arg1intNot documented; consult the linked header.
x0intNot documented; consult the linked header.
y0intNot documented; consult the linked header.
x1intNot documented; consult the linked header.
y1intNot documented; consult the linked header.
colorconst uint8_t *Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "hud.hpp"

// Assume these named values have been initialized with valid data:
// int arg1
// int x0
// int y0
// int x1
// int y1
// const uint8_t * color

epok::HudRenderer& object = /* obtain a valid instance */;

object.rectangle(arg1, x0, y0, x1, y1, color);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/hud.hpp:108

Related members