Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

I have been provided with below 8 images

1. Top left corner

2. Bottom left corner

3. Top right corner

4. Bottom right corner

5. Top middle

6. Bottom middle

7. Left middle

8. Right middle

 

Is it possible to use all these images[Using Tiling] in a single ImageWidget to display a complete image? If possible, Please help me providing some sample.

Not possible to load all the images to image widget and display complete image; you can load single image only. There is a concept of image tiling where you can draw single image multiple times in widget extent.
 
You can add custom draw hander for an image widget and draw all the 8 images in widget extent. You have to use IIMAGE_Draw to draw the images. Refer doc/sample code below:
Adding custom draw handler to a widget:https://developer.brewmp.com/resources/tech-guides/widgets-technology-gu... draw handler app: download c_widgetsampledrawhandler_app_o.zip from page above under sample code on left side.

Not possible to load all the images to image widget and display complete image; you can load single image only. There is a concept of image tiling where you can draw single image multiple times in widget extent.
 
You can add custom draw hander for an image widget and draw all the 8 images in widget extent. You have to use IIMAGE_Draw to draw the images. Refer doc/sample code below:
Adding custom draw handler to a widget:https://developer.brewmp.com/resources/tech-guides/widgets-technology-gu... draw handler app: download c_widgetsampledrawhandler_app_o.zip from page above under sample code on left side.