Function CE::Rendering::Geometry::get_anchor

Function Documentation

AnchorType CE::Rendering::Geometry::get_anchor(const std::string &anchor)

Declaration: [[nodiscard]]

Translate a case-sensitive two-letter pivot name.

See also

Detailed guide

Parameters:

anchor – TL,TC,TR,CL/ML,CR/MR,BL,BC,BR; other strings resolve to Center.

Returns:

Named preset without throwing for an unknown name.