AlignOrg.st
changeset 191 cb2815b77100
parent 126 25df58661f32
child 216 a5f97668e99a
equal deleted inserted replaced
190:f8de925054bf 191:cb2815b77100
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 
    12 
    13 LayoutOrigin subclass:#AlignmentOrigin
    13 LayoutOrigin subclass:#AlignmentOrigin
    14 	 instanceVariableNames:'leftAlignmentFraction topAlignmentFraction'
    14 	instanceVariableNames:'leftAlignmentFraction topAlignmentFraction'
    15 	 classVariableNames:''
    15 	classVariableNames:''
    16 	 poolDictionaries:''
    16 	poolDictionaries:''
    17 	 category:'Graphics-Geometry'
    17 	category:'Graphics-Geometry'
    18 !
    18 !
    19 
    19 
    20 !AlignmentOrigin class methodsFor:'documentation'!
    20 !AlignmentOrigin class methodsFor:'documentation'!
    21 
    21 
    22 copyright
    22 copyright
   155 
   155 
   156     "Modified: 1.9.1995 / 02:23:53 / claus"
   156     "Modified: 1.9.1995 / 02:23:53 / claus"
   157 !
   157 !
   158 
   158 
   159 literalArrayEncoding
   159 literalArrayEncoding
   160     "encode myself as an array.
   160     "encode myself as an array, from which a copy of the receiver
       
   161      can be reconstructed with #decodeAsLiteralArray.
   161      The encoding is: 
   162      The encoding is: 
   162 	(#AlignmentOrigin orgOffsX relOrgX orgOffsY relOrgY leftAlignFract topAlignFract)"
   163         (#AlignmentOrigin orgOffsX relOrgX orgOffsY relOrgY leftAlignFract topAlignFract)"
   163 
   164 
   164     ^ super literalArrayEncoding
   165     ^ super literalArrayEncoding
   165       , (Array
   166       , (Array
   166 	    with:leftAlignmentFraction
   167             with:leftAlignmentFraction
   167 	    with:topAlignmentFraction)
   168             with:topAlignmentFraction)
   168 
   169 
   169     "Modified: 1.9.1995 / 02:43:35 / claus"
   170     "Modified: 1.9.1995 / 02:43:35 / claus"
       
   171     "Modified: 22.4.1996 / 12:59:56 / cg"
   170 ! !
   172 ! !
   171 
   173 
   172 !AlignmentOrigin methodsFor:'initialization'!
   174 !AlignmentOrigin methodsFor:'initialization'!
   173 
   175 
   174 initialize
   176 initialize
   232 ! !
   234 ! !
   233 
   235 
   234 !AlignmentOrigin class methodsFor:'documentation'!
   236 !AlignmentOrigin class methodsFor:'documentation'!
   235 
   237 
   236 version
   238 version
   237     ^ '$Header: /cvs/stx/stx/libview2/Attic/AlignOrg.st,v 1.8 1995-11-23 17:42:13 cg Exp $'
   239     ^ '$Header: /cvs/stx/stx/libview2/Attic/AlignOrg.st,v 1.9 1996-04-22 11:01:24 cg Exp $'
   238 ! !
   240 ! !