home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _be85fcfbfb56d5d4ca0eee46b79130ca < prev    next >
Text File  |  2000-03-23  |  4KB  |  120 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#symbolic constants">SYMBOLIC CONSTANTS</A></LI>
  26.     <LI><A HREF="#events">EVENTS</A></LI>
  27.     <LI><A HREF="#requests">REQUESTS</A></LI>
  28.     <LI><A HREF="#author">AUTHOR</A></LI>
  29.     <LI><A HREF="#see also">SEE ALSO</A></LI>
  30. </UL>
  31. <!-- INDEX END -->
  32.  
  33. <HR>
  34. <P>
  35. <H1><A NAME="name">NAME</A></H1>
  36. <P>X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</P>
  37. <P>
  38. <HR>
  39. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  40. <UL>
  41. <LI>Linux</LI>
  42. <LI>Solaris</LI>
  43. </UL>
  44. <HR>
  45. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  46. <PRE>
  47.   use X11::Protocol;
  48.   $x = X11::Protocol->new($ENV{'DISPLAY'});
  49.   $x->init_extension('SHAPE') or die;</PRE>
  50. <P>
  51. <HR>
  52. <H1><A NAME="description">DESCRIPTION</A></H1>
  53. <P>This module is used by the X11::Protocol module to participate in the
  54. shaped window extension to the X protocol, allowing windows to be of any
  55. shape, not just rectangles.</P>
  56. <P>
  57. <HR>
  58. <H1><A NAME="symbolic constants">SYMBOLIC CONSTANTS</A></H1>
  59. <P>This extension adds the constant types 'ShapeKind' and 'ShapeOp', with values
  60. as defined in the standard.</P>
  61. <P>
  62. <HR>
  63. <H1><A NAME="events">EVENTS</A></H1>
  64. <P>This extension adds the event type 'ShapeNotify', with values as specified in
  65. the standard. This event is selected using the <CODE>ShapeSelectInput()</CODE> request.</P>
  66. <P>
  67. <HR>
  68. <H1><A NAME="requests">REQUESTS</A></H1>
  69. <P>This extension adds several requests, called as shown below:</P>
  70. <PRE>
  71.   $x->ShapeQueryVersion
  72.   =>
  73.   ($major, $minor)</PRE>
  74. <PRE>
  75.   $x->ShapeRectangles($dest, $destKind, $op, $xOff, $yOff,
  76.                       $ordering, @rectangles)</PRE>
  77. <PRE>
  78.   $x->ShapeMask($dest, $destKind, $op, $xOff, $yOff, $source)</PRE>
  79. <PRE>
  80.   $x->ShapeCombine($dest, $destKind, $op, $xOff, $yOff, $source,
  81.                    $sourceKind)</PRE>
  82. <PRE>
  83.   $x->ShapeOffset($dest, $destKind, $xOff, $yOff)</PRE>
  84. <PRE>
  85.   $x->ShapeQueryExtents($dest)
  86.   =>
  87.   ($boundingShaped, $clipShaped,
  88.    ($xBoundingShape, $yBoundingShape,
  89.     $widthBoundingShape, $heightBoundingShape)  
  90.    ($xClipShape, $yClipShape, $widthClipShape, $heightClipShape))</PRE>
  91. <PRE>
  92.   $x->ShapeSelectInput($window, $enable)</PRE>
  93. <PRE>
  94.   $x->ShapeInputSelected($window)
  95.   =>
  96.   $enable</PRE>
  97. <PRE>
  98.   $x->ShapeGetRectangles($window, $kind)
  99.   =>
  100.   ($ordering, [$x, $y, $width, $height], ...)</PRE>
  101. <P>
  102. <HR>
  103. <H1><A NAME="author">AUTHOR</A></H1>
  104. <P>Stephen McCamant <<A HREF="mailto:alias@mcs.com">alias@mcs.com</A>>.</P>
  105. <P>
  106. <HR>
  107. <H1><A NAME="see also">SEE ALSO</A></H1>
  108. <P><EM>perl(1)</EM>, 
  109. <A HREF="../../../../../site/lib/X11/Protocol.html">the X11::Protocol manpage</A>,
  110. <EM>Nonrectangular Window Shape Extension (X Consortium Standard)</EM>.</P>
  111. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  112. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  113. <STRONG><P CLASS=block> X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension</P></STRONG>
  114. </TD></TR>
  115. </TABLE>
  116.  
  117. </BODY>
  118.  
  119. </HTML>
  120.