[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Text on the Raster
From: |
Kewley, R. MAJ SE |
Subject: |
Text on the Raster |
Date: |
Mon, 16 Oct 2000 10:29:47 -0400 |
I saw some previous posts on how to put text on the raster. I have solved
this problem for x-windows using the TextRaster object in the attached
archive. This object subclasses from the Raster object and adds a drawText
method. Note that it does not inherit or implement ZoomRaster mehods. It
is demonstrated in an adapted simpleObserverBug application. However, I
could use some help adapting the code so that it compiles in windows. I
browsed to tkobj internal.m object to try to figure out how to do graphics
in windows and I have a rough cut in the TextRaster object. The code
compiles under win32 but does not link because it cannot find methods such
as TextOut, DeleteObject from the gdi32.dll windows object. I tried linking
with this file directly, but I suppose it is not compatible with Cygwin.
Which file should I link with in order to get these methods from gdi32.dll
to work? It is available in the Swarm distribution, or should I download or
copy it from elsewhere.
<<simpleObserverBugText.tgz>>
Robert H. Kewley, Jr.
MAJ, AR
Instructor
United States Military Academy
Department of Systems Engineering
West Point, NY 10996
Mahan Hall Room 309
(845) 938-4625; DSN 688-4625
Fax: (845) 938-5919; DSN 688-5919
simpleObserverBugText.tgz
Description: Binary data
- Text on the Raster,
Kewley, R. MAJ SE <=