In my way

On my way

常用链接

统计

最新评论

GDI+绘图

Graphics    graphics(hdc);
    GraphicsPath path;
    
    LinearGradientBrush linGrBrushB(
        Point(
070),
        Point(
14070),
        Color(
255000),   // opaque red
        Color(2552550255));  // opaque blue

    LinearGradientBrush linGrBrushF(
        Point(
2070),
        Point(
12070),
        Color(
2552550255),   // opaque red
        Color(255000));  // opaque blue
    graphics.FillEllipse(&linGrBrushB, 00140140);
    graphics.FillEllipse(
&linGrBrushF, 2020100100);
    
//Play
    SolidBrush  brush(Color(25500255));
   FontFamily  fontFamily(L
"Times New Roman");
   Font        font(
&fontFamily, 24, FontStyleRegular, UnitPixel);
   PointF      pointF(
49.0f58.0f);

    graphics.DrawString(L
"Play",-1,&font, pointF, &brush);

posted on 2009-04-10 15:54 谷主 阅读(2069) 评论(1)  编辑 收藏 引用

评论

# re: GDI+绘图 2009-04-10 18:25 瞎说的

反锯齿一把,似乎会更加好看  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理