|
GEOS SDK TechDocs
|
|
pinst ...
|
print-cell ...
pobjmon
pobjmon [<address>] [<text only>]
Examples:
-
"pobjmon"
- print the VisMoniker from the gentree object at *DS:SI
-
The <address> argument is the address of an object with a VisMoniker. If none is specified then *DS:SI is used.
-
The <text only> argument returns a shortened description of the structure. To set it use something other than `0' for the second argument.
-
The special object flags may be used to specify <object>. For a list of these flags, see pobject.
See Also: pvismon,
pobject,
vistree,
gup,
gentree,
impliedgrab,
systemobj.
pod
pod <address>
Examples:
-
"pod ds:si"
Print in output descriptor format (^l<handle>:<chunk>) the address passed.
The address argument is the address of an object.
ppath
ppath (current|docClip|winClip) [<gstate>]
Examples:
-
"ppath"
- print the current path of the GState in ^hdi
-
"ppath docClip ^hgstate"
-
print the document clip path of the GState with handle
gstate
.
-
"ppath winClip ds"
-
print the window clip path of the GState in the DS register.
Print the structure of a path.
Unique abbreviations for the path to be printed are allowed.
pquick
pquick [-v]
Examples:
-
"pquick -v"
- Print out verbose information about the current quick transfer item.
Prints out information about the current "quick" transfer item on the clipboard.
If you give the "-v" flag, this will print out the contents of the different transfer formats, rather than just an indication of their types.
See Also: pnormal,
print-clipboard-item.
precord
precord <type> <value> [<silent>]
Examples:
-
"precord GSControl c0h"
-
print the
GSControl
record with the top two bits set
Print a record using a certain value.
-
The <type> argument is the type of the record.
-
The <value> argument is the value of the record.
-
The <silent> argument will suppress the text indicating the record type and value. This is done by passing a non zero value like `1'. This is useful when precord is used by other functions.
See Also: print,
penum.
preg
preg [-g] <addr>
Examples:
-
"preg *es:W_appReg"
-
Prints the application-defined clipping region for the window pointed to by es.
-
"preg -g ds:si"
-
Prints a "graphical" representation of the region beginning at ds:si
Decodes a graphics GEOS region and prints it out, either numerically, or as a series of x's and spaces.
-
This command can deal with parameterized regions. When printing a parameterized region with the -g flag, the region is printed as if it were unparameterized, with the offsets from the various PARAM constants used as the coordinates.
-
If no address is given, this will use the last-accessed address (as the "bytes" and "words" commands do). It sets the last-accessed address, for other commands to use, to the first byte after the region definition.
print
print <expression>
Examples:
-
"print 56h"
- print the constant 56h in various formats
-
"print ax - 10"
-
print ax less 10 decimal
-
"print ^l31a0h:001eh"
-
print the absolute address of the pointer
Print the value of an expression.
-
The <expression> argument is usually an address that has a type or that is given a type by casting and may span multiple arguments. The contents of memory of the given type at that address is what's printed. If the expression has no type, its offset part is printed in both hex and decimal. This is used for printing registers, for example.
-
The first argument may contain the following flags (which start with `-'):
-
x
- integers (bytes, words, dwords if dwordIsPtr false) printed in hex
-
d
- integers printed in decimal
-
o
- integers printed in octal c bytes printed as characters (byte arrays printed as strings, byte variables/fields printed as character followed by integer equivalent)
-
C
- bytes treated as integers
-
a
- align structure fields
-
A
- Don't align structure fields
-
p
- dwords are far pointers
-
P
- dwords aren't far pointers
-
r
- parse regions
-
R
- don't try to parse regions
-
These flags operate on the following Tcl variables:
-
intFormat
- A printf format string for integers.
-
bytesAsChar
-
Treat bytes as characters if non-zero.
-
alignFields
-
Align structure fields if non-zero.
-
dwordIsPtr
- DWords are far pointers if non-zero.
-
noStructEnum
-
If non-zero, doesn't print the "struct", "enum" or "record" before the name of a structured/enumerated type -- just gives the type name.
-
printRegions
-
If non-zero, prints what a Region points to (bounds and so on).
-
condenseSpecial
-
If non-zero, condense special structures (Rectangles, OutputDescriptors, ObjectDescriptors, TMatrixes and all fixed-point numbers) to one line.
-
This does not print enumerations. Use penum for that.
See Also: precord,
penum,
_print.
|
GEOS SDK TechDocs
|
|
pinst ...
|
print-cell ...