GINO Graphics Suite - GINO v9.0  

gEnqDXFLimits

Syntax

[C/C++:]
void gEnqDXFLimits(GFILE *fp, GLIMIT3 *limits);
[F90:]
subroutine gEnqDXFLimits(unit, limits)

integer, intent(in) :: unit
type (GLIMIT3), intent(out) :: limits

Arguments

fp
GINO-C file pointer

unit
Fortran 90 File unit

limits
Drawing extents of the DXF metafile

Description

The routine gEnqDXFLimits() returns the graphical extents of a DXF metafile whose file pointer has been passed in fp or unit. The file should have been opened using the routine gFopen().

The extents are returned in the argument limits (of type GLIMIT3) which have been calculated by examining the extents of all graphical elements within the DXF file. The values therefore represent the minimum and maximum coordinates of the DXF file in X, Y and Z directions.

See Also

gEnqDXFLimits Usage
gGetDXFFile
gFopen