[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]

Text and Reference Line Inquiries

Structures:
sd-am-text-attributes-struct
sd-am-ref-text-line-attributes-struct

Predicates:
sd-am-text-p
sd-am-ref-text-line-p

Inquiries:
sd-am-inq-curr-ref-text-line-attributes
sd-am-inq-curr-text-attributes
sd-am-inq-text-attributes
sd-am-inq-text-strings
sd-am-inq-loaded-fonts
sd-am-inq-used-fonts

Function Index Top of Page

SD-AM-TEXT-ATTRIBUTES-STRUCT  [structure]

(sd-am-text-attributes-struct-p      sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-size   sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-ratio  sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-slant  sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-linesp sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-angle  sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-adjust sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-fill   sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-frame  sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-font1b sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-font2b sd-am-text-attributes-struct)
(sd-am-text-attributes-struct-color  sd-am-text-attributes-struct)
Description:
A Lisp structure containing specific text attributes data.

Slots:
size {LONG-FLOAT} - text size.
ratio {LONG-FLOAT} - text ratio.
slant {LONG-FLOAT} - text slant.
linesp {LONG-FLOAT} - text linespace relative to the text size.
angle {LONG-FLOAT} - text angle.
adjust {SYMBOL} - text adjustment.
fill {SYMBOL} - text fill flag.
frame {SYMBOL} - frame type.
font1b {STRING} - 1Byte font name.
font2b {STRING} - 2Byte font name.
color {GPNT3D} - R,G,B color vector.

See Also:
SD-AM-INQ-CURR-TEXT-ATTRIBUTES [function]
SD-AM-INQ-TEXT-ATTRIBUTES [function]

Function Index Top of Page

SD-AM-REF-TEXT-LINE-ATTRIBUTES-STRUCT  [structure]

(sd-am-ref-text-line-attributes-struct-p           sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-src-gap     sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-dest-gap    sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-linetype    sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-color       sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-arrow-type  sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-arrow-size  sd-am-ref-text-line-attributes-struct)
(sd-am-ref-text-line-attributes-struct-pen-size    sd-am-ref-text-line-attributes-struct)
Description:
A Lisp structure containing specific text reference line attributes data.

Slots:
src-gap {LONG-FLOAT} - gap between text element and reference line.
dest-gap {LONG-FLOAT} - gap between reference line and destination element.
linetype {FIXNUM} - the linetype.
color {GPNT3D} - R,G,B color vector.
arrow-type {FIXNUM} - the arrow type.
arrow-size {FIXNUM} - the arrow size.
pen-size {FIXNUM} - the pen size.

See Also:
SD-AM-INQ-CURR-REF-TEXT-LINE-ATTRIBUTES [function]

Function Index Top of Page

SD-AM-TEXT-P  [function]

(sd-am-text-p item)
Description:
Predicate to determine whether or not an item is a text.

Parameters:
element {SEL_ITEM} - The element to inquire.

Return Value:
t - The element is a text.
nil - The element is not a text.

Function Index Top of Page

SD-AM-REF-TEXT-LINE-P  [function]

(sd-am-ref-text-line-p item)
Description: Predicate to determine whether or not an item is a text reference line.
Parameters:
element {SEL_ITEM} - The element to inquire.

Return Value:
t - The element is a text reference line.
nil - The element is not a text reference line.

Function Index Top of Page

SD-AM-INQ-CURR-REF-TEXT-LINE-ATTRIBUTES  [function]

(sd-am-inq-curr-ref-text-line-attributes)
Description:
Inquire the current text reference line attributes.

Parameters:
Return Value:
{ SD-AM-REF-TEXT-LINE-ATTRIBUTES-STRUCT} - The inquired attributes.
nil - An error occured.

Function Index Top of Page

SD-AM-INQ-CURR-TEXT-ATTRIBUTES  [function]

(sd-am-inq-curr-text-attributes)
Description:
Inquire the current text attributes.

Parameters:
Return Value:
{ SD-AM-TEXT-ATTRIBUTES-STRUCT} - A Lisp structure describing the text parameters.
nil - An error occured.

Function Index Top of Page

SD-AM-INQ-TEXT-ATTRIBUTES  [function]

(sd-am-inq-text-attributes text)
Description:
Inquire the attributes of a given text.

Parameters:
text {SEL_ITEM} - The text to inquire.

Return Value:
{ SD-AM-TEXT-ATTRIBUTES-STRUCT} - A Lisp structure describing the text parameters.

Function Index Top of Page

SD-AM-INQ-TEXT-STRINGS  [function]

(sd-am-inq-text-strings text)
Description:
Returns all text strings of the given text.

Parameters:
text {SEL_ITEM} - The text to inquire.

Return Value:
{LIST of STRINGs} - The list of all text strings.

Function Index Top of Page

SD-AM-INQ-LOADED-FONTS  [function]

(sd-am-inq-loaded-fonts)
Description:
Returns the list with the names of all loaded fonts.

Parameters:
Return Value:
{LIST of STRINGs} - The list of font names.

Function Index Top of Page

SD-AM-INQ-USED-FONTS  [function]

(sd-am-inq-used-fonts)
Description:
Returns the list with the names of all used fonts.

Parameters:
Return Value:
{LIST of STRINGs} - The list of font names.
[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2024 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved