Eric Hyche wrote:
> So if it has a negative pitch, where does dest_ptr
> point to? Just past the last pixel? That's what
> I gather from this:
>
>> /* check if bottom-up bitmaps: */
>> if (src_pitch < 0) src_ptr -=
(src_height-1) * src_pitch;
>> if (dest_pitch < 0) dest_ptr -=
(dest_height-1) * dest_pitch;
>
> That seems to move the pointer from just past the
> last pixel of the image to just past the last
> pixel of the first row.
That is the basic idea.
http://msdn2.microsoft.com/en-us/library/ms787796.aspx
--greg.
_______________________________________________
Video-dev mailing list
Video-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/video
-dev
|