home *** CD-ROM | disk | FTP | other *** search
-
- <HTML>
- <HEAD>
- <TITLE>X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</TITLE>
- <LINK REL="stylesheet" HREF="../../../../../Active.css" TYPE="text/css">
- <LINK REV="made" HREF="mailto:">
- </HEAD>
-
- <BODY>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</P></STRONG>
- </TD></TR>
- </TABLE>
-
- <A NAME="__index__"></A>
- <!-- INDEX BEGIN -->
-
- <UL>
-
- <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
-
- <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
- <LI><A HREF="#description">DESCRIPTION</A></LI>
- <LI><A HREF="#symbolic constants">SYMBOLIC CONSTANTS</A></LI>
- <LI><A HREF="#events">EVENTS</A></LI>
- <LI><A HREF="#requests">REQUESTS</A></LI>
- <LI><A HREF="#author">AUTHOR</A></LI>
- <LI><A HREF="#see also">SEE ALSO</A></LI>
- </UL>
- <!-- INDEX END -->
-
- <HR>
- <P>
- <H1><A NAME="name">NAME</A></H1>
- <P>X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</P>
- <P>
- <HR>
- <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
- <UL>
- <LI>Linux</LI>
- <LI>Solaris</LI>
- </UL>
- <HR>
- <H1><A NAME="synopsis">SYNOPSIS</A></H1>
- <PRE>
- use X11::Protocol;
- $x = X11::Protocol->new($ENV{'DISPLAY'});
- $x->init_extension('SHAPE') or die;</PRE>
- <P>
- <HR>
- <H1><A NAME="description">DESCRIPTION</A></H1>
- <P>This module is used by the X11::Protocol module to participate in the
- shaped window extension to the X protocol, allowing windows to be of any
- shape, not just rectangles.</P>
- <P>
- <HR>
- <H1><A NAME="symbolic constants">SYMBOLIC CONSTANTS</A></H1>
- <P>This extension adds the constant types 'ShapeKind' and 'ShapeOp', with values
- as defined in the standard.</P>
- <P>
- <HR>
- <H1><A NAME="events">EVENTS</A></H1>
- <P>This extension adds the event type 'ShapeNotify', with values as specified in
- the standard. This event is selected using the <CODE>ShapeSelectInput()</CODE> request.</P>
- <P>
- <HR>
- <H1><A NAME="requests">REQUESTS</A></H1>
- <P>This extension adds several requests, called as shown below:</P>
- <PRE>
- $x->ShapeQueryVersion
- =>
- ($major, $minor)</PRE>
- <PRE>
- $x->ShapeRectangles($dest, $destKind, $op, $xOff, $yOff,
- $ordering, @rectangles)</PRE>
- <PRE>
- $x->ShapeMask($dest, $destKind, $op, $xOff, $yOff, $source)</PRE>
- <PRE>
- $x->ShapeCombine($dest, $destKind, $op, $xOff, $yOff, $source,
- $sourceKind)</PRE>
- <PRE>
- $x->ShapeOffset($dest, $destKind, $xOff, $yOff)</PRE>
- <PRE>
- $x->ShapeQueryExtents($dest)
- =>
- ($boundingShaped, $clipShaped,
- ($xBoundingShape, $yBoundingShape,
- $widthBoundingShape, $heightBoundingShape)
- ($xClipShape, $yClipShape, $widthClipShape, $heightClipShape))</PRE>
- <PRE>
- $x->ShapeSelectInput($window, $enable)</PRE>
- <PRE>
- $x->ShapeInputSelected($window)
- =>
- $enable</PRE>
- <PRE>
- $x->ShapeGetRectangles($window, $kind)
- =>
- ($ordering, [$x, $y, $width, $height], ...)</PRE>
- <P>
- <HR>
- <H1><A NAME="author">AUTHOR</A></H1>
- <P>Stephen McCamant <<A HREF="mailto:alias@mcs.com">alias@mcs.com</A>>.</P>
- <P>
- <HR>
- <H1><A NAME="see also">SEE ALSO</A></H1>
- <P><EM>perl(1)</EM>,
- <A HREF="../../../../../site/lib/X11/Protocol.html">the X11::Protocol manpage</A>,
- <EM>Nonrectangular Window Shape Extension (X Consortium Standard)</EM>.</P>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</P></STRONG>
- </TD></TR>
- </TABLE>
-
- </BODY>
-
- </HTML>
-