...atleast in the case of printers when accessed via GDI+ in .NET. For example, when a printer reports a DpiX of 600 and you say:
g->DrawLine(Pens::Black, 0.0f, 50.0f, 600.0f, 50.0f);
...the line drawn goes about three-fourths of the way across an A4 page. Some smart guy somewhere decided that it would be great to use a 1/100 inch co-ordinate system for printers so that the drawing routines used for video output would produce more or less the same size on the printer as well.
Thursday, August 27, 2009
Subscribe to:
Post Comments (Atom)
About Me
- Agnel CJ Kurian
- C/C++ Programmer doing CAD on Windows. Some web development experience. Bangalorean.
Blog Archive
Labels
- .net (11)
- advocacy (1)
- apache (2)
- code (1)
- direct3d (1)
- drawing (1)
- geometry (1)
- graphics (1)
- humour (1)
- javascript (1)
- links (1)
- microsoft (1)
- morons (1)
- postgresql (1)
- programming (4)
- python (1)
- rant (5)
- software (1)
- subversion (2)
- svn (1)
- tools (11)
- trac (1)
- truecrypt (1)
- typing (1)
- vc++ (14)
- video (1)
- vs2008 (1)
- windows-forms (1)
- windows7 (1)
No comments:
Post a Comment