* Fixed a typo in OpenJPEG.J2KLayerInfo (only affected debug display) git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3118 52acb1d6-8a22-11de-b505-999d5b087335
65 lines
1.9 KiB
C#
65 lines
1.9 KiB
C#
/// <summary>**************************************************************************
|
|
///
|
|
/// $Id: MonochromeInputRestrictedProfile.java,v 1.1 2002/07/25 14:56:56 grosbois Exp $
|
|
///
|
|
/// Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650
|
|
/// $Date $
|
|
/// ***************************************************************************
|
|
/// </summary>
|
|
using System;
|
|
using ICCCurveType = CSJ2K.Icc.Tags.ICCCurveType;
|
|
namespace CSJ2K.Icc
|
|
{
|
|
|
|
/// <summary> This class is a 1 component RestrictedICCProfile
|
|
///
|
|
/// </summary>
|
|
/// <version> 1.0
|
|
/// </version>
|
|
/// <author> Bruce A Kern
|
|
/// </author>
|
|
public class MonochromeInputRestrictedProfile:RestrictedICCProfile
|
|
{
|
|
/// <summary> Get the type of RestrictedICCProfile for this object</summary>
|
|
/// <returns> kMonochromeInput
|
|
/// </returns>
|
|
override public int Type
|
|
{
|
|
get
|
|
{
|
|
return kMonochromeInput;
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary> Factory method which returns a 1 component RestrictedICCProfile</summary>
|
|
/// <param name="c">Gray TRC curve
|
|
/// </param>
|
|
/// <returns> the RestrictedICCProfile
|
|
/// </returns>
|
|
public static new RestrictedICCProfile createInstance(ICCCurveType c)
|
|
{
|
|
return new MonochromeInputRestrictedProfile(c);
|
|
}
|
|
|
|
/// <summary> Construct a 1 component RestrictedICCProfile</summary>
|
|
/// <param name="c">Gray TRC curve
|
|
/// </param>
|
|
private MonochromeInputRestrictedProfile(ICCCurveType c):base(c)
|
|
{
|
|
}
|
|
|
|
/// <returns> String representation of a MonochromeInputRestrictedProfile
|
|
/// </returns>
|
|
public override System.String ToString()
|
|
{
|
|
System.Text.StringBuilder rep = new System.Text.StringBuilder("Monochrome Input Restricted ICC profile" + eol);
|
|
|
|
rep.Append("trc[GRAY]:" + eol).Append(trc[GRAY]).Append(eol);
|
|
|
|
return rep.ToString();
|
|
}
|
|
|
|
/* end class MonochromeInputRestrictedProfile */
|
|
}
|
|
} |