Forum: wxRuby Create Image

Posted by Matteo Picciolini (kerbero1984)
on 2010-01-26 17:37
I, i'm a problem with wx.
I will do realized a software who take 8 piece of a photo frame and
place a jpeg image on the middle of frame .
How display them? How gem i will use ?
I try with a Flex Grid Sizer but the result isn't good.
Thanks
Posted by hendra kusuma (Guest)
on 2010-01-27 03:14
(Received via mailing list)
Not quite sure what you want
if you want similar size of every frame,
there is Grid Sizer
Posted by Matteo Picciolini (kerbero1984)
on 2010-01-27 16:43
hendra kusuma wrote:
> Not quite sure what you want
> if you want similar size of every frame,
> there is Grid Sizer


Not exactly. I'm try to compose an image by use 9 differt image, 8 like 
this

 *   *   *
 *       *
 *   *   *

and one in the middle . The picture will united to make a photo frame, 
and the * are resize a run time .
I try with GridSizer but i want no space within the picture .
Thanks
Posted by hendra kusuma (Guest)
on 2010-01-28 03:07
(Received via mailing list)
On Wed, Jan 27, 2010 at 10:43 PM, Matteo Picciolini 
<lists@ruby-forum.com>wrote:

>  *       *
>  *   *   *
>
> and one in the middle . The picture will united to make a photo frame,
> and the * are resize a run time .
> I try with GridSizer but i want no space within the picture .
> Thanks
>

unfortunately, I am not good with this
but from my short experience with wx lib, your best shot would probably
your previous flex grid sizer

unless you decide not to use wx, then SDL gem can be a consideration
since it is a lib for making a game, you should have all necessary 
function
to work with image
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.