<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi, </FONT></DIV>
<DIV><FONT face=Arial size=2>gops have some specialities, which are not that 
easy to deal with...</FONT></DIV>
<DIV><FONT face=Arial size=2>in every patch, which is used as a gop, two things 
are saved: the canvas size of the normal patch (when opened) and the canvas 
(coords) dimensions of the gop in the parent patch. if you use a text-editor to 
look at the pd-patch then you look at the very first and last line of the 
patch...</FONT></DIV>
<DIV><FONT face=Arial size=2>the x units p p and Y u p p are only related to the 
size of the normal patch size (1/x-size and 1/Y-size). you can change them only 
by adjusting the dimensions of the patch window (mousedragging) when the 
gop-patch is opened.</FONT></DIV>
<DIV><FONT face=Arial size=2>the size of the gop (which will show in the parent 
window) are changed by the properties-dialog of the parent-patch: create a gop 
in a parent-patch, click properties, and then open the gop and save(!) it. now 
the gop will remember these&nbsp;dimensions everytime you open or insert 
it.</FONT></DIV>
<DIV><FONT face=Arial size=2>to have the same scaling like in the parent patch 
the dimensions of the gop and the size of the gop patch should be 
equal...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>besides the problems of the size, i also didn`t 
like the name displaying in the gop (and also the borders,&nbsp;just&nbsp;my 
opinion). so i always lay a canvas below all other stuff/objects in the 
gop-patch. this has alos the&nbsp;advantage, that i know the size of the gop and 
it is easier to&nbsp;scale the patch window with the mouse and the gop name does 
not appear in the parent patch (it is hidden by the canvas).</FONT></DIV>
<DIV><FONT face=Arial size=2>after the 10th gop i stopped doing this with 
mouse-dragging and properties-editing, but started to change </FONT><FONT 
face=Arial size=2>this&nbsp;manually in a text-editor.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and now there are still two problems left: if you 
are on windows, the dimensions change (tcl/tk-specific-problem) by 2 pixels 
everytime you open and save again... so you will have a lot of readjusting again 
and again. and for any reason (which i dont know why) the x-size of the coords 
has to be (sometimes) lower by a value of 2. sometimes.&nbsp;if your gop patch 
canvas has the dimensions 300/200 then it is ok, the coords can also be 300/200. 
but if the size is 302/202, still the coords must be 300/200. looks like a 
rounding error, but could also be only windows-specific or a tcl/tk 
problem.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>my experience is also, that graphics in&nbsp;gops 
are slower...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>still, they are a good thing to use (for some 
purposes).</FONT></DIV>
<DIV><FONT face=Arial size=2>marius.</FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:buck@defaced.net" title=buck@defaced.net>Jordan J</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  href="mailto:pd-list@iem.kug.ac.at" 
  title=pd-list@iem.kug.ac.at>pd-list@iem.kug.ac.at</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, February 01, 2003 10:12 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [PD] Graph on Parent 
  questions</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I've been attempting to use 
  graph on parent.&nbsp; Why is it that the scale of the parent-canvas is way 
  different than that of the subpatch?&nbsp; Is there a legitimate reason for 
  this?&nbsp; </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Also, what are the functions 
  of the settings "X units per pixel" and "Y units per pixel" in the subpatch 
  properties area?&nbsp; I can't seem to change them when "graph on parent" is 
  on and when it's off, changing them doesn't do anything.&nbsp; 
  Thanks</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>- 
Jordan</FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>