In message <506500000005000000664F0100-1073519706000@exchange.ni.com>,
msaxon writes
>As you haven't had an answer yet, I suspect the answer is 'no'.
>
>However, you can use GetBitmapData() to get the bitmap information,
>rearrange it yourself, then use SetBitmapData() to put the rearranged
>data back into the bitmap. The documentation on GetBitmapData()
>indicates how the data is arranged, so it shouldn't be too
>hard!
>
>--
>Martin.
In the end I just made multiple calls to the drawing function as shown
below; the canvas is already the same size as the image.
int CanvasDrawEntireBitmapVflip(int panelHandle, int controlID, int
nBitmapID)
{
/* Variables. */
int height, width, r1, r2;
GetCtrlAttribute (panelHandle, con
trolID, ATTR_HEIGHT, &height);
GetCtrlAttribute (panelHandle, controlID, ATTR_WIDTH,&width);
CanvasStartBatchDraw (panelHandle, controlID);
r2 = height -1;
for(r1=0;r1 CanvasDrawBitmap (panelHandle, controlID,
nBitmapID,MakeRect (r2, 0, 1, width), MakeRect (r1, 0, 1, width));
}
CanvasEndBatchDraw (panelHandle, controlID);
return 0;
}
--
Regards,
John