Table of Contents

 
GetClipWidth
 

Purpose

Returns the width of the clipping window

 

Protoype

int CTileMngr::GetClipWidth (int i_flag)
 

Parameters

flag the format to return the height in
 

Description

This function returns the width of the clipping rectangle for the map. It can return the width in either pixels using the PIXEL flag or tiles, using the CELL flag.

 

Use

CTileMngr tile_mngr;
int i_width = tile_mngr.GetClipWidth(PIXEL);
 

Prev: GetClipHeight