.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Font::TTF::Anchor 3" .TH Font::TTF::Anchor 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Font::TTF::Anchor \- Anchor points for GPOS tables .SH DESCRIPTION .IX Header "DESCRIPTION" The Anchor defines an anchor point on a glyph providing various information depending on how much is available, including such information as the co-ordinates, a curve point and even device specific modifiers. .SH "INSTANCE VARIABLES" .IX Header "INSTANCE VARIABLES" .IP x 4 .IX Item "x" XCoordinate of the anchor point .IP y 4 .IX Item "y" YCoordinate of the anchor point .IP p 4 .IX Item "p" Curve point on the glyph to use as the anchor point .IP xdev 4 .IX Item "xdev" Device table (delta) for the xcoordinate .IP ydev 4 .IX Item "ydev" Device table (delta) for the ycoordinate .IP xid 4 .IX Item "xid" XIdAnchor for multiple master horizontal metric id .IP yid 4 .IX Item "yid" YIdAnchor for multiple master vertical metric id .SH METHODS .IX Header "METHODS" .SS new .IX Subsection "new" Creates a new Anchor .SS read($fh) .IX Subsection "read($fh)" Reads the anchor from the given file handle at that point. The file handle is left at an arbitrary read point, usually the end of something! .ie n .SS "out($fh, $style)" .el .SS "out($fh, \f(CW$style\fP)" .IX Subsection "out($fh, $style)" Outputs the Anchor to the given file handle at this point also addressing issues of deltas. If \f(CW$style\fR is set, then no output is sent to the file handle. The return value is the output string. .ie n .SS $a\->out_xml($context) .el .SS \f(CW$a\fP\->out_xml($context) .IX Subsection "$a->out_xml($context)" Outputs the anchor in XML .SH AUTHOR .IX Header "AUTHOR" Martin Hosken . .SH LICENSING .IX Header "LICENSING" Copyright (c) 1998\-2016, SIL International (http://www.sil.org) .PP This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.