Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Printing issues
Printing issues [message #19430] |
Wed, 03 December 2008 12:17 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
I have added a couple of methods to support "native resolution" printing (in Win32, in Posix printing goes through PDF anyway).
bool IsNative() const { return native; }
void BeginNative();
void EndNative();
After BeginNative, mapping is 1:1 to printer pixels.
Size GetNativeDpi() const;
int GetNativeX(int x) const;
int GetNativeY(int x) const;
void Native(int& x, int& y) const;
void Native(Point& p) const;
void Native(Size& sz) const;
void Native(Rect& r) const;
These methods convert from dots to native pixels.
Mirek
|
|
|
Goto Forum:
Current Time: Sat Sep 21 01:03:36 CEST 2024
Total time taken to generate the page: 0.05182 seconds
|