Example #1
0
 public TextFormat(ShockwaveReader input)
 {
     Offset   = input.ReadBigEndian <int>();
     Height   = input.ReadBigEndian <short>();
     Ascent   = input.ReadBigEndian <short>();
     FontId   = input.ReadBigEndian <short>();
     Slant    = input.ReadBoolean();
     Padding  = input.ReadByte();
     FontSize = input.ReadBigEndian <short>();
     Color    = input.ReadColor();
 }
Example #2
0
 public TextFormat(ref ShockwaveReader input)
 {
     Offset   = input.ReadInt32();
     Height   = input.ReadInt16();
     Ascent   = input.ReadInt16();
     FontId   = input.ReadInt16();
     Slant    = input.ReadBoolean();
     Padding  = input.ReadByte();
     FontSize = input.ReadInt16();
     Color    = input.ReadColor();
 }
Example #3
0
        public ShapeCastProperties(ref ShockwaveReader input)
        {
            Type      = (ShapeType)input.ReadInt16();
            Rectangle = input.ReadRect();

            Pattern         = input.ReadInt16();
            ForegroundColor = input.ReadByte();
            BackgroundColor = input.ReadByte();
            IsFilled        = input.ReadBoolean(); //TODO:
            LineSize        = input.ReadByte();    //-1
            LineDirection   = input.ReadByte();    //-5
        }