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 » How to zoom images? [PARTLY SOLVED...]
Re: How to zoom images? [PARTLY SOLVED...] [message #7724 is a reply to message #7722] Wed, 17 January 2007 10:30 Go to previous message
mirek is currently offline  mirek
Messages: 14160
Registered: November 2005
Ultimate Member
Ordog wrote on Wed, 17 January 2007 02:18

i got a drawing which i wish to resize to always fit a canvas.
I read from this thread (rather old one thats why im asking) that there is only a rather complex method available using this api, is (was) that the case?


"drawing" or "Drawing"?

What exactly is "fit a canvas"?

Anyway, for drawing, it is trivial:

Drawing x;

void MyWidget::Paint(Draw& w) {
w.DrawDrawing(GetSize(), x);
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Create my own Rect for clipping?
Next Topic: Loading Image (from HttpClient)
Goto Forum:
  


Current Time: Sat Dec 07 21:58:38 CET 2024

Total time taken to generate the page: 0.01294 seconds