49
edits
(→Notes) |
(→Notes) |
||
| Line 14: | Line 14: | ||
* There is only one page size per PrintDocument. | * There is only one page size per PrintDocument. | ||
* The size of the page is defined within the PrintDocument constructor. If the defined page size doesn't fit the printer's page size, the content get's aligned as specified by the 'scale' property (see below). | * The size of the page is defined within the PrintDocument constructor. If the defined page size doesn't fit the printer's page size, the content get's aligned as specified by the 'scale' property (see below). | ||
=== Open Questions === | |||
** What is (0,0)? The top left corner of the physical page OR of the page taking into account the print margin? | ** What is (0,0)? The top left corner of the physical page OR of the page taking into account the print margin? | ||
** Should there be different color spaces then RGB? There is a <a href="http://www.w3.org/TR/css3-gcpm/#cmyk-colors">proposal for CMYK colors in CSS</a>. | ** Should there be different color spaces then RGB? There is a <a href="http://www.w3.org/TR/css3-gcpm/#cmyk-colors">proposal for CMYK colors in CSS</a>. | ||
| Line 23: | Line 25: | ||
=== Possible values for the 'scale' property (see below) === | === Possible values for the 'scale' property (see below) === | ||
* 'scale': Scales the drawing while keeping the ration to to fit on the print paper size | * 'scale': Scales the drawing while keeping the ration to to fit on the print paper size | ||
* 'fit': Scales the drawing while not taking the ration of the printer paper size in account | * 'fit': Scales the drawing while not taking the ration of the printer paper size in account | ||
edits