当前位置: 首页>>代码示例>>C#>>正文


C# GpGraphics类代码示例

本文整理汇总了C#中GpGraphics的典型用法代码示例。如果您正苦于以下问题:C# GpGraphics类的具体用法?C# GpGraphics怎么用?C# GpGraphics使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


GpGraphics类属于命名空间,在下文中一共展示了GpGraphics类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GraphicsPlus

        public GraphicsPlus(HDC hdc)
        {
            GpGraphics Graphics = new GpGraphics();

            lastResult = NativeMethods.GdipCreateFromHDC(hdc, out Graphics);

            SetNativeGraphics(Graphics);
        }
开发者ID:intille,项目名称:mitessoftware,代码行数:8,代码来源:GraphicsPlus.cs

示例2: GdipIsVisiblePathPointI

GdipIsVisiblePathPointI(GpPath  path, int x, int y,
                        GpGraphics graphics, out bool result);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Paths.cs

示例3: GraphicsPlus

 protected GraphicsPlus(GpGraphics Graphics)
 {
     lastResult = GpStatus.Ok;
     SetNativeGraphics(Graphics);
 }
开发者ID:misiek,项目名称:foo,代码行数:5,代码来源:GraphicsPlus.cs

示例4: Dispose

 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
     }
     // free native resources if there are any.
     if ((IntPtr)nativeGraphics != IntPtr.Zero)
     {
         NativeMethods.GdipDeleteGraphics(nativeGraphics);
         nativeGraphics = new GpGraphics();
     }
 }
开发者ID:misiek,项目名称:foo,代码行数:12,代码来源:GraphicsPlus.cs

示例5: GdipDrawPie

GdipDrawPie(GpGraphics graphics, GpPen pen, float x, float y,
      float width, float height, float startAngle,
float sweepAngle);
开发者ID:intille,项目名称:mitessoftware,代码行数:3,代码来源:Drawing.cs

示例6: GdipFillPie

GdipFillPie(GpGraphics graphics, GpBrush brush, float x, float y,
float width, float height, float startAngle, float sweepAngle);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例7: GdipDrawEllipse

GdipDrawEllipse(GpGraphics graphics, GpPen pen, float x, float y,
          float width, float height);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例8: GdipDrawRectangleI

GdipDrawRectangleI(GpGraphics graphics, GpPen pen, int x, int y,
       int width, int height);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例9: GdipFillPieI

GdipFillPieI(GpGraphics graphics, GpBrush brush, int x, int y,
int width, int height, float startAngle, float sweepAngle);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例10: GdipFillEllipseI

GdipFillEllipseI(GpGraphics graphics, GpBrush brush, int x, int y,
  int width, int height);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例11: GdipFillEllipse

 GdipFillEllipse(GpGraphics graphics, GpBrush brush, float x, float y,
                 float width, float height);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例12: GdipFillPolygon2I

 GdipFillPolygon2I(GpGraphics graphics, GpSolidFill brush,
 GpPoint[] points, int count);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例13: GdipDrawBeziersI

GdipDrawBeziersI(GpGraphics graphics, GpPen pen, GpPoint[] points,
          int count);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例14: GdipDrawRectangle

GdipDrawRectangle(GpGraphics graphics, GpPen pen, float x, float y,
       float width, float height);
开发者ID:intille,项目名称:mitessoftware,代码行数:2,代码来源:Drawing.cs

示例15: GdipFillPath

GdipFillPath(GpGraphics graphics, GpBrush brush, GpPath path);
开发者ID:intille,项目名称:mitessoftware,代码行数:1,代码来源:Drawing.cs


注:本文中的GpGraphics类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。