Font::TTF::Segarr - Online Linux Manual PageSection : 3pm
Updated : 2020-12-27
Source : perl v5.32.0
Note : User Contributed Perl Documentation

NAMEFont::TTF::Segarr − Segmented array

DESCRIPTIONHolds data either directly or indirectly as a series of arrays. This class looks after the set of arrays and masks the individual sub-arrays, thus saving a class, we hope.

INSTANCE VARIABLESAll instance variables do not start with a space. The segmented array is simply an array of segments Each segment is a more complex affair: START In terms of the array, the address for the 0th element in this segment. LEN Number of elements in this segment VAL The array which contains the elements

METHODS

Font::TTF::Segarr−>new($size)Creates a new segmented array with a given data size

$s>fastadd_segment($start, $is_sparse, @dat)Creates a new segment and adds it to the array assuming no overlap between the new segment and any others in the array. $is_sparse indicates whether the passed in array contains undefs or not. If false no checking is done (which is faster, but riskier). If equal to 2 then 0 is considered undef as well. Returns the number of segments inserted.

$s>add_segment($start, $overwrite, @dat)Creates a new segment and adds it to the array allowing for possible overlaps between the new segment and the existing ones. In the case of overlaps, elements from the new segment are deleted unless $overwrite is set in which case the elements already there are over-written. This method also checks the data coming in to see if it is sparse (i.e. contains undef values). Gaps cause new segments to be created or not to over-write existing values.

$s>tidyMerges any immediately adjacent segments

$s>at($addr, [$len])Looks up the data held at the given address by locating the appropriate segment etc. If $len > 1 then returns an array of values, spaces being filled with undef.

$s>remove($addr, [$len])Removes the item or items from addr returning them as an array or the first value in a scalar context. This is very like at, including padding with undef, but it deletes stuff as it goes.

$s>copyDeep copies this array

$s>copy_seg($seg)Creates a deep copy of a segment

BUGSNo known bugs.

AUTHORMartin Hosken <http://scripts.sil.org/FontUtils>.

LICENSINGCopyright (c) 1998−2016, SIL International (http://www.sil.org) 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.
0
Johanes Gumabo
Data Size   :   10,112 byte
man-Font::TTF::Segarr.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   6 / 166,001
Visitor ID   :     :  
Visitor IP   :   3.17.175.191   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Font::TTF::Segarr.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Font::TTF::Segarr.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Font::TTF::Segarr.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Font::TTF::Segarr.3pm|43|'br══─}─══ |'br══─}─══ )