next up previous contents index
Next: 32.4.3 PagePool/ProxyTrace Up: 32.4 Page pools Previous: 32.4.1 PagePool/Math

32.4.2 PagePool/CompMath

It improves over PagePool/Math by introducing a compound page model. By a compound page we mean a page which consists of a main text page and a number of embedded objects, e.g., GIFs. We model a compound page as a main page and several component objects. The main page is always assigned with ID 0. All component pages have the same size; both the main page size and component object size is fixed, but adjustable through OTcl-bound variables main_size_ and comp_size_, respectively. The number of component objects can be set using the OTcl-bound variable num_pages_.

PagePool/CompMath has the following major OTcl methods:



An example of using PagePool/CompMath is available at /tcl/ex/simple-webcache-comp.tcl.




2000-08-24