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 » Painter.DrawImage bug
Re: Painter.DrawImage bug [message #24573 is a reply to message #24492] Sun, 24 January 2010 22:27 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13979
Registered: November 2005
Ultimate Member
unodgs wrote on Wed, 20 January 2010 08:07

I used ChPaint to paint the image. It works ok when using it diretly in Paint method, but using it through the Painter rasterizer it gives different (wrong) results.

PS: It looks like Painter's DrawImage instead of drawing part of image (like in this line - we should see only a top left img's rectangle of size cx and cy)
w.DrawImage(0, 0, cx, cy, img, RectC(0, 0, cx, cy));

it scales down the whole image to a cx and cy size.




Ah, stupid leftovers... Looks I will have to develop the correct clipping there...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Variable pitch fonts
Next Topic: Alpha in Color
Goto Forum:
  


Current Time: Mon May 13 13:04:08 CEST 2024

Total time taken to generate the page: 0.01670 seconds