Query: importcmd
OS: debian
Section: 3u
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ImportCmd(3U) InterViews Reference Manual ImportCmd(3U)NAMEImportCmd - import a graphical componentSYNOPSIS#include <Unidraw/Commands/import.h>DESCRIPTIONImportCmd imports a graphical image from a file into the drawing being edited. ImportCmd supports the following file formats: TIFF; Post- Script generated by pgmtops and ppmtops; X bitmap format; and Unidraw format.PUBLIC OPERATIONSImportCmd(ControlInfo*, FileChooser* = nil) ImportCmd(Editor* = nil, FileChooser* = nil) Create a new ImportCmd instance, optionally supplying the FileChooser that will prompt the user to specify the file to import. After the user specifies the file, ImportCmd reads it, creates an appropriate graphical component, and pastes it into the component being edited in the enclosing editor. static GraphicComp* Import(const char*) static GraphicComp* TIFF_Image(const char*) static GraphicComp* PGM_Image(const char*) static GraphicComp* PPM_Image(const char*) static GraphicComp* XBitmap_Image(const char*) Operations for reading data from various file formats and creating an appropriate graphical component. TIFF_Image, PGM_Image, PPM_Image, and XBitmap_Image assume that the specified file is in the corresponding format. Import is more general: it determines the format from the file and then calls one of the other functions.PROTECTED OPERATIONSvoid Init(FileChooser*) Specify the FileChooser instance (stored in the _dialog protected member) explicitly. This operation does not delete the existing instance, if any. GraphicComp* PostDialog() Post the FileChooser and return the graphical component created from the user-specified file, if any.SEE ALSOCatalog(3U), Command(3U), FileChooser(3I), GraphicComp(3U), bitmap(1), pgmtops(1), ppmtops(1) Unidraw 10 August 1991 ImportCmd(3U)
Related Man Pages |
---|
catcmds(3u) - debian |
struct(3u) - debian |
struct(3u) - osx |
controlinfo(3u) - opensolaris |
controlinfo(3u) - minix |
Similar Topics in the Unix Linux Community |
---|
Reported Post by funksen |
Reported Post by figaro |
Reported Post by danmero |
Reported Post by drl |
Reported Post by singaravelan |