| Home
| Previous
| Next
| Up

MGL_divotSizeCoord

Number of bytes required to store a divot of specified size.

Declaration

long MGLAPI MGL_divotSizeCoord(
MGLDC *dc,
int left,
int top,
int right,
int bottom)

Prototype In

mgraph.h

Parameters

dc | Device context to measure divot size from
left | Left coordinate of divot area
top | Top coordinate of divot area
right | Right coordinate of divot area
bottom | Bottom coordinate of divot area

Return Value

Size of the specified divot in bytes.

Description

Determines the number of bytes required to store a divot of the specified size taken from the current device context. A divot is a portion of video memory that needs to be temporarily saved and restored, such as implementing pull down menus and pop up dialog boxes. A divot must always be saved and restored to the same area, and will extend the dimensions of the area covered to obtain the maximum possible performance for saving and restoring the memory.

See Also

MGL_divotSize, MGL_getDivot, MGL_putDivot

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com