
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-52
Return-Codes
RC_OK
Successful termination.
BAS_NO_DLG_EXIST
No graphics dialog exists for this
operation.
See Also
MMI_CreateGraphDialog, MMI_DrawLine,
MMI_DrawRect, MMI_DrawText
Example
Draw a circle with a radius of 10.
MMI_
DrawCircle( 80, 25, 10, 10,
MMI_BRUSH_BLACK,
MMI_PEN_BLACK )
6.1.32 MMI_DrawText
Description
Draw / delete text.
Declaration
MMI_DrawText( BYVAL iX
AS Integer,
BYVAL iY
AS Integer,
BYVAL sText AS String20,
BYVAL iAttr AS Integer,
BYVAL iPen AS Integer )
Remarks
This function either draws (
iPen
=
MMI_PEN_BLACK
) or
deletes (
iPen
=
MMI_PEN_WHITE
) a text string in graphic field.
The co-ordinates (
iX
,
iY
) correspond to the upper left-hand
corner of the first character. The character size is 6 x 8 pixel.
Note
A graphics dialog has to be set up before.
Parameters
iX
in
x-co-ordinate at the upper left-hand corner of
the first character [pixel]
iY
in
y-co-ordinate at the upper left-hand corner of
the first character [pixel]
sText
in
Pointer to the text string
iAttr
in
Text attribute
MMI_TXT_NORMAL
normal text
MMI_TXT_INVERSE
inverted text
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...