DtMmdbGraphicInfo(file formats) DtMmdbGraphicInfo(file formats)
NAME
DtMmdbGraphicInfo -- graphic object structure in dtinfo
DESCRIPTION
The DtMmdbGraphicInfo structure contains information about a graphic object in dtinfo.
The DtMmdbGraphicInfo structure is defined as follows:
#include <DtInfo/DtMmdb.h>
typedef struct _DtMmdbGraphicInfo {
unsigned short coding;
unsigned short width;
unsigned short height;
unsigned int llx;
unsigned int lly;
unsigned int urx;
unsigned int ury;
char* version;
} DtMmdbGraphicInfo;
The DtMmdbGraphicInfo members have the following meanings:
coding Specifies the type of the object. Valid values are:
DtMmdbGraphicEPS
Indicates an Encapsulated PostScript typed object.
DtMmdbGraphicGIF
Indicates a GIF typed object.
DtMmdbGraphicXPM
Indicates an XPM typed object.
DtMmdbGraphicXBM
Indicates an XBM typed object.
DtMmdbGraphicCGM
Indicates a CGM typed object (not supported)
DtMmdbGraphicJPEG
Indicates a JPEG typed object (not supported)
DtMmdbGraphicTIFF
Indicates a TIFF typed object (not supported)
DtMmdbGraphicXWD
Indicates an XWD typed object (not supported)
DtMmdbGraphicUnknown
Indicates an object of unknown type
width Specifies the width of the object (in points).
height Specifies the height of the object (in points).
llx Specifies the X coordinate for the lower left corner if the object is of type Encapsulated PostScript.
lly Specifies the Y coordinate for the lower left corner if the object is of type Encapsulated PostScript.
urx Specifies the X coordinate for the upper right corner if the object is of type Encapsulated PostScript.
ury Specifies the Y coordinate for the upper right corner if the object is of type Encapsulated PostScript.
version Specifies the version of the object. Currently returns NULL. To be specified in the future.
SEE ALSO DtMmdbFreeGraphicInfo(3), DtMmdbGraphicGetData(3), DtMmdbGraphicGetInfo(3)
DtMmdbGraphicInfo(file formats)
Check Out this Related Man Page
PS_ADD_NOTE(3) 1 PS_ADD_NOTE(3)ps_add_note - Adds note to current pageSYNOPSIS
bool ps_add_note (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon,
int $open)
DESCRIPTION
Adds a note at a certain position on the page. Notes are like little rectangular sheets with text on it, which can be placed anywhere on a
page. They are shown either folded or unfolded. If folded, the specified icon is used as a placeholder.
The note will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat
Distillertm or Ghostview.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $llx
- The x-coordinate of the lower left corner.
o $lly
- The y-coordinate of the lower left corner.
o $urx
- The x-coordinate of the upper right corner.
o $ury
- The y-coordinate of the upper right corner.
o $contents
- The text of the note.
o $title
- The title of the note as displayed in the header of the note.
o $icon
- The icon shown if the note is folded. This parameter can be set to comment, insert, note, paragraph, newparagraph, key, or help.
o $open
- If $open is unequal to zero the note will be shown unfolded after opening the document with a pdf viewer.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO ps_add_pdflink(3), ps_add_launchlink(3), ps_add_locallink(3), ps_add_weblink(3).
PHP Documentation Group PS_ADD_NOTE(3)