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
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, Thomas Ouellet Fredericks hat gesagt: // Thomas Ouellet Fredericks wrote:
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.
I found, that part of your calculation is unnecessary, because you divide and multiply with the width at the same time, which will always be times 1 anyway. Attached is a version where this is omited. Interestingly the factor to scale between screen pixels and the Gem coordinate (in the default view) only seems to depend on the height of the Gem window.
Frank Barknecht _ ______footils.org_ __goto10.org__
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?
Sadly, I actually DO want the gemwindow to be bigger, so that my objects (or parts of objects) which will be off the screen on a smaller window will become visible in a larger window.
Additionally, how can I get the dimensions of the window (in order to calculate my resize) if I use |fullscreen 1( ? I need to use fullscreen, as I want my GEM to be easy to use for someone other than myself, and I need to be able to have no idea what their screen dimensions are.
On an unrelated note: Is there a list somewhere of GEM objects and what commands they can receive, similar to pd's help screen? -m
--- "B. Bogart" ben@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.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Am 02.11.2005 um 18:51 schrieb m.n.:
On an unrelated note: Is there a list somewhere of GEM objects and what commands they can receive, similar to pd's help screen?
http://gem.iem.at/manual/ListObjects.html
also m.n.