ÒÔÎı¾·½Ê½²é¿´Ö÷Ìâ - ÖÐÎÄXMLÂÛ̳ - רҵµÄXML¼¼ÊõÌÖÂÛÇø (http://bbs.xml.org.cn/index.asp) -- ¡º SVG/GML/VRML/X3D/XAML ¡» (http://bbs.xml.org.cn/list.asp?boardid=21) ---- [ÍƼö]EvolGrafiX SVGCanvas 1.0 (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=14808) |
-- ×÷ÕߣºSCYANGYU -- ·¢²¼Ê±¼ä£º2/26/2005 12:16:00 PM -- [ÍƼö]EvolGrafiX SVGCanvas 1.0 SVGCanvas 1.0 Company (Author): Alexander Adam SVGCanvas is a Delphi VCL Component fully written in ObjectPascal. SVGCanvas emulates a TCanvas (used by most drawing routines in Delphi) but outputs to a SVG-File instead to Screen. SVGCanvas makes it very easy to use existing graphics and outputting them to SVG by just changing a few lines. http://www.devarchive.com/f1801.html
[´ËÌù×ÓÒѾ±»×÷ÕßÓÚ2005-2-26 14:56:13±à¼¹ý]
|
-- ×÷ÕߣºSCYANGYU -- ·¢²¼Ê±¼ä£º2/26/2005 12:20:00 PM -- About SVGCanvas SVGCanvas is a Delphi VCL Component fully written in ObjectPascal. SVGCanvas emulates a TCanvas (used by most drawing routines in Delphi) but outputs to a SVG-File instead to Screen. SVGCanvas makes it very easy to use existing graphics and outputting them to SVG by just changing a few lines. Benefits
SVG Canvas Feature Matrix TCanvas Emulation (Provides a HDC Handle) |
-- ×÷ÕߣºSCYANGYU -- ·¢²¼Ê±¼ä£º2/26/2005 12:24:00 PM -- SVG Canvas How To Use You can use the TSVGCanvas in the exact same way like you do with the Printers Unit of Delphi. First add SVGPrinter to your uses definition: uses Windows, Graphics, ..., SVGPrinter; Now you have access to the global SVGCanvas Object. To print something into the SVGCanvas you must first setup an output filename: SVGCanvas.Filename := 'c:\output.svg'; SVGCanvas.BeginDoc('400px', '50%', 'My Title'); Parameter 1 - The Width of the Document, can be px, cm, pt or % or when left empty 100% is taken SVGCanvas.Canvas.Pen.Color := clRed; SVGCanvas.EndDoc(True); Parameter 1 - Set to true if you want to preview the document after it was written Chart1.DrawToMetaCanvas(SVGCanvas.Canvas, Rect(0, 0, Chart1.Width, Chart1.Height)); Filename -- Must be set. Specifies the output SVG-File. |
-- ×÷ÕߣºSCYANGYU -- ·¢²¼Ê±¼ä£º2/26/2005 12:25:00 PM -- SVG Canvas System Requirements SVG Canvas System Requirements |
W 3 C h i n a ( since 2003 ) Æì Ï վ µã ËÕICP±¸05006046ºÅ¡¶È«¹úÈË´ó³£Î¯»á¹ØÓÚά»¤»¥ÁªÍø°²È«µÄ¾ö¶¨¡·¡¶¼ÆËã»úÐÅÏ¢ÍøÂç¹ú¼ÊÁªÍø°²È«±£»¤¹ÜÀí°ì·¨¡· |
46.875ms |