Page 1 of 1

Image Drawing

Posted: Thu Jun 02, 2005 10:05
by ritz
Hi All,

I have one basic query regarding image drawing. I am using defineImage function of image set class to define image and draw function of Image class for drawing the image.

1) If i give size same as image size it draws the proper image.
2) If i give size smaller the actaul image size, imgae cuts down. i.e. it picks up specified no of pixels from the image.
3) if i give size greater then the image size it fills the remaining area with white space.

Is their any method in CEGUI or OGRE to support image Comression and Streatch so that when i will define the image with different sizes every time app shows the complete image.

Thanks,
Ritu