srcRect possible?

Jan 25, 2009 at 4: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:
    STDMETHOD(Draw)(
        IN HDC hdc,
        IN const RECT* dstRect,
        IN OPTIONAL const RECT* srcRect
        ) = 0;

Can someone help me?