This project is read-only.

srcRect possible?

Jan 25, 2009 at 5:39 PM
Hello there,

i am trying to draw only a portion of a loaded png image to the form. Is this possible? With the current AlphaMobileSourcecode there seems to be no Draw Method which accepts an additional srcRect to define which part of the originial image to draw.

Although i found out that imaging.h actually defines it:
        IN HDC hdc,
        IN const RECT* dstRect,
        IN OPTIONAL const RECT* srcRect
        ) = 0;

Can someone help me?