Table of Contents

 
ResizeClipWindow
 

Purpose

Sets a new size for the clipping window

 

Protoype

void CTileMngr::ResizeClipWindow (int i_clip_w, int i_clip_h)
 

Parameters

clip_w the new clip width
clip_h the new clip height
 

Description

This function resizes the map clip window by specifying the new width and height of the clip rectangle (the clip rectangle origin is always (0, 0)).

 

Use

CTileMngr tile_mngr;
tile_mngr.ResizeClipWindow(640, 480);
 

Prev: RenderMap