NPRect

« Gecko Plugin API Reference « Browser Side Plug-in API

Summary

Represents a rectangular area of a plug-in's content area.

Syntax

typedef struct _NPRect
{
    uint16 top;
    uint16 left;
    uint16 bottom;
    uint16 right;
} NPRect;

Fields

The data structure has the following fields:

top, left, bottom, right
The top, left, bottom, and right sides of the rectangle.

Description

NPRect defines the bounding box of the area of the plug-in window to be updated, painted, invalidated, or clipped to.

See also