Examples of ZoneRecord


Examples of flash.swf.tags.ZoneRecord

     * override this method.
     */
    public ZoneRecord build(int character)
    {
        // Return an empty Zone Record...
        ZoneRecord zoneRecord = new ZoneRecord();
        zoneRecord.numZoneData = 2;
        zoneRecord.zoneData = new long[] {0, 0};
        zoneRecord.zoneMask = 0;
        return zoneRecord;
    }
View Full Code Here

Examples of org.apache.flex.swf.types.ZoneRecord

        indent++;
        if (glyphs)
        {
            for (int i = 0; i < tag.getZoneTable().length; i++)
            {
                ZoneRecord record = tag.getZoneTable()[i];
                indent();
                out.print("<ZoneRecord num=\"" + record.getNumZoneData() +
                          "\" maskX=\"" + record.isZoneMaskX() +
                          "\" maskY=\"" + record.isZoneMaskY() +
                          "\">");
                out.print(record.getZoneData0().getData() + " " +
                          record.getZoneData1().getData() + " ");
                out.println("</ZoneRecord>");
            }
        }
        indent--;
        indent();
View Full Code Here

Examples of org.apache.flex.swf.types.ZoneRecord

        bitStream.byteAlign();
        bitStream.readUB(6); // reserved
        final boolean zoneMaskY = bitStream.readBit();
        final boolean zoneMaskX = bitStream.readBit();

        final ZoneRecord zoneRecord = new ZoneRecord();
        zoneRecord.setZoneData0(zoneData0);
        zoneRecord.setZoneData1(zoneData1);
        zoneRecord.setZoneMaskY(zoneMaskY);
        zoneRecord.setZoneMaskX(zoneMaskX);
        return zoneRecord;
    }
View Full Code Here

Examples of tv.porst.swfretools.parser.structures.ZoneRecord

    final List<ZoneRecord> zoneTable = new ArrayList<ZoneRecord>();

    int toParse = header.getNormalizedLength() - 2 - 1;

    while (toParse > 0) {
      final ZoneRecord zoneRecord = ZoneRecordParser.parse(parser, String.format("DefineFontAlignZones::ZoneTable[%d]", zoneTable.size()));
      zoneTable.add(zoneRecord);

      toParse -= calculateLength(zoneRecord);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.