文件名称:PfzDrawingSample
- 所属分类:
- GDI/图象编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 89kb
- 下载次数:
- 0次
- 提 供 者:
- 胡*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本文介绍了类,代表了全托管代码的位图。
一个位图,基本上是一维数组,使用了一些计算被视为一个二维数组看到。在这种数组中的值可以是颜色索引(当使用调色板)或RGB值直接使用某种类型的编码。托管位图具有PixelArray,这是一个字节数组,GrayscaleBitmap的诠释(System.Int32的),为ArgbBitmap为ColorBitmap颜色和简单的类。他们也知道有一个宽度,计算出的X / Y坐标。高度值,然后计算作为其宽度PixelArray长度划分。他们当然有一些其他方法。它们可以被转换成和相互System.Drawing.Bitmaps,也可以复制一个唯一的“块“到另一个
-A bitmap is basically a one-dimensional array that uses some calculation to be seen as a two-dimensional array. The values in such array could be color indexes (when using color palettes) or the RGB values directly, using some type of encoding. The managed bitmaps are simple classes that have a PixelArray, which is an array of bytes, for GrayscaleBitmap, of int (System.Int32) for ArgbBitmap and of Color for ColorBitmap. They also have a Width to know to calculate a X/Y coordinate. The height value is then calculated as a division of the PixelArray length by its Width. They, of course, have some additional methods. They can be converted to and from each other and System.Drawing.Bitmaps, and also can copy only "blocks" from one to another
一个位图,基本上是一维数组,使用了一些计算被视为一个二维数组看到。在这种数组中的值可以是颜色索引(当使用调色板)或RGB值直接使用某种类型的编码。托管位图具有PixelArray,这是一个字节数组,GrayscaleBitmap的诠释(System.Int32的),为ArgbBitmap为ColorBitmap颜色和简单的类。他们也知道有一个宽度,计算出的X / Y坐标。高度值,然后计算作为其宽度PixelArray长度划分。他们当然有一些其他方法。它们可以被转换成和相互System.Drawing.Bitmaps,也可以复制一个唯一的“块“到另一个
-A bitmap is basically a one-dimensional array that uses some calculation to be seen as a two-dimensional array. The values in such array could be color indexes (when using color palettes) or the RGB values directly, using some type of encoding. The managed bitmaps are simple classes that have a PixelArray, which is an array of bytes, for GrayscaleBitmap, of int (System.Int32) for ArgbBitmap and of Color for ColorBitmap. They also have a Width to know to calculate a X/Y coordinate. The height value is then calculated as a division of the PixelArray length by its Width. They, of course, have some additional methods. They can be converted to and from each other and System.Drawing.Bitmaps, and also can copy only "blocks" from one to another
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PfzDrawingSample
................\Pfz
................\...\Box.cs
................\...\Caching
................\...\.......\GCUtils.cs
................\...\.......\KeepAliveGCHandle.cs
................\...\.......\KeepAliveWeakReference.cs
................\...\.......\ResultCache.cs
................\...\.......\UnsafeWeakArray.cs
................\...\.......\WeakArray.cs
................\...\.......\WeakDelegate.cs
................\...\.......\WeakDelegateBase.cs
................\...\.......\WeakDelegateSet.cs
................\...\.......\WeakDictionary.cs
................\...\.......\WeakHashSet.cs
................\...\.......\WeakKeyDictionary.cs
................\...\.......\WeakList.cs
................\...\Cloneable.cs
................\...\Collections
................\...\...........\EnumeratorDistributor.cs
................\...\...........\EnumeratorDistributorClient.cs
................\...\...........\IFastEnumerator.cs
................\...\...........\ReadOnlyDictionary.cs
................\...\...........\ReadOnlyHashSet.cs
................\...\Date.cs
................\...\DisplayNameAttribute.cs
................\...\ExceptionAwareStream.cs
................\...\Extensions
................\...\..........\PfzAsyncForEachExtensions.cs
................\...\..........\PfzAttributeExtensions.cs
................\...\..........\PfzClonningExtensions.cs
................\...\..........\PfzDictionaryExtensions.cs
................\...\..........\PfzDisplayNameExtensions.cs
................\...\..........\PfzDisposeExtensions.cs
................\...\..........\PfzMonitorLockExtensions.cs
................\...\..........\PfzNumericConversionsExtensions.cs
................\...\..........\PfzReaderWriterLockExtensions.cs
................\...\..........\PfzStreamExtensions.cs
................\...\..........\PfzTypeExtensions.cs
................\...\IAdvancedDisposable.cs
................\...\IExceptionAwareDisposable.cs
................\...\Pfz.csproj
................\...\Pfz.snk
................\...\Properties
................\...\..........\AssemblyInfo.cs
................\...\Threading
................\...\.........\AbortSafe.cs
................\...\.........\ActionRunner.cs
................\...\.........\LockConfiguration.cs
................\...\.........\ThreadSafeDisposable.cs
................\...\.........\ThreadSafeExceptionAwareDisposable.cs
................\...\.........\TicksOrIncrement.cs
................\...\.........\UnlimitedThreadPool.cs
................\...\Time.cs
................\Pfz.Drawing
................\...........\ArgbBitmap.cs
................\...........\ColorBitmap.cs
................\...........\Extensions
................\...........\..........\PfzBitmapExtensions.cs
................\...........\..........\PfzColorExtensions.cs
................\...........\GrayscaleBitmap.cs
................\...........\IBitmap.cs
................\...........\ManagedBitmap.cs
................\...........\Pfz.Drawing.csproj
................\...........\Pfz.Drawing.csproj.user
................\...........\Pfz.Drawing.snk
................\...........\Properties
................\...........\..........\AssemblyInfo.cs
................\PfzDrawingSample
................\................\Form1.cs
................\................\Form1.Designer.cs
................\................\Form1.resx
................\................\PfzDrawingSample.csproj
................\................\Program.cs
................\................\Properties
................\................\..........\AssemblyInfo.cs
................\................\..........\Resources.Designer.cs
................\................\..........\Resources.resx
................\................\..........\Settings.Designer.cs
................\................\..........\Settings.settings
................\PfzDrawingSample.sln
................\Pfz
................\...\Box.cs
................\...\Caching
................\...\.......\GCUtils.cs
................\...\.......\KeepAliveGCHandle.cs
................\...\.......\KeepAliveWeakReference.cs
................\...\.......\ResultCache.cs
................\...\.......\UnsafeWeakArray.cs
................\...\.......\WeakArray.cs
................\...\.......\WeakDelegate.cs
................\...\.......\WeakDelegateBase.cs
................\...\.......\WeakDelegateSet.cs
................\...\.......\WeakDictionary.cs
................\...\.......\WeakHashSet.cs
................\...\.......\WeakKeyDictionary.cs
................\...\.......\WeakList.cs
................\...\Cloneable.cs
................\...\Collections
................\...\...........\EnumeratorDistributor.cs
................\...\...........\EnumeratorDistributorClient.cs
................\...\...........\IFastEnumerator.cs
................\...\...........\ReadOnlyDictionary.cs
................\...\...........\ReadOnlyHashSet.cs
................\...\Date.cs
................\...\DisplayNameAttribute.cs
................\...\ExceptionAwareStream.cs
................\...\Extensions
................\...\..........\PfzAsyncForEachExtensions.cs
................\...\..........\PfzAttributeExtensions.cs
................\...\..........\PfzClonningExtensions.cs
................\...\..........\PfzDictionaryExtensions.cs
................\...\..........\PfzDisplayNameExtensions.cs
................\...\..........\PfzDisposeExtensions.cs
................\...\..........\PfzMonitorLockExtensions.cs
................\...\..........\PfzNumericConversionsExtensions.cs
................\...\..........\PfzReaderWriterLockExtensions.cs
................\...\..........\PfzStreamExtensions.cs
................\...\..........\PfzTypeExtensions.cs
................\...\IAdvancedDisposable.cs
................\...\IExceptionAwareDisposable.cs
................\...\Pfz.csproj
................\...\Pfz.snk
................\...\Properties
................\...\..........\AssemblyInfo.cs
................\...\Threading
................\...\.........\AbortSafe.cs
................\...\.........\ActionRunner.cs
................\...\.........\LockConfiguration.cs
................\...\.........\ThreadSafeDisposable.cs
................\...\.........\ThreadSafeExceptionAwareDisposable.cs
................\...\.........\TicksOrIncrement.cs
................\...\.........\UnlimitedThreadPool.cs
................\...\Time.cs
................\Pfz.Drawing
................\...........\ArgbBitmap.cs
................\...........\ColorBitmap.cs
................\...........\Extensions
................\...........\..........\PfzBitmapExtensions.cs
................\...........\..........\PfzColorExtensions.cs
................\...........\GrayscaleBitmap.cs
................\...........\IBitmap.cs
................\...........\ManagedBitmap.cs
................\...........\Pfz.Drawing.csproj
................\...........\Pfz.Drawing.csproj.user
................\...........\Pfz.Drawing.snk
................\...........\Properties
................\...........\..........\AssemblyInfo.cs
................\PfzDrawingSample
................\................\Form1.cs
................\................\Form1.Designer.cs
................\................\Form1.resx
................\................\PfzDrawingSample.csproj
................\................\Program.cs
................\................\Properties
................\................\..........\AssemblyInfo.cs
................\................\..........\Resources.Designer.cs
................\................\..........\Resources.resx
................\................\..........\Settings.Designer.cs
................\................\..........\Settings.settings
................\PfzDrawingSample.sln