Exemple #1
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Color.A);
     writer.Write(this.Color.R);
     writer.Write(this.Color.G);
     writer.Write(this.Color.B);
 }
Exemple #2
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Version);
     writer.Write(this.HasRealMergedData);
     writer.WritePSDUnicode(this.WriterName);
     writer.WritePSDUnicode(this.ReaderName);
     writer.Write(this.FileVersion);
 }
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     foreach (string name in this._names)
     {
         writer.Write((byte)name.Length);
         writer.Write(name.ToCharArray());
     }
 }
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     foreach (string name in this._names)
     {
         writer.Write((byte)name.Length);
         writer.Write(name.ToCharArray());
     }
 }
Exemple #5
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write((short)this.ColorSpace);
     for (int i = 0; i < 4; i++)
         writer.Write(this.Color[i]);
     writer.Write(this.Opacity);
     writer.Write((byte)(this.kind ? 1 : 0));
 }
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Version);
     writer.Write(this.HasRealMergedData);
     writer.WritePSDUnicode(this.WriterName);
     writer.WritePSDUnicode(this.ReaderName);
     writer.Write(this.FileVersion);
 }
Exemple #7
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Type);
     if (this.BlendKey != null)
     {
         writer.Write("8BIM");
         writer.Write(this.BlendKey);
     }
 }
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write((uint)1);
     writer.Write(this.GridCycle);
     writer.Write((uint)this.Guides.Count);
     foreach (GridGuide guide in this.Guides)
     {
         guide.Write(writer);
     }
 }
        protected override void SubWrite(BinaryPSDWriter writer)
        {
            writer.Write(this.hRes);
            writer.Write(this.hResUnit);
            writer.Write(this.widthUnit);

            writer.Write(this.vRes);
            writer.Write(this.vResUnit);
            writer.Write(this.heightUnit);
        }
Exemple #10
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write((short)this.ColorSpace);
     for (int i = 0; i < 4; i++)
     {
         writer.Write(this.Color[i]);
     }
     writer.Write(this.Opacity);
     writer.Write((byte)(this.kind ? 1 : 0));
 }
Exemple #11
0
        protected override void SubWrite(BinaryPSDWriter writer)
        {
            writer.Write(this.hRes);
            writer.Write(this.hResUnit);
            writer.Write(this.widthUnit);

            writer.Write(this.vRes);
            writer.Write(this.vResUnit);
            writer.Write(this.heightUnit);
        }
        protected override void SubWrite(BinaryPSDWriter writer)
        {
            writer.Write(Format);
            writer.Write(Width);
            writer.Write(Height);
            writer.Write(WidthBytes);
            writer.Write(Size);
            writer.Write(CompressedSize);
            writer.Write(BitPerPixel);
            writer.Write(Planes);

            //int nTotalData = this.nSize - 28; // header
            //TODO: writer.Write(this._readPixels);
        }
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write((uint)1);
     writer.Write(this.GridCycle);
     writer.Write((uint)this.Guides.Count);
     foreach (GridGuide guide in this.Guides)
         guide.Write(writer);
 }
 public void Write(BinaryPSDWriter writer)
 {
     writer.Write(this.Location);
     writer.Write((byte)(this.IsHorizontal ? 1 : 0));
 }
Exemple #15
0
        protected override void SubWrite(BinaryPSDWriter writer)
        {
            writer.Write(Format);
            writer.Write(Width);
            writer.Write(Height);
            writer.Write(WidthBytes);
            writer.Write(Size);
            writer.Write(CompressedSize);
            writer.Write(BitPerPixel);
            writer.Write(Planes);

            //int nTotalData = this.nSize - 28; // header
            //TODO: writer.Write(this._readPixels);
        }
Exemple #16
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.StartLengthBlock(typeof(uint));
     writer.Write(this.Name);
     writer.EndLengthBlock();
 }
Exemple #17
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Data);
 }
Exemple #18
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     //writer.Write((uint)0);
     //writer.Write((uint)16);
     writer.Write(this.Data);
 }
Exemple #19
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Type);
     if (this.BlendKey != null)
     {
         writer.Write("8BIM");
         writer.Write(this.BlendKey);
     }
 }
 public void Write(BinaryPSDWriter writer)
 {
     writer.Write(this.Location);
     writer.Write((byte)(this.IsHorizontal ? 1 : 0));
 }
Exemple #21
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     //writer.Write((byte)(this.Settings ? 1 : 0));
     writer.Write(Unknown);
 }
Exemple #22
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     //writer.Write((uint)0);
     //writer.Write((uint)16);
     writer.Write(this.Data);
 }
Exemple #23
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     //writer.Write((byte)(this.Settings ? 1 : 0));
     writer.Write(Unknown);
 }
Exemple #24
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Data);
 }
Exemple #25
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write(this.Color.A);
     writer.Write(this.Color.R);
     writer.Write(this.Color.G);
     writer.Write(this.Color.B);
 }
Exemple #26
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write((byte)(this.Value ? 1 : 0));
 }
Exemple #27
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.StartLengthBlock(typeof(uint));
     writer.Write(this.Name);
     writer.EndLengthBlock();
 }
Exemple #28
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.WritePSDDouble((double)this.Point.X);
     writer.WritePSDDouble((double)this.Point.Y);
 }
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     //TODO:
 }
Exemple #30
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.WritePSDDouble((double)this.Point.X);
     writer.WritePSDDouble((double)this.Point.Y);
 }
Exemple #31
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
 }
Exemple #32
0
 protected override void SubWrite(BinaryPSDWriter writer)
 {
     writer.Write((byte)(this.Value ? 1 : 0));
 }