请问谁用过Graphics32,听说Graphics32控件可以反走样画线,请问如何用Graphics32画一条线。

解决方案 »

  1.   

    http://www.g32.org/graphics32/faq.html
      

  2.   

    Q: What about drawing thick antialiazed lines?A: The only way you can draw thick lines is by using polygons. Create a new TPolygon32 instance, add the necessary segments, then transform it to the outline, using TPolygon32.Grow. Now you can rasterize the new outline using standard polygon drawing methods. You will find the sample code in Polygons_Ex project.