Class Magnifier¶
Defined in File magnifier.h
Class Documentation¶
-
class Magnifier¶
Renders a magnified region of the scene at the cursor position. By default, the magnifier will magnify a 400x300 region below the cursor by a 2x magnitude.
Remark
Since MirAL 5.5
Public Functions
-
Magnifier()¶
-
explicit Magnifier(live_config::Store &config_store)¶
Construct a
Magnifier
instance with access to a live config store.Available options:
{magnifier, enable}: Whether the magnifier is enabled.
{magnifier, magnification}: The magnification scale.
{magnifier, capture_size, width}: The width of the rectangular region that will be magnified.
{magnifier, capture_size, height}: The height of the rectangular region that will be magnified.
-
void operator()(mir::Server &server)¶
-
Magnifier()¶