- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
We have developed aFortran programwith Salford Compiler. Now we want to transport to Intel Fortran Compiler. Is yourcompiler is compatible with code written with Salford, particularly the graphics?
Thank you.
Ссылка скопирована
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
The Salford FTN95 (or do you mean FTN77?) runtime functions are different from those of IVF. In particular, this is true for the graphics functions. However since these graphics functions are quite basic, you can map them on those supplied with IVF. For example:
For example FTN comes with
SUBROUTINEDRAW_LINE_BETWEEN@(IX1,IY1,IX2,IY2,ICOL)
INTEGERIX1,IY1,IX2,IY2,ICOL
which draws a straight line. In IVF you find those QuickWin graphics routines that you can use. For example:
CALL MOVETO (x, y, t)
sets the current graphics position.
result = LINETO (x, y)
draws a line from the current point to the one specified.
To set the color you might want to use
result = SETCOLORRGB (color)
To define an appropriate coordinate system you have several options in IVF (seeSETWINDOWCONFIG, SETVIEWORG,for example).
This shouldn't be too difficulat. There is one drawback I have to mention: QuickWin graphics can be printed in "pixel mode" only. FTN's graphics prints in "vector mode" thus QuickWin graphics sent to a printer doesn't give you the quality that FTN graphics provides. If this is an k.o. criterium, thanyou might want to consider to buy graphics package like GINO orWinteracter. These have also simple routines that you can use for the mapping but then regarding printing they providebetter results.
However, if you have embedded your graphics in a FTN/ClearWin application there is no easy way to map this.
Hope this helps.
Kind regards
Jrg Kuthe
QT software GmbH, Berlin, Germany
www.qtsoftware.de

- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати