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 » RichText,QTF,RTF... » Paste Properly Scaled Images Into RichEdit
Re: Paste Properly Scaled Images Into RichEdit [message #61155 is a reply to message #61151] Tue, 26 November 2024 14:03 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14257
Registered: November 2005
Ultimate Member
emve wrote on Mon, 25 November 2024 10:20
I'm just wondering where those numbers came from:

index.php?t=getfile&id=7010&private=0

But anyway, someone fix the proper image pasting to RichEdit, please.

Michal




TLDR: Nothing to fix, but I can add ScreenRichEdit

The final target of RichText is printer. So pixel values are sort of irrelevant. U++ has two coordinate systems (only...): Screen pixels and 600DPI laser printer "pixels" (these are called "DOTS" Smile. So what you see is an attempt to approximately convert screen image size to paper. As most displays are 96DPI, we get 600/96 ratio. And those 2000 values are just sanity limit. But also beware that those "dots" are then converted back, so e.g. changing this to 1/1 does not help.

What you want is possible, but needs some work. Adding to the qeueu, please remind me if nothing happens in 1-2 months.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: String EncodeHtml
Next Topic: Create PDF with custom graphics through QTF
Goto Forum:
  


Current Time: Mon May 12 01:39:27 CEST 2025

Total time taken to generate the page: 0.00452 seconds