《05.Eclipse.RCP五常用技术-进阶开发.pptVIP

  • 4
  • 0
  • 约1.25万字
  • 约 49页
  • 2016-12-30 发布于北京
  • 举报
周甫(zoofchow@) * GC API 用GC画饼形图,常用画曲线的方法: drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) x,y为左上角坐标 width,height为曲线的宽度和长度 startAngle为横方向开始弧度 arcAngle为曲线画过的弧度 如果width=height,则为圆形 曲线画好后用以下方法填充颜色: fileArc(int x, int y, int width, int height, int startAngle, int arcAngle) x,y 窗口横座轴 窗口纵座轴 圆心坐标(x+widht,y+height)) startAngle arcAngle Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile . Copyright 2004-2011 Aspose Pty Ltd. 周甫(zoofchow@) * 示例 代码如下: Canvas drawing = new Canvas(this,SWT.NONE); drawing.addPaintListener(new PaintListener() { public void

文档评论(0)

1亿VIP精品文档

相关文档