When left aligned, the default at align == 0.0
, the anchor is the
left coordinate of the first character of the first line.
When right aligned, at align == 1.0
, the anchor is the right
coordinate of the last character.
When centered, at align == 0.5
, the anchor is at the center.
When top aligned, the default at valign == 0.0
, the anchor is at the
top of this block of text.
When bottom aligned, at valign == 1.0
, the anchor is at the bottom.
# Reference coordinates of this block of text
#
# When left aligned, the default at `align == 0.0`, the anchor is the
# left coordinate of the first character of the first line.
# When right aligned, at `align == 1.0`, the anchor is the right
# coordinate of the last character.
# When centered, at `align == 0.5`, the anchor is at the center.
#
# When top aligned, the default at `valign == 0.0`, the anchor is at the
# top of this block of text.
# When bottom aligned, at `valign == 1.0`, the anchor is at the bottom.
var anchor: Point3d[Float]
lib/gamnit/font.nit:39,2--50,27