ExMujoco.Types.FontScale (ExMujoco v0.2.3)

Copy Markdown View Source

mjtFontScale_ — font scale, used at context creation. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

Summary

Functions

mjFONTSCALE_50 is 50 — 50% scale, suitable for low-res rendering.

mjFONTSCALE_100 is 100 — normal scale, suitable in the absence of DPI scaling.

mjFONTSCALE_150 is 150 — 150% scale.

mjFONTSCALE_200 is 200 — 200% scale.

mjFONTSCALE_250 is 250 — 250% scale.

mjFONTSCALE_300 is 300 — 300% scale.

The name behind an integer. An atom is already one.

The integer behind a name. An integer is already one.

Every value, as {name, integer}, in the order the header lists them.

Types

t()

@type t() :: integer()

Functions

mjfontscale_50()

@spec mjfontscale_50() :: 50

mjFONTSCALE_50 is 50 — 50% scale, suitable for low-res rendering.

mjfontscale_100()

@spec mjfontscale_100() :: 100

mjFONTSCALE_100 is 100 — normal scale, suitable in the absence of DPI scaling.

mjfontscale_150()

@spec mjfontscale_150() :: 150

mjFONTSCALE_150 is 150 — 150% scale.

mjfontscale_200()

@spec mjfontscale_200() :: 200

mjFONTSCALE_200 is 200 — 200% scale.

mjfontscale_250()

@spec mjfontscale_250() :: 250

mjFONTSCALE_250 is 250 — 250% scale.

mjfontscale_300()

@spec mjfontscale_300() :: 300

mjFONTSCALE_300 is 300 — 300% scale.

to_atom(value)

@spec to_atom(integer() | atom()) :: atom() | nil

The name behind an integer. An atom is already one.

to_integer(value)

@spec to_integer(t() | atom()) :: integer() | nil

The integer behind a name. An integer is already one.

values()

@spec values() :: [{atom(), integer()}]

Every value, as {name, integer}, in the order the header lists them.