~ubuntu-branches/ubuntu/oneiric/pdfmod/oneiric

« back to all changes in this revision

Viewing changes to lib/PdfSharp/PdfSharp.Drawing/XForm.cs

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-09-29 17:34:49 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100929173449-4ezagrzettatjk36
Tags: 0.9.0-1
* New upstream release
* debian/copyright: Document PdfSharp.SharpZipLib/*
* Drop all patches: committed upstream
* No change bump of Standards-Version from 3.8.4 to 3.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
// Authors:
4
4
//   Stefan Lange (mailto:Stefan.Lange@pdfsharp.com)
5
5
//
6
 
// Copyright (c) 2005-2008 empira Software GmbH, Cologne (Germany)
 
6
// Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany)
7
7
//
8
8
// http://www.pdfsharp.com
9
9
// http://sourceforge.net/projects/pdfsharp
42
42
#endif
43
43
using PdfSharp.Internal;
44
44
using PdfSharp.Drawing.Pdf;
45
 
using PdfSharp.Fonts.TrueType;
 
45
using PdfSharp.Fonts.OpenType;
46
46
using PdfSharp.Pdf;
47
47
using PdfSharp.Pdf.IO;
48
48
using PdfSharp.Pdf.Advanced;
88
88
 
89
89
#if GDI
90
90
    /// <summary>
91
 
    /// Initializes a new instance of the XForm class such that it can be drawn on the specifed graphics
 
91
    /// Initializes a new instance of the XForm class such that it can be drawn on the specified graphics
92
92
    /// object.
93
93
    /// </summary>
94
94
    /// <param name="gfx">The graphics object that later is used to draw this form.</param>
118
118
 
119
119
#if GDI
120
120
    /// <summary>
121
 
    /// Initializes a new instance of the XForm class such that it can be drawn on the specifed graphics
 
121
    /// Initializes a new instance of the XForm class such that it can be drawn on the specified graphics
122
122
    /// object.
123
123
    /// </summary>
124
124
    /// <param name="gfx">The graphics object that later is used to draw this form.</param>
412
412
        this.transform = value;
413
413
      }
414
414
    }
415
 
    internal XMatrix transform = XMatrix.Identity;
 
415
    internal XMatrix transform = new XMatrix();  //XMatrix.Identity;
416
416
 
417
417
    internal PdfResources Resources
418
418
    {
543
543
    internal PdfFormXObject pdfForm;
544
544
 
545
545
    internal XGraphicsPdfRenderer pdfRenderer;
 
546
 
 
547
#if WPF && !SILVERLIGHT
 
548
    /// <summary>
 
549
    /// Gets a value indicating whether this image is cmyk.
 
550
    /// </summary>
 
551
    /// <value><c>true</c> if this image is cmyk; otherwise, <c>false</c>.</value>
 
552
    public override bool IsCmyk
 
553
    {
 
554
      get { return false; } // not supported and not relevant
 
555
    }
 
556
 
 
557
    /// <summary>
 
558
    /// Gets a value indicating whether this image is JPEG.
 
559
    /// </summary>
 
560
    /// <value><c>true</c> if this image is JPEG; otherwise, <c>false</c>.</value>
 
561
    public override bool IsJpeg
 
562
    {
 
563
      get { return base.IsJpeg; }// not supported and not relevant
 
564
    }
 
565
 
 
566
    /// <summary>
 
567
    /// Gets the JPEG memory stream (if IsJpeg returns true).
 
568
    /// </summary>
 
569
    /// <value>The memory.</value>
 
570
    public override MemoryStream Memory
 
571
    {
 
572
      get { throw new NotImplementedException(); }
 
573
    }
 
574
#endif
546
575
  }
547
576
}
 
 
b'\\ No newline at end of file'