fg_flicsize()

Win32 DirectX Fastgraph/Light

Prototype

void fg_flicsize (void *header, int *width, int *height);

Sub fg_flicsize (header() As Any, width As Long, height As Long)

procedure fg_flicsize (var header; var width, height : integer);

Description

The fg_flicsize() function returns the dimensions for the flic image associated with the specified flic file header.

Parameters

header is the name of the buffer containing the 128-byte FLI/FLC file header.

width receives the flic image width in pixels. If header does not contain a valid FLI/FLC file header, width will be set to -1.

height receives the flic image height in pixels. If header does not contain a valid FLI/FLC file header, height will be set to -1.

Return value

none

Restrictions

none

See also

fg_flichead(), fg_showflic()

Examples

AVImake, Image

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.