Widget.applyAlign - multiple declarations

Function Widget.applyAlign

Applies alignment for content of size sz - set rectangle rc to aligned value of content inside of initial value of rc.

Prototypes

static void applyAlign(
  ref Rect rc,
  Point sz,
  Align ha,
  Align va
);

void applyAlign(
  ref Rect rc,
  Point sz
);

Function Widget.applyAlign

Applies alignment for content of size sz - set rectangle rc to aligned value of content inside of initial value of rc.

Prototypes

static void applyAlign(
  ref Rect rc,
  Point sz,
  Align ha,
  Align va
);

void applyAlign(
  ref Rect rc,
  Point sz
);

Function Widget.applyAlign

Applies alignment for content of size sz - set rectangle rc to aligned value of content inside of initial value of rc.

Prototypes

static void applyAlign(
  ref Rect rc,
  Point sz,
  Align ha,
  Align va
);

void applyAlign(
  ref Rect rc,
  Point sz
);

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0