本文整理汇总了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);
}
示例2: GdipIsVisiblePathPointI
GdipIsVisiblePathPointI(GpPath path, int x, int y,
GpGraphics graphics, out bool result);
示例3: GraphicsPlus
protected GraphicsPlus(GpGraphics Graphics)
{
lastResult = GpStatus.Ok;
SetNativeGraphics(Graphics);
}
示例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();
}
}
示例5: GdipDrawPie
GdipDrawPie(GpGraphics graphics, GpPen pen, float x, float y,
float width, float height, float startAngle,
float sweepAngle);
示例6: GdipFillPie
GdipFillPie(GpGraphics graphics, GpBrush brush, float x, float y,
float width, float height, float startAngle, float sweepAngle);
示例7: GdipDrawEllipse
GdipDrawEllipse(GpGraphics graphics, GpPen pen, float x, float y,
float width, float height);
示例8: GdipDrawRectangleI
GdipDrawRectangleI(GpGraphics graphics, GpPen pen, int x, int y,
int width, int height);
示例9: GdipFillPieI
GdipFillPieI(GpGraphics graphics, GpBrush brush, int x, int y,
int width, int height, float startAngle, float sweepAngle);
示例10: GdipFillEllipseI
GdipFillEllipseI(GpGraphics graphics, GpBrush brush, int x, int y,
int width, int height);
示例11: GdipFillEllipse
GdipFillEllipse(GpGraphics graphics, GpBrush brush, float x, float y,
float width, float height);
示例12: GdipFillPolygon2I
GdipFillPolygon2I(GpGraphics graphics, GpSolidFill brush,
GpPoint[] points, int count);
示例13: GdipDrawBeziersI
GdipDrawBeziersI(GpGraphics graphics, GpPen pen, GpPoint[] points,
int count);
示例14: GdipDrawRectangle
GdipDrawRectangle(GpGraphics graphics, GpPen pen, float x, float y,
float width, float height);
示例15: GdipFillPath
GdipFillPath(GpGraphics graphics, GpBrush brush, GpPath path);