# CenterSRectInDisplay

Centers an SRect in the display.

### Synopsis

`SRect * CenterSRectInDisplay(SRect *dst)`

### Description

Centers the destination rectangle (dst) over or within the display (assumed to be 320 x 240).

### Arguments

dst
  Pointer to the SRect to be centered.

### Return Value

Returns dst.

### Implementation

Library call implemented in lib3do.lib.

### Associated Files

lib3do.lib, celutils.h

### See Also

`CenterCRectInDisplay`