Design engine for fitting content to a medium
First Claim
1. A method of fitting content elements of a composition to a media layout, said media layout having a content rendering space for presenting information contained in said content elements, said method comprising:
- a) grouping said content elements into a plurality of groups;
b) initializing content scale factors that are indicative of a relative portion of said content rendering space utilized by said content elements, each of said groups having an associated content scale factor;
c) computing extent values for said content elements using said content scale factors, said extent values indicating a portion of said content rendering space occupied by said content elements; and
d) determining whether said content elements fit within said content rendering space of said media layout, wherein when it is determined that said content elements do not fit within said media layout, said method further includesdetermining associated non-fit factors for said groups of content elements,recomputing said content scale factors for said groups of content elements based at least in part upon said determined non-fit factors,recomputing said extent values for said content elements using the recomputed content scale factors.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of fitting content elements of a composition to a media layout is disclosed. Each content element has an associated content type, and the media layout has a content rendering space for presenting information contained in the content elements. For each content type, a content scale factor is initialized and extent values are computed. If the content elements do not fit within the media layout, then non-fit factors are determined, the scale factors and extent values are recomputed and these steps are repeated until the content fits. Another method computes a layout of a composition in a recursive fashion using a design tree. Design children components of a current component in the design tree are identified, and new media components between the current component and the identified design children components are created. A media division for each media component indicates a portion of the layout for each media component. Another method computes a layout of a composition for a chosen medium. The composition is represented in a media tree that has components, each associated with a media region of the chosen medium. The method steps down through the media tree of the composition and assigns tentative media regions to each of the components. The extent of each of the components is measured to return a set of values indicating a media region of the medium that is required by each of the components. Finally, the method steps up through the media tree of the composition and assigns new media regions to each of the components.
179 Citations
24 Claims
-
1. A method of fitting content elements of a composition to a media layout, said media layout having a content rendering space for presenting information contained in said content elements, said method comprising:
-
a) grouping said content elements into a plurality of groups; b) initializing content scale factors that are indicative of a relative portion of said content rendering space utilized by said content elements, each of said groups having an associated content scale factor; c) computing extent values for said content elements using said content scale factors, said extent values indicating a portion of said content rendering space occupied by said content elements; and d) determining whether said content elements fit within said content rendering space of said media layout, wherein when it is determined that said content elements do not fit within said media layout, said method further includes determining associated non-fit factors for said groups of content elements, recomputing said content scale factors for said groups of content elements based at least in part upon said determined non-fit factors, recomputing said extent values for said content elements using the recomputed content scale factors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of computing a layout of a composition in a recursive fashion using a design description, said design description including design components having associated content elements, said method comprising:
-
determining whether a current component of said design description is a primitive, wherein when it is determined that said current component is a primitive, returning an extent for said current component; identifying design children components of said current component; creating new media components between said current component and said identified design children components, each media component having an associated media division indicating a portion of said layout for each media component; and solving for the media division of said current component in order to return an extent for said current component by recursively calling said method. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A method of computing a layout of a composition for a chosen medium, said composition at least partially represented in a media specification, said media specification having a plurality of components and each component associated with a media region of said chosen medium, said method comprising:
-
assigning a layout option to said composition, said layout option indicative of an arrangement for assigning media regions of said medium to said associated components; stepping down through said media specification of said composition and assigning tentative media regions to each of said components, said tentative media regions based in part upon said layout option; measuring the extent of said components to return a set of values for each component indicating a media region of said medium required by each component; and stepping up through said media specification of said composition and assigning new media regions to each of said components, each of said new media regions based in part upon said returned set of values for each component, whereby said new media regions of said components represent substantially said layout of said composition in said chosen medium. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A method of fitting a composition to a media layout, said method comprising:
-
a) receiving a plurality content elements that contain information to be presented in said media layout, said content elements being associated with particular regions of said media layout; b) initializing scale factors, each scale factor being associated with a region of said media layout; c) computing extent values for said content elements using the scale factor for the region in which the content element is located, said extent values indicating a portion of said media layout occupied by said content elements; d) determining whether said content elements fit within said media layout, wherein when it is determined that said content elements do not fit within said media layout, said method further includes recomputing said scale factors for said regions, and recomputing said extent values for said content elements using the recomputed content scale factors; e) displaying said content elements in said media layout, whereby said composition appears to a user as fitting in said media layout. - View Dependent Claims (21)
-
-
22. A computer-readable medium comprising computer code for fitting content elements of a composition to a media layout, said media layout having a content rendering space for presenting information contained in said content elements, said computer code of said computer-readable medium effecting the following:
-
a) grouping said content elements into a plurality of groups; b) initializing content scale factors that are indicative of a relative portion of said content rendering space utilized by said content elements, each of said groups having an associated content scale factor; c) computing extent values for said content elements using said content scale factors, said extent values indicating a portion of said content rendering space occupied by said content elements; and d) determining whether said content elements fit within said content rendering space of said media layout, wherein when it is determined that said content elements do not fit within said media layout, said method further includes determining associated non-fit factors for said groups of content elements, recomputing said content scale factors for said groups of content elements based at least in part upon said determined non-fit factors, recomputing said extent values for said content elements using the recomputed content scale factors.
-
-
23. A computer-readable medium comprising computer code for computing a layout of a composition for a chosen medium, said composition at least partially represented in a media specification, said media specification having a plurality of components and each component associated with a media region of said chosen medium, said computer code of said computer-readable medium effecting the following:
-
assigning a layout option to said composition, said layout option indicative of an arrangement for assigning media regions of said medium to said associated components; stepping down through said media specification of said composition and assigning tentative media regions to each of said components, said tentative media regions based in part upon said layout option; measuring the extent of said components to return a set of values for each component indicating a media region of said medium required by each component; and stepping up through said media specification of said composition and assigning new media regions to each of said components, each of said new media regions based in part upon said returned set of values for each component, whereby said new media regions of said components represent substantially said layout of said composition in said chosen medium.
-
-
24. A computer-readable medium comprising computer code for fitting a composition to a media layout, said computer code of said computer-readable medium effecting the following:
-
a) receiving a plurality content elements that contain information to be presented in said media layout, said content elements being associated with particular regions of said media layout; b) initializing scale factors, each scale factor being associated with a region of said media layout; c) computing extent values for said content elements using the scale factor for the region in which the content element is located, said extent values indicating a portion of said media layout occupied by said content elements; d) determining whether said content elements fit within said media layout, wherein when it is determined that said content elements do not fit within said media layout, said method further includes recomputing said scale factors for said regions, and recomputing said extent values for said content elements using the recomputed content scale factors; e) displaying said content elements in said media layout, whereby said composition appears to a user as fitting in said media layout.
-
Specification