mozilla

Revision 90527 of NPRect

  • Revision slug: NPRect
  • Revision title: NPRect
  • Revision id: 90527
  • Created:
  • Creator: Sheppy
  • Is current revision? Yes
  • Comment clean up; 14 words added, 9 words removed; page display name reset to default
Tags: 

Revision Content

{{ Np-browser-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

Revision Source

<p>{{ Np-browser-api() }}</p>
<h3 id="Summary" name="Summary">Summary</h3>
<p>Represents a rectangular area of a plug-in's content area.</p>
<h3 id="Syntax" name="Syntax">Syntax</h3>
<pre>typedef struct _NPRect
{
    uint16 top;
    uint16 left;
    uint16 bottom;
    uint16 right;
} NPRect;
</pre>
<h3 id="Fields" name="Fields">Fields</h3>
<p>The data structure has the following fields:</p>
<dl> <dt><code>top</code>, <code>left</code>, <code>bottom</code>, <code>right</code></dt> <dd>The top, left, bottom, and right sides of the rectangle.</dd>
</dl>
<h3 id="Description" name="Description">Description</h3>
<p><code>NPRect</code> defines the bounding box of the area of the plug-in window to be updated, painted, invalidated, or clipped to.</p>
<h3 id="See_Also" name="See_Also">See also</h3>
<ul> <li><a href="/en/NPN_ForceRedraw" title="en/NPN_ForceRedraw">NPN_ForceRedraw()</a></li> <li><a href="/en/NPN_InvalidateRect" title="en/NPN_InvalidateRect">NPN_InvalidateRect()</a></li> <li><a href="/en/NPN_InvalidateRegion" title="en/NPN_InvalidateRegion">NPN_InvalidateRegion()</a></li> <li><a href="/en/NPRegion" title="en/NPRegion">NPRegion</a></li> <li><a href="/en/NPWindow" title="en/NPWindow">NPWindow</a></li>
</ul>
Revert to this revision