# ICornerFromSRect

Calculates the opposite corner in an SRect.

### Synopsis

`IPoint * ICornerFromSRect (IPoint *dst, SRect *src)`

### Description

Calculates the opposite corner of the area described by the source rectangle (src), and stores the results at *dst.

### Arguments

dst
  Pointer to the IPoint where the results are to be stored.

src
  Pointer to an SRect.

### Return Value

The input parameter dst.

### Implementation

Library call implemented in lib3do.lib.

### Associated Files

lib3do.lib, celutils.h

### See Also

``XCORNERFROMSRECT`, YCORNERFROMSRECT, ISizeFromCRect`