diff --git a/graf2d/doc/v534/index.html b/graf2d/doc/v534/index.html index c8d54d6721f51d36f99beacef2912f4ad57ea074..e7cec2dd06cc22de1383e5d7bf997ffd7ffee17a 100644 --- a/graf2d/doc/v534/index.html +++ b/graf2d/doc/v534/index.html @@ -38,3 +38,23 @@ Implement <tt>#mp</tt>. </li> </ul> + +<h4>TPad</h4> +<ul> + <li> + New method DivideSquare a canvas in to n sub-pads. The number of sub-pads + along the X and Y axis are computed according to the square root of n. + Example: + </li> + <pre> + void divsquare(int w, int h, int n) + { + TCanvas *c = new TCanvas ("c","c",0,0,w,h); + c->DivideSquare(n); + for (int i=1; i<=n; i++) { + c->cd(i); + gPad->DrawFrame(0,0,1,1); + } + } + </pre> +</ul>