Image Drawing

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
ritz
Quite a regular
Quite a regular
Posts: 49
Joined: Wed Jan 12, 2005 12:06

Image Drawing

Postby ritz » Thu Jun 02, 2005 10:05

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

Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 0 guests