[PD] GEM: Nembie question

Thomas Ouellet Fredericks iamonthebeach at gmail.com
Wed Nov 2 18:34:47 CET 2005


This patch SHOULD keep the pixel size of a rectangle.

You MUST set the size of the gem window when you create it. Press the
red button then change the width and height of the rect.

Tom


On 11/2/05, B. Bogart <ben at ekran.org> wrote:
> Hi there,
>
> Upon first reading your message I thought you were talking about how the
> gemwindow aspect ratio effects how things look, indeed this is not at
> all what you are talking about.
>
> Since gem is vector the "pixel dimensions" really have no meaning at
> all, so it would be up to you, who understands such things, to make that
> happen. It would be some calculation of the change in the gem window
> used to change the gemwin "view" so that the objects appear to be the
> same size.
>
> Now do you want the gemwindow to actually be bigger, or do you want your
> smaller objects stay the same size and set into a thick black border?
> For the latter you can manage something using border 0, and offset
> messages to set the gemwindow into the center of a larger screen.
>
> b.
>
> m.n. wrote:
> > Hello PD-list,
> > There is probably a simple solution, but I'm still
> > very new to GEM and haven't figured it out.
> >
> > I'd like to make a graphical environment that DOESN'T
> > resize when I change the dimensions of the gem
> > window...that is, if I change the dimensions of the
> > window, the objects inside will retain the same pixel
> > dimensions from a 'center' viewpoint.
> >
> > Thanks for any help!
> > -m
> >
> >
> >
> > __________________________________
> > Yahoo! FareChase: Search multiple travel sites in one click.
> > http://farechase.yahoo.com
> >
> > _______________________________________________
> > PD-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> >
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keepsize.pd
Type: application/octet-stream
Size: 1477 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20051102/154482f7/attachment.obj>


More information about the Pd-list mailing list