STITLE(3NCARG) | NCAR GRAPHICS | STITLE(3NCARG) |
STITLE - Creates scrolled movie or video titles. It receives all input through the argument list.
This routine is part of the Scrolled_title utility in NCAR Graphics. To see the overview man page for this utility, type "man scrolled_title".
CALL STITLE (CRDS,NCDS,IYST,IYND,TMST,TMMV,TMND,MTST)
#include <ncarg/ncargC.h>
void c_stitle (char *crds[], int ncds, int iyst,
int iynd, float tmst, float tmmv, float tmnd, int mtst)
If the value -9999 is used for MX, it indicates a continuation line: characters from columns 21 through "n" are just appended to the characters from the previous card to form the line of text. Any number of continuation cards may be used, but the total number of characters in a line of text must not be greater than 512.
Trailing blanks are omitted from each card, including those that are followed by a continuation card; thus, if there are to be blanks between the characters from one card and the characters from a continuation card, those blanks must be placed in columns 21 and following of the continuation card.
On a continuation card, columns 6-20 are ignored.
During practice runs, only selected frames are created: a frame for the fade-in sequence (if fade-in is turned on), a frame for the stationary time at the start, a set of frames representing the scrolling sequence, a frame for the stationary time at the end, and a frame for the fade-out sequence (if fade-out is turned on). Each has a legend indicating either for how many seconds the frame will be shown or, if it is part of a scroll sequence, how many seconds into the scroll time it occurs; during real runs, these legends are omitted, of course.
Fade-in and fade-out are also affected by the values of the internal parameters ´BGF´, which selects the type of fade-in/fade-out to be used for the background color, and ´FGF´, which serves the same function for the foreground color. (The older parameters ´SBK´ and ´SFG´ may still be referenced, but their use is no longer recommended; setting ´SBK´ has the effect of giving ´BGF´ an appropriate value and setting ´SFG´ has the effect of giving ´FGF´ an apprpriate value.)
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
STITLE takes input through its argument list and generates graphic output that moves a body of text up through the viewing window. This is done by outputting the appropriate number of frames required to generate a movie sequence of a duration specified by you.
At each frame STITLE skips plotting lines of text that are completely outside of the viewing window and clips those that are partially outside the window.
Use the ncargex command to see the following relevant examples: fslfont, slex01, slex02, tstitl.
To use STITLE or c_stitle, load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c, preferably in that order.
See the scrolled_title man page for a description of all Scrolled_title error messages and/or informational messages.
Online: ftitle, scrolled_title, scrolled_title_params, slgeti, slgetr, slogap, slrset, slseti, slsetr, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
July 1995 | UNIX |