Epok Engine

EPOK RUNTIME

epok::ui_anchor::detail::fits

Function · 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.

Function

Performs `fits` as part of the ui anchor service module.

Belongs to
epok::ui_anchor::detail
Header
ui_anchor_service.hpp
Overloads
1

Declaration

Declaration
inline bool fits(const Content& box,Fixed margin)

Performs `fits` as part of the ui anchor service module.

ParameterTypeMeaning
boxconst Content &Not documented; consult the linked header.
marginFixedNot documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "ui_anchor_service.hpp"

// Assume these named values have been initialized with valid data:
// const Content & box
// Fixed margin

auto result = epok::ui_anchor::detail::fits(box, margin);

Trade-offs and warnings

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

Declared in runtime/ui_anchor_service.hpp:49

Related members