Claims
- 1. A method for overriding an original layout elastic for a graphical object comprising:
receiving a new layout elastic for a dimension of the graphical object; storing the new layout elastic; determining a resulting layout elastic from the new layout elastic and the original layout elastic; and returning the resulting layout elastic.
- 2. The method of claim 1 wherein the dimension is height.
- 3. The method of claim 1 wherein the dimension is width.
- 4. The method of claim 1 wherein the new layout elastic is defined as an OriginElastic and the determining step comprises:
copying the stored new layout elastic to the resulting layout elastic.
- 5. The method of claim 1 wherein the new layout elastic is defined as a rigid elastic representing a linear measurement and the determining step comprises:
accessing elastic parameters of the new layout elastic; accessing elastic parameters of the original layout elastic; computing override elastic parameters from the elastic parameters of the new layout elastic and the elastic parameters of the original layout elastic; and storing the override elastic parameters in the resulting layout elastic.
- 6. The method of claim 5 wherein the elastic parameters comprise:
the graphical object's minimum size; the graphical object's preferred size; the graphical object's compressibility coefficient; the graphical object's compress order; the graphical object's stretchiness coefficient; and the graphical object's stretch order.
- 7. The method of claim 1 wherein the resulting layout elastic is a non-rigid elastic.
- 8. The method of claim 1 wherein the elastic parameters of the resulting layout elastic are set so that applying an elastic add operation to the resulting layout elastic, the add operation adding first and last components of the resulting layout elastic would yield an elastic equal to the new layout elastic.
- 9. The method of claim 1 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein:
a preferred size of a first component of the resulting layout elastic is set equal to result of divide(A,B,x) operation where: A is a first component of the original layout elastic; B is a last component of the original layout elastic; and x is a preferred size of the new layout elastic.
- 10. The method of claim 1 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein:
a minimum size of a first component of the resulting layout elastic is set equal to result of divide(A,B,y) operation where: A is a first component of the original layout elastic; B is a last component of the original layout elastic; and x is a minimum size of the new layout elastic.
- 11. The method of claim 1 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein when a stretch order of a first component of the original layout elastic and a stretch order of a last component of the original layout elastic are equal, then a ratio between a stretchiness coefficient of a first component of the resulting layout elastic and a stretchiness coefficient of a last component of the resulting layout elastic equals a ratio between a stretchiness coefficient of a first component of the original layout elastic and a stretchiness coefficient of a last component of the original layout elastic.
- 12. The method of claim 1 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein:
when a stretch order of a first component of the original layout elastic is greater than a stretch order of a last component of the original layout elastic, then a stretch order of a first component of the resulting layout elastic is greater than a stretch order of a last component of the resulting layout elastic; and when a stretch order of a first component of the original layout elastic is less than a stretch order of a last component of the original layout elastic, then a stretch order of a first component of the resulting layout elastic is less than a stretch order of a last component of the resulting layout elastic.
- 13. An apparatus for overriding an original layout elastic for a graphical object comprising:
a new layout elastic for a dimension of the graphical object; and an evaluator determining a resulting layout elastic from the new layout elastic and the original layout elastic.
- 14. The apparatus of claim 13 wherein the dimension is height.
- 15. The apparatus of claim 13 wherein the dimension is width.
- 16. The apparatus of claim 13 wherein the new layout elastic is defined as an OriginElastic and the evaluator further comprises:
a mechanism to copy the new layout elastic to the resulting layout elastic.
- 17. The apparatus of claim 13 wherein the new layout elastic is defined as a rigid elastic representing a linear measurement and the evaluator further comprises:
elastic parameters of the new layout elastic; elastic parameters of the original layout elastic; a mechanism that computes override elastic parameters from the elastic parameters of the new layout elastic and the elastic parameters of the original layout elastic; and a mechanism that stores the override elastic parameters in the resulting layout elastic.
- 18. The apparatus of claim 17 wherein the elastic parameters comprise:
the graphical object's minimum size; the graphical object's preferred size; the graphical object's compressibility coefficient; the graphical object's compress order; the graphical object's stretchiness coefficient; and the graphical object's stretch order.
- 19. The apparatus of claim 13 wherein the resulting layout elastic is a non-rigid elastic.
- 20. The apparatus of claim 13 wherein the elastic parameters of the resulting layout elastic as set such that an elastic equal to the new layout elastic is constructed by applying an elastic add operation to the resulting layout elastic, the add operation adding first and last components of the resulting layout elastic.
- 21. The apparatus of claim 13 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein:
a preferred size of a first component of the resulting layout elastic is set equal to result of divide(A,B,x) operation where: A is a first component of the original layout elastic; B is a last component of the original layout elastic; and x is a preferred size of the new layout elastic.
- 22. The apparatus of claim 13 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein:
a minimum size of a first component of the resulting layout elastic is set equal to result of divide(A,B,y) operation where: A is a first component of the original layout elastic; B is a last component of the original layout elastic; and x is a minimum size of the new layout elastic.
- 23. The apparatus of claim 13 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein
when a stretch order of a first component of the original layout elastic and a stretch order of a last component of the original layout elastic are equal, then a ratio between a stretchiness coefficient of a first component of the resulting layout elastic and a stretchiness coefficient of a last component of the resulting layout elastic equals a ratio between a stretchiness coefficient of a first component of the original layout elastic and a stretchiness coefficient of a last component of the original layout elastic.
- 24. The apparatus of claim 13 wherein the original layout elastic is defined as an OriginElastic and the resulting layout elastic is defined as an OriginElastic and wherein:
when a stretch order of a first component of the original layout elastic is greater than a stretch order of a last component of the original layout elastic, then a stretch order of a first component of the resulting layout elastic is greater than a stretch order of a last component of the resulting layout elastic; and when a stretch order of a first component of the original layout elastic is less than a stretch order of a last component of the original layout elastic, then a stretch order of a first component of the resulting layout elastic is less than a stretch order of a last component of the resulting layout elastic.
- 25. A computer program product comprising:
- 26. A propagated signal carried on an electromagnetic waveform, the signal comprising a set of computer program instructions to:
receive a new layout elastic for a dimension of the graphical object; store the new layout elastic; determine a resulting layout elastic from the new layout elastic and the original layout elastic; and return the resulting layout elastic.
- 27. An apparatus for overriding an original layout elastic for a graphical object comprising:
a means for receiving a new layout elastic for a dimension of the graphical object; a means for storing the new layout elastic; a means for determining a resulting layout elastic from the new layout elastic and the original layout elastic; and a means for returning the resulting layout elastic.
RELATED APPLICATION
[0001] This application is a continuation of U.S. application Ser. No. 09/625,651, filed Jul. 26, 2000, which is a Continuation-in-Part of patent application 09/364,470 filed Jul. 30, 1999, the entire teachings of which are incorporated herein by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09625651 |
Jul 2000 |
US |
Child |
10770770 |
Feb 2004 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09364470 |
Jul 1999 |
US |
Child |
09625651 |
Jul 2000 |
US |