RtdImagePrint defines a popup dialog for printing an RTD image. This class extends the PrintDialog class.
-bot_left Footer text to appear at bottom left. -bot_right Footer text to appear at bottom right. -fit_to_page Flag, if true, scale output to fit on page. -footer_font Footer fonts. -image Name of Itcl RtdImage or derived widget, set by caller. -pageheight Page height, used when fit_to_page is 1. -pagewidth Page width, used when fit_to_page is 1. -show_footer Flag, if true (1), insert footers before printing. -show_headers Alias for -show_footer, for backward compatibility. -top_left Footer text to appear at top left. -top_right Footer text to appear at top right. -whole_canvas Flag, it true whole canvas is captured, this includes any graphics that extends outside the image. -x0 Upper left X coordinate of area of canvas to print (default bbox all). -x1 Bottom right X coordinate . -y0 Upper left Y coordinate . -y1 Bottom right Y coordinate .
add_footer {} Add footer labels below draw area by temporarily inserting the text. add_short_help {} Add short help texts. init {} This method is called after all options have been evaluated. print {fd} Print the contents of the canvas to the open filedescriptor. remove_background {} Remove the background of the canvas. rm_footer {} Remove the footer, if any and restore the original state. set_background {} Set/remove the background of the canvas. set_show_footer {} Modify show_footer. set_whole_canvas {} Modify capture all canvas items. toggle_fit_pagesize {} Called when the "Fit on page" button is pressed.
canvas_ Canvas widget. image_ Internal rtdimage object. x0 X0 of area to print. x1 X1 of area to print. y0 Y0 of area to print. y1 Y1 of area to print.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory