raster slice band buffer raster width imag base vertic valu current clip rectangl param clip clip rectangl comput raster rectangl clip defin log lp log granular type statement lp log local start method log debug comput raster rectangl clip endif creat graphic context start fresh transform graphic graphic imag creat graphic graphic scale scale scale background color graphic set color background color composit graphic composit graphic set composit alpha composit src graphic rect width scale buffer height graphic set composit translat clip graphic match region graphic set clip width scale buffer height graphic translat clip scale clip scale buffer height ask gef print band diagram translat clip editor print graphic make sure isn cach written graphic dispos 