Package org.apache.flex.swf.types

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


    }

    private CXForm readColorTransform()
    {
        bitStream.byteAlign();
        final CXForm cx = new CXForm();
        final boolean hasAddTerms = bitStream.readBit();
        final boolean hasMultTerms = bitStream.readBit();
        final int nbits = bitStream.readUB(4);

        if (hasAddTerms)
        {
            cx.setAddTerm(
                    bitStream.readSB(nbits),
                    bitStream.readSB(nbits),
                    bitStream.readSB(nbits));
        }

        if (hasMultTerms)
        {
            cx.setMultTerm(
                    bitStream.readSB(nbits),
                    bitStream.readSB(nbits),
                    bitStream.readSB(nbits));
        }
View Full Code Here


    private void writePlaceObject(PlaceObjectTag tag)
    {
        tagBuffer.writeUI16(tag.getCharacter().getCharacterID());
        tagBuffer.writeUI16(tag.getDepth());
        writeMatrix(tag.getMatrix());
        final CXForm colorTransform = tag.getColorTransform();
        if (colorTransform != null)
            writeColorTransform(colorTransform);
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.types.CXForm

Copyright © 2018 www.massapicom. 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.