• 大小: 0.1M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-11
  • 语言: C#
  • 标签: GDI+  wince  gdi  c#  gdiplus  

资源简介

GDI+for wince,有了这个就可以在wince上像在pc上一样做开发了!

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using OpenNETCF.Runtime.InteropServices.ComTypes;
using Color = System.Drawing.Color;
using PixelFormat = System.Drawing.Imaging.PixelFormat;
using BitmapData = System.Drawing.Imaging.BitmapData;

namespace OpenNETCF.GDIPlus
{
    public class BitmapPlus: ImagePlus
    {
public BitmapPlus(string filename)
{
    GpBitmap bitmap = new GpBitmap();

        lastResult = NativeMethods.GdipCreateBitmapFromFileICM(filename out bitmap);

    SetNativeImage((GpImage)(IntPtr)bitmap);
}

 
public BitmapPlus(IStream stream)
{
    GpBitmap bitmap = new GpBitmap();

        lastResult = NativeMethods.GdipCreateBitmapFromStreamICM(stream out bitmap);

    SetNativeImage((GpImage)(IntPtr)bitmap);
}


publi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5306  2007-10-31 11:34  Code\GDIPlusWrapper\BitmapPlus.cs

     文件      33825  2007-10-31 11:34  Code\GDIPlusWrapper\BrushPlus.cs

     文件       1896  2007-10-31 11:34  Code\GDIPlusWrapper\CustomLineCap.cs

     文件       3763  2007-10-31 11:34  Code\GDIPlusWrapper\DataTypes.cs

     文件      31323  2007-10-31 11:34  Code\GDIPlusWrapper\Enums.cs

     文件       2875  2007-10-31 11:34  Code\GDIPlusWrapper\FileStream.cs

     文件        635  2007-10-31 11:34  Code\GDIPlusWrapper\FILETIME.cs

     文件       1970  2007-10-31 11:34  Code\GDIPlusWrapper\FontFamilyPlus.cs

     文件       7768  2007-10-31 11:34  Code\GDIPlusWrapper\FontPlus.cs

     文件      28246  2007-10-31 11:34  Code\GDIPlusWrapper\GraphicsPath.cs

     文件      72401  2007-10-31 11:34  Code\GDIPlusWrapper\GraphicsPlus.cs

     文件       6186  2007-10-31 11:34  Code\GDIPlusWrapper\Image.cs

     文件      12751  2007-10-31 11:34  Code\GDIPlusWrapper\ImageAttributesPlus.cs

     文件        999  2007-10-31 11:34  Code\GDIPlusWrapper\IStream.cs

     文件       7987  2007-10-31 11:34  Code\GDIPlusWrapper\Matrix.cs

     文件       2812  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Bitmaps.cs

     文件      16933  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Brushes.cs

     文件       1124  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Common.cs

     文件       9758  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Drawing.cs

     文件        374  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Fonts.cs

     文件       5890  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Graphics.cs

     文件       2573  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\ImageAttributes.cs

     文件      10086  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Images.cs

     文件       1290  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Matrices.cs

     文件       1923  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Others.cs

     文件       9637  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Paths.cs

     文件       6413  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Pens.cs

     文件       4807  2007-10-31 11:34  Code\GDIPlusWrapper\NativeMethods\Regions.cs

     文件       4807  2007-10-31 11:34  Code\GDIPlusWrapper\OpenNETCF.GDIPlus.csproj

     文件        243  2007-10-31 11:34  Code\GDIPlusWrapper\OpenNETCF.GDIPlus.csproj.user

............此处省略43个文件信息

评论

共有 条评论