Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » DrawWin32.cpp: PrintDraw::InitPrinter()
Re: DrawWin32.cpp: PrintDraw::InitPrinter() [message #19253 is a reply to message #19187] Sun, 23 November 2008 11:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Tue, 18 November 2008 10:09


If someone really relies on the fixed 600x600 dpi resolution of a upp generic printer device, they may possibly not like my suggestion.



Well, but that is how physical dimensions in U++ are defined.

When you are doing output with physical representation (can be e.g. PDF too), it is guaranteed that 1 pixel is equivalent to 1 pixel on 600dpi printer. We call this unit the "dot". Rellying on fixed 600 dpi resolutions seems to be very convenient.

What exactly was the problem? Also, what OS is it? Win32?

I believe anything not really related to Images should print OK, with correct aspect ratio.

As for images, well, pehaps we should not relly on GDI to rescale the image and do it ourselves - that should solve the problem.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to use non integer coordinates (like OpenGL) with Draw?
Next Topic: Extensions to Draw...Ops
Goto Forum:
  


Current Time: Sat Apr 27 17:50:41 CEST 2024

Total time taken to generate the page: 0.03457 seconds