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 #61156 is a reply to message #61155] Tue, 26 November 2024 17:05 Go to previous message
emve is currently offline  emve
Messages: 10
Registered: February 2022
Promising Member
mirek wrote on Tue, 26 November 2024 14:03
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.


Ok, thank you for the clarification Mirek.
And yes, ScreenRichEdit will be welcome Smile.
Michal


 
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:52:31 CEST 2025

Total time taken to generate the page: 0.03143 seconds