摘要 |
A printer 20 , which has functions of analyzing and printing an XHTML document, additionally has an SVGPI 37 that analyzes SVG statements and draws vector figures. The SVGPI 37 is activated, in place of an XML parser 34 , to analyze each SVG statement included in a specified XHTML document, create an element, and additionally register the created element in a DOM tree. A layouter 38 lays out an element box corresponding to the created element, based on dimensions of the element box specified by the SVGPI 37 . An RPI 40 , in cooperation with the SVGPI 37 , draws the created element in a memory 50.
|