Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 675

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:02:57 CEST 2007 -->
<TITLE>
QPixmap
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QPixmap class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QPixmap";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPictureIO.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmapCache.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QPixmap.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QPixmap.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QPixmap</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QPixmap</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QPixmap</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A><DT>implements <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></DL>
</PRE>

<P>
<p>The <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> class is an off-screen image representation that can be used as a paint device.</p>
<p>Qt provides four classes for handling image data: <a href="QImage.html"><tt>QImage</tt></a>, <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>, <a href="QBitmap.html"><tt>QBitmap</tt></a> and <a href="QPicture.html"><tt>QPicture</tt></a>. <a href="QImage.html"><tt>QImage</tt></a> is designed and optimized for I/O, and for direct pixel access and manipulation, while <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> is designed and optimized for showing images on screen. <a href="QBitmap.html"><tt>QBitmap</tt></a> is only a convenience class that inherits <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>, ensuring a depth of 1. The <a href="QPixmap.html#isQBitmap()"><tt>isQBitmap</tt></a> function returns true if a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> object is really a bitmap, otherwise returns false. Finally, the <a href="QPicture.html"><tt>QPicture</tt></a> class is a paint device that records and replays <a href="QPainter.html"><tt>QPainter</tt></a> commands.</p>
<p>A <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> can easily be displayed on the screen using <a href="QLabel.html"><tt>QLabel</tt></a> or one of <a href="QAbstractButton.html"><tt>QAbstractButton</tt></a>'s subclasses (such as <a href="QPushButton.html"><tt>QPushButton</tt></a> and <a href="QToolButton.html"><tt>QToolButton</tt></a>). <a href="QLabel.html"><tt>QLabel</tt></a> has a pixmap property, whereas <a href="QAbstractButton.html"><tt>QAbstractButton</tt></a> has an icon property. And because <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> is a <a href="QPaintDevice.html"><tt>QPaintDevice</tt></a> subclass, <a href="QPainter.html"><tt>QPainter</tt></a> can be used to draw directly onto pixmaps.</p>
<p>In addition to the ordinary constructors, a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> can be constructed using the static <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a> and <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a> functions which creates a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> and paints the given widget, or window, in it.</p>
<p>Note that the pixel data in a pixmap is internal and is managed by the underlying window system. Pixels can only be accessed through <a href="QPainter.html"><tt>QPainter</tt></a> functions or by converting the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> to a <a href="QImage.html"><tt>QImage</tt></a>. Depending on the system, <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> is stored using a RGB32 or a premultiplied alpha format. If the image has an alpha channel, and if the system allows, the preferred format is premultiplied alpha. Note also that <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>, unlike <a href="QImage.html"><tt>QImage</tt></a>, may be hardware dependent. On X11 and Mac, a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> is stored on the server side while a <a href="QImage.html"><tt>QImage</tt></a> is stored on the client side (on Windows, these two classes have an equivalent internal representation, i.e&#x2e; both <a href="QImage.html"><tt>QImage</tt></a> and <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> are stored on the client side and don't use any GDI resources).</p>
<p>There are functions to convert between <a href="QImage.html"><tt>QImage</tt></a> and <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>. Typically, the <a href="QImage.html"><tt>QImage</tt></a> class is used to load an image file, optionally manipulating the image data, before the <a href="QImage.html"><tt>QImage</tt></a> object is converted into a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> to be shown on screen. Alternatively, if no manipulation is desired, the image file can be loaded directly into a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>. On Windows, the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> class also supports conversion between <tt>HBITMAP</tt> and <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>.</p>
<p><a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> provides a collection of functions that can be used to obtain a variety of information about the pixmap. In addition, there are several functions that enables transformation of the pixmap.</p>
<p><a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> objects can be passed around by value since the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> class uses implicit data sharing. For more information, see the Implicit Data Sharing</tt> documentation. <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> objects can also be streamed.</p>
<ul><li><a href="#reading-and-writing-image-files">Reading and Writing Image Files</a></li>
<li><a href="#pixmap-information">Pixmap Information</a></li>
<li><a href="#pixmap-conversion">Pixmap Conversion</a></li>
<li><a href="#pixmap-transformations">Pixmap Transformations</a></li>
</ul>
<a name="reading-and-writing-image-files"></a>
<h3>Reading and Writing Image Files</h3>
<p><a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> provides several ways of reading an image file: The file can be loaded when constructing the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> object, or by using the load() or loadFromData() functions later on. When loading an image, the file name can either refer to an actual file on disk or to one of the application's embedded resources. See <a href="%2E%2E/resources.html">The Qt Resource System</tt></a> overview for details on how to embed images and other resource files in the application's executable.</p>
<p>Simply call the save() function to save a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> object.</p>
<p>The complete list of supported file formats are available through the QImageReader::supportedImageFormats() and QImageWriter::supportedImageFormats() functions. New file formats can be added as plugins. By default, Qt supports the following formats:</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Format</th><th>Description</th><th>Qt's support</th></tr></thead>
<tr valign="top" class="odd"><td>BMP</td><td>Windows Bitmap</td><td>Read/write</td></tr>
<tr valign="top" class="even"><td>GIF</td><td>Graphic Interchange Format (optional)</td><td>Read</td></tr>
<tr valign="top" class="odd"><td>JPG</td><td>Joint Photographic Experts Group</td><td>Read/write</td></tr>
<tr valign="top" class="even"><td>JPEG</td><td>Joint Photographic Experts Group</td><td>Read/write</td></tr>
<tr valign="top" class="odd"><td>PNG</td><td>Portable Network Graphics</td><td>Read/write</td></tr>
<tr valign="top" class="even"><td>PBM</td><td>Portable Bitmap</td><td>Read</td></tr>
<tr valign="top" class="odd"><td>PGM</td><td>Portable Graymap</td><td>Read</td></tr>
<tr valign="top" class="even"><td>PPM</td><td>Portable Pixmap</td><td>Read/write</td></tr>
<tr valign="top" class="odd"><td>XBM</td><td>X11 Bitmap</td><td>Read/write</td></tr>
<tr valign="top" class="even"><td>XPM</td><td>X11 Pixmap</td><td>Read/write</td></tr>
</table></p>
<p>(To configure Qt with GIF support, pass <tt>-qt-gif</tt> to the <tt>configure</tt> script or check the appropriate option in the graphical installer.)</p>
<a name="pixmap-information"></a>
<h3>Pixmap Information</h3>
<p><a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> provides a collection of functions that can be used to obtain a variety of information about the pixmap:</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th></th><th>Available Functions</th></tr></thead>
<tr valign="top" class="odd"><td>Geometry</td><td>The <a href="QPixmap.html#size()"><tt>size</tt></a>, <a href="QPixmap.html#width()"><tt>width</tt></a> and <a href="QPixmap.html#height()"><tt>height</tt></a> functions provide information about the pixmap's size. The <a href="QPixmap.html#rect()"><tt>rect</tt></a> function returns the image's enclosing rectangle.</td></tr>
<tr valign="top" class="even"><td>Alpha component</td><td>The <a href="QPixmap.html#hasAlphaChannel()"><tt>hasAlphaChannel</tt></a> returns true if the pixmap has a format that respects the alpha channel, otherwise returns false, while the <a href="QPixmap.html#hasAlpha()"><tt>hasAlpha</tt></a> function returns true if the pixmap has an alpha channel <i>or</i> a mask (otherwise false).<p>The <a href="QPixmap.html#alphaChannel()"><tt>alphaChannel</tt></a> function returns the alpha channel as a new <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> object, while the <a href="QPixmap.html#mask()"><tt>mask</tt></a> function returns the mask as a <a href="QBitmap.html"><tt>QBitmap</tt></a> object. The alpha channel and mask can be set using the <a href="QPixmap.html#setAlphaChannel(com.trolltech.qt.gui.QPixmap)"><tt>setAlphaChannel</tt></a> and <a href="QPixmap.html#setMask(com.trolltech.qt.gui.QBitmap)"><tt>setMask</tt></a> functions, respectively.</p>
</td></tr>
<tr valign="top" class="odd"><td>Low-level information</td><td>The <a href="QPixmap.html#depth()"><tt>depth</tt></a> function returns the depth of the pixmap. The <a href="QPixmap.html#defaultDepth()"><tt>defaultDepth</tt></a> function returns the default depth, i.e&#x2e; the depth used by the application on the given screen.<p>The <a href="QPixmap.html#cacheKey()"><tt>cacheKey</tt></a> function returns a number that uniquely identifies the contents of the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> object.</p>
<p>The x11Info() function returns information about the configuration of the X display used to display the widget. The x11PictureHandle() function returns the X11 Picture handle of the pixmap for XRender support. Note that the two latter functions are only available on x11.</p>
</td></tr>
</table></p>
<a name="pixmap-conversion"></a>
<h3>Pixmap Conversion</h3>
<p>A <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> object can be converted into a <a href="QImage.html"><tt>QImage</tt></a> using the <a href="QPixmap.html#toImage()"><tt>toImage</tt></a> function. Likewise, a <a href="QImage.html"><tt>QImage</tt></a> can be converted into a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> using the <a href="QPixmap.html#fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlags)"><tt>fromImage</tt></a>. If this is too expensive an operation, you can use QBitmap::fromImage() instead.</p>
<p>In addition, on Windows, the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> class supports conversion to and from HBitmap: the toWinHBITMAP() function creates a HBITMAP equivalent to the <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>, based on the given HBitmapFormat, and returns the HBITMAP handle. The fromWinHBITMAP() function returns a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> that is equivalent to the given bitmap which has the specified format.</p>
<a name="pixmap-transformations"></a>
<h3>Pixmap Transformations</h3>
<p><a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> supports a number of functions for creating a new pixmap that is a transformed version of the original: The <a href="QPixmap.html#createHeuristicMask(boolean)"><tt>createHeuristicMask</tt></a> function creates and returns a 1-bpp heuristic mask (i.e&#x2e; a <a href="QBitmap.html"><tt>QBitmap</tt></a>) for this pixmap. It works by selecting a color from one of the corners and then chipping away pixels of that color, starting at all the edges. The <a href="QPixmap.html#createMaskFromColor(com.trolltech.qt.gui.QColor, com.trolltech.qt.core.Qt.MaskMode)"><tt>createMaskFromColor</tt></a> function creates and returns a mask (i.e&#x2e; a <a href="QBitmap.html"><tt>QBitmap</tt></a>) for the pixmap based on a given color.</p>
<p>The <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaled</tt></a>, <a href="QPixmap.html#scaledToWidth(int, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaledToWidth</tt></a> and <a href="QPixmap.html#scaledToHeight(int, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaledToHeight</tt></a> functions return scaled copies of the pixmap, while the <a href="QPixmap.html#copy(com.trolltech.qt.core.QRect)"><tt>copy</tt></a> function creates a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> that is a plain copy of the original one.</p>
<p>The <a href="QPixmap.html#transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)"><tt>transformed</tt></a> function returns a copy of the pixmap that is transformed with the given transformation matrix and transformation mode: Internally, the transformation matrix is adjusted to compensate for unwanted translation, i.e&#x2e; <a href="QPixmap.html#transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)"><tt>transformed</tt></a> returns the smallest pixmap containing all transformed points of the original pixmap. The static <a href="QPixmap.html#trueMatrix(com.trolltech.qt.gui.QMatrix, int, int)"><tt>trueMatrix</tt></a> function returns the actual matrix used for transforming the pixmap.</p>
<p>There are also functions for changing attributes of a pixmap. in-place: The <a href="QPixmap.html#fill(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><tt>fill</tt></a> function fills the entire image with the given color, the <a href="QPixmap.html#setMask(com.trolltech.qt.gui.QBitmap)"><tt>setMask</tt></a> function sets a mask bitmap, and the <a href="QPixmap.html#setAlphaChannel(com.trolltech.qt.gui.QPixmap)"><tt>setAlphaChannel</tt></a> function sets the pixmap's alpha channel.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QBitmap.html"><tt>QBitmap</tt></a>, 
<a href="QImage.html"><tt>QImage</tt></a>, 
<a href="QImageReader.html"><tt>QImageReader</tt></a>, 
<a href="QImageWriter.html"><tt>QImageWriter</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap()">QPixmap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a null pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(int, int)">QPixmap</A></B>(int&nbsp;w,
        int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a pixmap with the given <tt>w</tt> and <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(com.trolltech.qt.gui.QPixmap)">QPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a pixmap that is a copy of the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(com.trolltech.qt.core.QSize)">QPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a pixmap of the given <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(java.lang.String)">QPixmap</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded constructor provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(java.lang.String[])">QPixmap</A></B>(java.lang.String[]&nbsp;xpm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a pixmap from the given <tt>xpm</tt> data, which must be a
valid XPM image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(java.lang.String, java.lang.String)">QPixmap</A></B>(java.lang.String&nbsp;fileName,
        java.lang.String&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded constructor provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)">QPixmap</A></B>(java.lang.String&nbsp;fileName,
        java.lang.String&nbsp;format,
        <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded constructor provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#QPixmap(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)">QPixmap</A></B>(java.lang.String&nbsp;fileName,
        java.lang.String&nbsp;format,
        <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a pixmap from the file with the given <tt>fileName</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#alphaChannel()">alphaChannel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alpha channel of the pixmap as a new grayscale <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> in which each pixel's red, green, and blue values are given the alpha value of the original pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#cacheKey()">cacheKey</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a number that identifies this <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#copy()">copy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#copy(com.trolltech.qt.core.QRect)">copy</tt></a>(QRect()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#copy(int, int, int, int)">copy</A></B>(int&nbsp;x,
     int&nbsp;y,
     int&nbsp;width,
     int&nbsp;height)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a deep copy of the subset of the pixmap that is specified by the rectangle <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>( <tt>x</tt>, <tt>y</tt>, <tt>width</tt>, <tt>height</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#copy(com.trolltech.qt.core.QRect)">copy</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a deep copy of the subset of the pixmap that is specified by the given <tt>rect</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#createHeuristicMask()">createHeuristicMask</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#createHeuristicMask(boolean)"><tt>createHeuristicMask</tt></a>(true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#createHeuristicMask(boolean)">createHeuristicMask</A></B>(boolean&nbsp;clipTight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a heuristic mask for this pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#createMaskFromColor(com.trolltech.qt.gui.QColor)">createMaskFromColor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;maskColor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a mask for this pixmap based on the given <tt>maskColor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#createMaskFromColor(com.trolltech.qt.gui.QColor, com.trolltech.qt.core.Qt.MaskMode)">createMaskFromColor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;maskColor,
                    <A HREF="../../../../com/trolltech/qt/core/Qt.MaskMode.html" title="enum in com.trolltech.qt.core">Qt.MaskMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a mask for this pixmap based on the given <tt>maskColor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#defaultDepth()">defaultDepth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default pixmap depth used by the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#depth()">depth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the depth of the pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#devType()">devType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fill()">fill</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#fill(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)">fill</tt></a>(Qt::white).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fill(com.trolltech.qt.gui.QColor)">fill</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;fillColor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the pixmap with the given <tt>fillColor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fill(com.trolltech.qt.gui.QWidget, int, int)">fill</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
     int&nbsp;xofs,
     int&nbsp;yofs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the pixmap with the <tt>widget</tt>'s background color or pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fill(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)">fill</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
     <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;ofs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills the pixmap with the <tt>widget</tt>'s background color or pixmap according to the given offset.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fromImage(com.trolltech.qt.gui.QImage)">fromImage</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlags)"><tt>fromImage</tt></a>(<tt>image</tt>, Qt::AutoColor).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlag...)">fromImage</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given <tt>image</tt> to a pixmap using the specified <tt>flags</tt> to control the conversion.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlags)">fromImage</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given <tt>image</tt> to a pixmap using the specified <tt>flags</tt> to control the conversion.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QPixmap instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget)">grabWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, 0, 0, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int)">grabWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
           int&nbsp;x)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, <tt>x</tt>, 0, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int)">grabWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
           int&nbsp;x,
           int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, <tt>x</tt>, <tt>y</tt>, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int)">grabWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
           int&nbsp;x,
           int&nbsp;y,
           int&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, <tt>x</tt>, <tt>y</tt>, <tt>w</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)">grabWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
           int&nbsp;x,
           int&nbsp;y,
           int&nbsp;w,
           int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a pixmap and paints the given <tt>widget</tt>, restricted by <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), in it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QRect)">grabWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a pixmap and paints the given <tt>widget</tt>, restricted by the given <tt>rect</tt>, in it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWindow(long)">grabWindow</A></B>(long&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, 0, 0, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWindow(long, int)">grabWindow</A></B>(long&nbsp;arg__1,
           int&nbsp;x)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, <tt>x</tt>, 0, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWindow(long, int, int)">grabWindow</A></B>(long&nbsp;arg__1,
           int&nbsp;x,
           int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, <tt>x</tt>, <tt>y</tt>, -1, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWindow(long, int, int, int)">grabWindow</A></B>(long&nbsp;arg__1,
           int&nbsp;x,
           int&nbsp;y,
           int&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, <tt>x</tt>, <tt>y</tt>, <tt>w</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#grabWindow(long, int, int, int, int)">grabWindow</A></B>(long&nbsp;arg__1,
           int&nbsp;x,
           int&nbsp;y,
           int&nbsp;w,
           int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a pixmap constructed by grabbing the contents of the given <tt>arg__1</tt> restricted by <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#hasAlpha()">hasAlpha</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this pixmap has an alpha channel, <i>or</i> has a mask, otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#hasAlphaChannel()">hasAlphaChannel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the pixmap has a format that respects the alpha channel, otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#height()">height</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#heightMM()">heightMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the paint device in millimeters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#isNull()">isNull</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this is a null pixmap; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#isQBitmap()">isQBitmap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this is a <a href="QBitmap.html"><tt>QBitmap</tt></a>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#load(java.lang.String)">load</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#load(java.lang.String, java.lang.String)">load</A></B>(java.lang.String&nbsp;fileName,
     java.lang.String&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#load(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)">load</A></B>(java.lang.String&nbsp;fileName,
     java.lang.String&nbsp;format,
     <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#load(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)">load</A></B>(java.lang.String&nbsp;fileName,
     java.lang.String&nbsp;format,
     <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a pixmap from the file with the given <tt>fileName</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(byte[])">loadFromData</A></B>(byte[]&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(byte[], java.lang.String)">loadFromData</A></B>(byte[]&nbsp;data,
             java.lang.String&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(byte[], java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)">loadFromData</A></B>(byte[]&nbsp;data,
             java.lang.String&nbsp;format,
             <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(byte[], java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)">loadFromData</A></B>(byte[]&nbsp;data,
             java.lang.String&nbsp;format,
             <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a pixmap from the binary
<tt>data</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(com.trolltech.qt.core.QByteArray)">loadFromData</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(com.trolltech.qt.core.QByteArray, java.lang.String)">loadFromData</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
             java.lang.String&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(com.trolltech.qt.core.QByteArray, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)">loadFromData</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
             java.lang.String&nbsp;format,
             <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#loadFromData(com.trolltech.qt.core.QByteArray, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)">loadFromData</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
             java.lang.String&nbsp;format,
             <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a pixmap from the binary <tt>data</tt> using the specified
<tt>format</tt> and conversion <tt>flags</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#logicalDpiX()">logicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#logicalDpiY()">logicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#mask()">mask</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the mask, or a null bitmap if no mask has been set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the metric information for the given paint device <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#nativePointerArray(com.trolltech.qt.gui.QPixmap[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QPixmap array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#numColors()">numColors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of different colors available for the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#paintEngine()">paintEngine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#paintingActive()">paintingActive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#physicalDpiX()">physicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#physicalDpiY()">physicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QPixmap from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#rect()">rect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the pixmap's enclosing rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#save(com.trolltech.qt.core.QIODevice)">save</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#save(com.trolltech.qt.core.QIODevice, java.lang.String)">save</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
     java.lang.String&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#save(com.trolltech.qt.core.QIODevice, java.lang.String, int)">save</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
     java.lang.String&nbsp;format,
     int&nbsp;quality)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function writes a QPixmap to the given <tt>dev</tt> using the
specified image file <tt>format</tt> and <tt>quality</tt> factor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#save(java.lang.String)">save</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#save(java.lang.String, java.lang.String)">save</A></B>(java.lang.String&nbsp;fileName,
     java.lang.String&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded method provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#save(java.lang.String, java.lang.String, int)">save</A></B>(java.lang.String&nbsp;fileName,
     java.lang.String&nbsp;format,
     int&nbsp;quality)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves the pixmap to the file with the given <tt>fileName</tt> using the
specified image file <tt>format</tt> and <tt>quality</tt> factor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaled(int, int)">scaled</A></B>(int&nbsp;w,
       int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>w</tt>, <tt>h</tt>, Qt::IgnoreAspectRatio, Qt::FastTransformation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaled(int, int, com.trolltech.qt.core.Qt.AspectRatioMode)">scaled</A></B>(int&nbsp;w,
       int&nbsp;h,
       <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>w</tt>, <tt>h</tt>, <tt>aspectMode</tt>, Qt::FastTransformation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaled(int, int, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</A></B>(int&nbsp;w,
       int&nbsp;h,
       <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode,
       <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the pixmap scaled to a rectangle with the given <tt>w</tt> and <tt>h</tt> according to the given <tt>aspectMode</tt> and <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaled(com.trolltech.qt.core.QSize)">scaled</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>s</tt>, Qt::IgnoreAspectRatio, Qt::FastTransformation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode)">scaled</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s,
       <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>s</tt>, <tt>aspectMode</tt>, Qt::FastTransformation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s,
       <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode,
       <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scales the pixmap to the given <tt>s</tt>, using the aspect ratio and transformation modes specified by <tt>aspectMode</tt> and <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaledToHeight(int)">scaledToHeight</A></B>(int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#scaledToHeight(int, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaledToHeight</tt></a>(<tt>h</tt>, Qt::FastTransformation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaledToHeight(int, com.trolltech.qt.core.Qt.TransformationMode)">scaledToHeight</A></B>(int&nbsp;h,
               <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a scaled copy of the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaledToWidth(int)">scaledToWidth</A></B>(int&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QPixmap.html#scaledToWidth(int, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaledToWidth</tt></a>(<tt>w</tt>, Qt::FastTransformation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#scaledToWidth(int, com.trolltech.qt.core.Qt.TransformationMode)">scaledToWidth</A></B>(int&nbsp;w,
              <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a scaled copy of the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#setAlphaChannel(com.trolltech.qt.gui.QPixmap)">setAlphaChannel</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alpha channel of this pixmap to the given <tt>arg__1</tt> by converting the <tt>arg__1</tt> into 32 bit and using the intensity of the RGB pixel values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#setMask(com.trolltech.qt.gui.QBitmap)">setMask</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a mask bitmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#size()">size</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#toImage()">toImage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the pixmap to a <a href="QImage.html"><tt>QImage</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#transformed(com.trolltech.qt.gui.QMatrix, com.trolltech.qt.core.Qt.TransformationMode)">transformed</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;arg__1,
            <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function loads the <tt>arg__1</tt> into a <a href="QTransform.html"><tt>QTransform</tt></a> and calls the overloaded function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)">transformed</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;arg__1,
            <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the pixmap that is transformed using the given transformation <tt>arg__1</tt> and transformation <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#trueMatrix(com.trolltech.qt.gui.QMatrix, int, int)">trueMatrix</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;m,
           int&nbsp;w,
           int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function loads the matrix <tt>m</tt> into a <a href="QTransform.html"><tt>QTransform</tt></a> and calls the overloaded function with the <a href="QTransform.html"><tt>QTransform</tt></a> and the width <tt>w</tt> and the height <tt>h</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#trueMatrix(com.trolltech.qt.gui.QTransform, int, int)">trueMatrix</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;m,
           int&nbsp;w,
           int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the actual matrix used for transforming a pixmap with the given <tt>w</tt>, <tt>h</tt> and <tt>m</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#width()">width</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the pixmap.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#widthMM()">widthMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the paint device in millimeters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QPixmap.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQPixmap to arg__1.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QPixmap(int, int)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(int&nbsp;w,
               int&nbsp;h)</PRE>
<DL>
<DD><p>Constructs a pixmap with the given <tt>w</tt> and <tt>h</tt>.</p>
<p>The content of the pixmap is uninitialized. If either <tt>w</tt> or <tt>h</tt> is zero, a null pixmap is constructed.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#isNull()"><tt>isNull</tt></a></DL>
</DL>
<HR>

<A NAME="QPixmap(com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Constructs a pixmap that is a copy of the given <tt>arg__1</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#copy(com.trolltech.qt.core.QRect)"><tt>copy</tt></a></DL>
</DL>
<HR>

<A NAME="QPixmap(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Constructs a pixmap of the given <tt>arg__1</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QPixmap()"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>()</PRE>
<DL>
<DD><p>Constructs a null pixmap.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#isNull()"><tt>isNull</tt></a></DL>
</DL>
<HR>

<A NAME="QPixmap(java.lang.String[])"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(java.lang.String[]&nbsp;xpm)</PRE>
<DL>
<DD>Constructs a pixmap from the given <tt>xpm</tt> data, which must be a
valid XPM image.
<p>
Errors are silently ignored.
<P>
</DL>
<HR>

<A NAME="QPixmap(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(java.lang.String&nbsp;fileName,
               java.lang.String&nbsp;format,
               <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD>Constructs a pixmap from the file with the given <tt>fileName</tt>. If the
file does not exist or is of an unknown format, the pixmap becomes a
null pixmap.
<p>
The loader attempts to read the pixmap using the specified
<tt>format</tt>. If the <tt>format</tt> is not specified (which is the default),
the loader probes the file for a header to guess the file format.
<p>
The file name can either refer to an actual file on disk or to
one of the application's embedded resources. See the
\l{resources.html}{Resource System} overview for details on how
to embed images and other resource files in the application's
executable.
<p>
If the image needs to be modified to fit in a lower-resolution
result (e.g. converting from 32-bit to 8-bit), use the
<tt>flags</tt> to control the conversion.
<p>
The <tt>fileName, <tt>format</tt> and <tt>flags</tt> parameters are
passed on to load(). This means that the data in <tt>fileName</tt> is
not compiled into the binary. If <tt>fileName</tt> contains a relative
path (e.g. the filename only) the relevant file must be found
relative to the runtime working directory.
<P>
</DL>
<HR>

<A NAME="QPixmap(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(java.lang.String&nbsp;fileName,
               java.lang.String&nbsp;format,
               <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD>This is an overloaded constructor provided for convenience.
<P>
</DL>
<HR>

<A NAME="QPixmap(java.lang.String, java.lang.String)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(java.lang.String&nbsp;fileName,
               java.lang.String&nbsp;format)</PRE>
<DL>
<DD>This is an overloaded constructor provided for convenience.
<P>
</DL>
<HR>

<A NAME="QPixmap(java.lang.String)"><!-- --></A><H3>
QPixmap</H3>
<PRE>
public <B>QPixmap</B>(java.lang.String&nbsp;fileName)</PRE>
<DL>
<DD>This is an overloaded constructor provided for convenience.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="alphaChannel()"><!-- --></A><H3>
alphaChannel</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>alphaChannel</B>()</PRE>
<DL>
<DD><p>Returns the alpha channel of the pixmap as a new grayscale <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> in which each pixel's red, green, and blue values are given the alpha value of the original pixmap. The color depth of the returned pixmap is the system depth on X11 and 8-bit on Windows and Mac OS X.</p>
<p>You can use this function while debugging to get a visible image of the alpha channel. If the pixmap doesn't have an alpha channel, i.e&#x2e;, the alpha channel's value for all pixels equals 0xff), a null pixmap is returned. You can check this with the <tt>isNull()</tt> function.</p>
<p>We show an example:</p>
<pre>            pixmap = QPixmap(100, 100);
            pixmap.fill(Qt::transparent);

            QRadialGradient gradient(50, 50, 50, 50, 50);
            gradient.setColorAt(0, QColor::fromRgbF(1, 0, 0, 1));
            gradient.setColorAt(1, QColor::fromRgbF(0, 0, 0, 0));
            QPainter painter(&amp;pixmap);
            painter.fillRect(0, 0, 100, 100, gradient);

            channelImage = pixmap.alphaChannel();
            update();</pre>
<p align="center"><img src="%2E%2E/images/alphachannelimage.png" alt="The pixmap and channelImage QPixmaps" /></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#setAlphaChannel(com.trolltech.qt.gui.QPixmap)"><tt>setAlphaChannel</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="cacheKey()"><!-- --></A><H3>
cacheKey</H3>
<PRE>
public final long <B>cacheKey</B>()</PRE>
<DL>
<DD><p>Returns a number that identifies this <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>. Distinct <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> objects can only have the same cache key if they refer to the same contents.</p>
<p>The <a href="QPixmap.html#cacheKey()"><tt>cacheKey</tt></a> will change when the pixmap is altered.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="copy(int, int, int, int)"><!-- --></A><H3>
copy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>copy</B>(int&nbsp;x,
                          int&nbsp;y,
                          int&nbsp;width,
                          int&nbsp;height)</PRE>
<DL>
<DD><p>Returns a deep copy of the subset of the pixmap that is specified by the rectangle <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>( <tt>x</tt>, <tt>y</tt>, <tt>width</tt>, <tt>height</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="copy()"><!-- --></A><H3>
copy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>copy</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#copy(com.trolltech.qt.core.QRect)">copy</tt></a>(QRect()).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="copy(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
copy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>copy</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Returns a deep copy of the subset of the pixmap that is specified by the given <tt>rect</tt>. For more information on deep copies, see the Implicit Data Sharing</tt> documentation.</p>
<p>If the given <tt>rect</tt> is empty, the whole image is copied.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>operator=</tt>, 
<a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="createHeuristicMask()"><!-- --></A><H3>
createHeuristicMask</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>createHeuristicMask</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#createHeuristicMask(boolean)"><tt>createHeuristicMask</tt></a>(true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createHeuristicMask(boolean)"><!-- --></A><H3>
createHeuristicMask</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>createHeuristicMask</B>(boolean&nbsp;clipTight)</PRE>
<DL>
<DD><p>Creates and returns a heuristic mask for this pixmap.</p>
<p>The function works by selecting a color from one of the corners and then chipping away pixels of that color, starting at all the edges. If <tt>clipTight</tt> is true (the default) the mask is just large enough to cover the pixels; otherwise, the mask is larger than the data pixels.</p>
<p>The mask may not be perfect but it should be reasonable, so you can do things such as the following:</p>
<pre>    QPixmap myPixmap;
    myPixmap-&gt;setMask(myPixmap-&gt;createHeuristicMask());</pre>
<p>This function is slow because it involves converting to/from a <a href="QImage.html"><tt>QImage</tt></a>, and non-trivial computations.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QImage::createHeuristicMask</tt>, 
<a href="QPixmap.html#createMaskFromColor(com.trolltech.qt.gui.QColor, com.trolltech.qt.core.Qt.MaskMode)"><tt>createMaskFromColor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="createMaskFromColor(com.trolltech.qt.gui.QColor)"><!-- --></A><H3>
createMaskFromColor</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>createMaskFromColor</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;maskColor)</PRE>
<DL>
<DD><p>Creates and returns a mask for this pixmap based on the given <tt>maskColor</tt>. Same as calling <a href="QPixmap.html#createMaskFromColor(com.trolltech.qt.gui.QColor, com.trolltech.qt.core.Qt.MaskMode)"><tt>createMaskFromColor</tt></a>(maskColor, Qt::MaskInColor)</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#createHeuristicMask(boolean)"><tt>createHeuristicMask</tt></a>, 
<tt>QImage::createMaskFromColor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="createMaskFromColor(com.trolltech.qt.gui.QColor, com.trolltech.qt.core.Qt.MaskMode)"><!-- --></A><H3>
createMaskFromColor</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>createMaskFromColor</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;maskColor,
                                         <A HREF="../../../../com/trolltech/qt/core/Qt.MaskMode.html" title="enum in com.trolltech.qt.core">Qt.MaskMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Creates and returns a mask for this pixmap based on the given <tt>maskColor</tt>. If the <tt>mode</tt> is Qt::MaskInColor, all pixels matching the maskColor will be opaque. If <tt>mode</tt> is Qt::MaskOutColor, all pixels matching the maskColor will be transparent.</p>
<p>This function is slow because it involves converting to/from a <a href="QImage.html"><tt>QImage</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#createHeuristicMask(boolean)"><tt>createHeuristicMask</tt></a>, 
<tt>QImage::createMaskFromColor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="depth()"><!-- --></A><H3>
depth</H3>
<PRE>
public final int <B>depth</B>()</PRE>
<DL>
<DD><p>Returns the depth of the pixmap.</p>
<p>The pixmap depth is also called bits per pixel (bpp) or bit planes of a pixmap. A null pixmap has depth 0.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#depth()">depth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#defaultDepth()"><tt>defaultDepth</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fill()"><!-- --></A><H3>
fill</H3>
<PRE>
public final void <B>fill</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#fill(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)">fill</tt></a>(Qt::white).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fill(com.trolltech.qt.gui.QColor)"><!-- --></A><H3>
fill</H3>
<PRE>
public final void <B>fill</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;fillColor)</PRE>
<DL>
<DD><p>Fills the pixmap with the given <tt>fillColor</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fill(com.trolltech.qt.gui.QWidget, int, int)"><!-- --></A><H3>
fill</H3>
<PRE>
public final void <B>fill</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                       int&nbsp;xofs,
                       int&nbsp;yofs)</PRE>
<DL>
<DD><p>Fills the pixmap with the <tt>widget</tt>'s background color or pixmap. The given point, (<tt>xofs</tt>, <tt>yofs</tt>), defines an offset in widget coordinates to which the pixmap's top-left pixel will be mapped to.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fill(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
fill</H3>
<PRE>
public final void <B>fill</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                       <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;ofs)</PRE>
<DL>
<DD><p>Fills the pixmap with the <tt>widget</tt>'s background color or pixmap according to the given offset.</p>
<p>The <a href="%2E%2E/core/QPoint.html"><tt>QPoint</tt></a> <tt>ofs</tt> defines a point in widget coordinates to which the pixmap's top-left pixel will be mapped to. This is only significant if the widget has a background pixmap; otherwise the pixmap will simply be filled with the background color of the widget.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hasAlpha()"><!-- --></A><H3>
hasAlpha</H3>
<PRE>
public final boolean <B>hasAlpha</B>()</PRE>
<DL>
<DD><p>Returns true if this pixmap has an alpha channel, <i>or</i> has a mask, otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#hasAlphaChannel()"><tt>hasAlphaChannel</tt></a>, 
<a href="QPixmap.html#alphaChannel()"><tt>alphaChannel</tt></a>, 
<a href="QPixmap.html#mask()"><tt>mask</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasAlphaChannel()"><!-- --></A><H3>
hasAlphaChannel</H3>
<PRE>
public final boolean <B>hasAlphaChannel</B>()</PRE>
<DL>
<DD><p>Returns true if the pixmap has a format that respects the alpha channel, otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#alphaChannel()"><tt>alphaChannel</tt></a>, 
<a href="QPixmap.html#hasAlpha()"><tt>hasAlpha</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public final int <B>height</B>()</PRE>
<DL>
<DD><p>Returns the height of the pixmap.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#height()">height</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#size()"><tt>size</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="heightMM()"><!-- --></A><H3>
heightMM</H3>
<PRE>
public final int <B>heightMM</B>()</PRE>
<DL>
<DD><p>Returns the height of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#heightMM()">heightMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#height()"><tt>height</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isNull()"><!-- --></A><H3>
isNull</H3>
<PRE>
public final boolean <B>isNull</B>()</PRE>
<DL>
<DD><p>Returns true if this is a null pixmap; otherwise returns false.</p>
<p>A null pixmap has zero width, zero height and no contents. You cannot draw in a null pixmap.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isQBitmap()"><!-- --></A><H3>
isQBitmap</H3>
<PRE>
public final boolean <B>isQBitmap</B>()</PRE>
<DL>
<DD><p>Returns true if this is a <a href="QBitmap.html"><tt>QBitmap</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiX()"><!-- --></A><H3>
logicalDpiX</H3>
<PRE>
public final int <B>logicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QPixmap.html#widthMM()"><tt>widthMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QPixmap.html#logicalDpiX()"><tt>logicalDpiX</tt></a> doesn't equal the <a href="QPixmap.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiX()">logicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, 
<a href="QPixmap.html#physicalDpiX()"><tt>physicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiY()"><!-- --></A><H3>
logicalDpiY</H3>
<PRE>
public final int <B>logicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QPixmap.html#heightMM()"><tt>heightMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QPixmap.html#logicalDpiY()"><tt>logicalDpiY</tt></a> doesn't equal the <a href="QPixmap.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiY()">logicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, 
<a href="QPixmap.html#physicalDpiY()"><tt>physicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mask()"><!-- --></A><H3>
mask</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A> <B>mask</B>()</PRE>
<DL>
<DD><p>Returns the mask, or a null bitmap if no mask has been set.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#setMask(com.trolltech.qt.gui.QBitmap)"><tt>setMask</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="numColors()"><!-- --></A><H3>
numColors</H3>
<PRE>
public final int <B>numColors</B>()</PRE>
<DL>
<DD><p>Returns the number of different colors available for the paint device. Since this value is an int, it will not be sufficient to represent the number of colors on 32 bit displays, in this case INT_MAX is returned instead.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#numColors()">numColors</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQPixmap to arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QPixmap from arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="paintingActive()"><!-- --></A><H3>
paintingActive</H3>
<PRE>
public final boolean <B>paintingActive</B>()</PRE>
<DL>
<DD><p>Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintingActive()">paintingActive</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QPainter::isActive</tt></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiX()"><!-- --></A><H3>
physicalDpiX</H3>
<PRE>
public final int <B>physicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QPixmap.html#physicalDpiX()"><tt>physicalDpiX</tt></a> doesn't equal the <a href="QPixmap.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiX()">physicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, 
<a href="QPixmap.html#logicalDpiX()"><tt>logicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiY()"><!-- --></A><H3>
physicalDpiY</H3>
<PRE>
public final int <B>physicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QPixmap.html#physicalDpiY()"><tt>physicalDpiY</tt></a> doesn't equal the <a href="QPixmap.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, the corresponding <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiY()">physicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, 
<a href="QPixmap.html#logicalDpiY()"><tt>logicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rect()"><!-- --></A><H3>
rect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>rect</B>()</PRE>
<DL>
<DD><p>Returns the pixmap's enclosing rectangle.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="scaled(int, int, com.trolltech.qt.core.Qt.AspectRatioMode)"><!-- --></A><H3>
scaled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaled</B>(int&nbsp;w,
                            int&nbsp;h,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>w</tt>, <tt>h</tt>, <tt>aspectMode</tt>, Qt::FastTransformation).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaled(int, int)"><!-- --></A><H3>
scaled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaled</B>(int&nbsp;w,
                            int&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>w</tt>, <tt>h</tt>, Qt::IgnoreAspectRatio, Qt::FastTransformation).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaled(int, int, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)"><!-- --></A><H3>
scaled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaled</B>(int&nbsp;w,
                            int&nbsp;h,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns a copy of the pixmap scaled to a rectangle with the given <tt>w</tt> and <tt>h</tt> according to the given <tt>aspectMode</tt> and <tt>mode</tt>.</p>
<p>If either the <tt>w</tt> or the <tt>h</tt> is zero or negative, this function returns a null pixmap.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode)"><!-- --></A><H3>
scaled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaled</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>s</tt>, <tt>aspectMode</tt>, Qt::FastTransformation).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaled(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
scaled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaled</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)">scaled</tt></a>(<tt>s</tt>, Qt::IgnoreAspectRatio, Qt::FastTransformation).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaled(com.trolltech.qt.core.QSize, com.trolltech.qt.core.Qt.AspectRatioMode, com.trolltech.qt.core.Qt.TransformationMode)"><!-- --></A><H3>
scaled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaled</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectMode,
                            <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Scales the pixmap to the given <tt>s</tt>, using the aspect ratio and transformation modes specified by <tt>aspectMode</tt> and <tt>mode</tt>.</p>
<p align="center"><img src="%2E%2E/images/qimage-scaling.png" /></p><ul>
<li>If <tt>aspectMode</tt> is Qt::IgnoreAspectRatio, the pixmap is scaled to <tt>s</tt>.</li>
<li>If <tt>aspectMode</tt> is Qt::KeepAspectRatio, the pixmap is scaled to a rectangle as large as possible inside <tt>s</tt>, preserving the aspect ratio.</li>
<li>If <tt>aspectMode</tt> is Qt::KeepAspectRatioByExpanding, the pixmap is scaled to a rectangle as small as possible outside <tt>s</tt>, preserving the aspect ratio.</li>
</ul>
<p>If the given <tt>s</tt> is empty, this function returns a null pixmap.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#isNull()"><tt>isNull</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="scaledToHeight(int)"><!-- --></A><H3>
scaledToHeight</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaledToHeight</B>(int&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#scaledToHeight(int, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaledToHeight</tt></a>(<tt>h</tt>, Qt::FastTransformation).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaledToHeight(int, com.trolltech.qt.core.Qt.TransformationMode)"><!-- --></A><H3>
scaledToHeight</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaledToHeight</B>(int&nbsp;h,
                                    <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns a scaled copy of the image. The returned image is scaled to the given <tt>h</tt> using the specified transformation <tt>mode</tt>. The width of the pixmap is automatically calculated so that the aspect ratio of the pixmap is preserved.</p>
<p>If <tt>h</tt> is 0 or negative, a null pixmap is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#isNull()"><tt>isNull</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="scaledToWidth(int)"><!-- --></A><H3>
scaledToWidth</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaledToWidth</B>(int&nbsp;w)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#scaledToWidth(int, com.trolltech.qt.core.Qt.TransformationMode)"><tt>scaledToWidth</tt></a>(<tt>w</tt>, Qt::FastTransformation).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaledToWidth(int, com.trolltech.qt.core.Qt.TransformationMode)"><!-- --></A><H3>
scaledToWidth</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>scaledToWidth</B>(int&nbsp;w,
                                   <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns a scaled copy of the image. The returned image is scaled to the given <tt>w</tt> using the specified transformation <tt>mode</tt>. The height of the pixmap is automatically calculated so that the aspect ratio of the pixmap is preserved.</p>
<p>If <tt>w</tt> is 0 or negative, a null pixmap is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#isNull()"><tt>isNull</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setAlphaChannel(com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
setAlphaChannel</H3>
<PRE>
public final void <B>setAlphaChannel</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the alpha channel of this pixmap to the given <tt>arg__1</tt> by converting the <tt>arg__1</tt> into 32 bit and using the intensity of the RGB pixel values.</p>
<p>The effect of this function is undefined when the pixmap is being painted on.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#alphaChannel()"><tt>alphaChannel</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setMask(com.trolltech.qt.gui.QBitmap)"><!-- --></A><H3>
setMask</H3>
<PRE>
public final void <B>setMask</B>(<A HREF="../../../../com/trolltech/qt/gui/QBitmap.html" title="class in com.trolltech.qt.gui">QBitmap</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets a mask bitmap.</p>
<p>The <tt>arg__1</tt> bitmap defines the clip mask for this pixmap. Every pixel in <tt>arg__1</tt> corresponds to a pixel in this pixmap. Pixel value 1 means opaque and pixel value 0 means transparent. The mask must have the same size as this pixmap.</p>
<p><b>Warning:</b> Setting the mask on a pixmap will cause any alpha channel data to be cleared. For example:</p>
<pre>            QPixmap alpha(&quot;image-with-alpha.png&quot;);
            QPixmap alphacopy = alpha;
            alphacopy.setMask(alphacopy.mask());</pre>
<p>Now, alpha and alphacopy are visually different.</p>
<p>Setting a null mask resets the mask.</p>
<p>The effect of this function is undefined when the pixmap is being painted on.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#mask()"><tt>mask</tt></a>, 
<CODE>Transformations</tt></CODE>, 
<a href="QBitmap.html"><tt>QBitmap</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>size</B>()</PRE>
<DL>
<DD><p>Returns the size of the pixmap.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#width()"><tt>width</tt></a>, 
<a href="QPixmap.html#height()"><tt>height</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toImage()"><!-- --></A><H3>
toImage</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> <B>toImage</B>()</PRE>
<DL>
<DD><p>Converts the pixmap to a <a href="QImage.html"><tt>QImage</tt></a>. Returns a null image if the conversion fails.</p>
<p>If the pixmap has 1-bit depth, the returned image will also be 1 bit deep. If the pixmap has 2- to 8-bit depth, the returned image has 8-bit depth. If the pixmap has greater than 8-bit depth, the returned image has 32-bit depth.</p>
<p>Note that for the moment, alpha masks on monochrome images are ignored.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlags)"><tt>fromImage</tt></a>, 
<a href="QImage.html#image-formats">Image Formats</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="transformed(com.trolltech.qt.gui.QMatrix, com.trolltech.qt.core.Qt.TransformationMode)"><!-- --></A><H3>
transformed</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>transformed</B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;arg__1,
                                 <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>This convenience function loads the <tt>arg__1</tt> into a <a href="QTransform.html"><tt>QTransform</tt></a> and calls the overloaded function.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)"><!-- --></A><H3>
transformed</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>transformed</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;arg__1,
                                 <A HREF="../../../../com/trolltech/qt/core/Qt.TransformationMode.html" title="enum in com.trolltech.qt.core">Qt.TransformationMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns a copy of the pixmap that is transformed using the given transformation <tt>arg__1</tt> and transformation <tt>mode</tt>. The original pixmap is not changed.</p>
<p>The transformation <tt>arg__1</tt> is internally adjusted to compensate for unwanted translation; i.e&#x2e; the pixmap produced is the smallest pixmap that contains all the transformed points of the original pixmap. Use the <a href="QPixmap.html#trueMatrix(com.trolltech.qt.gui.QMatrix, int, int)"><tt>trueMatrix</tt></a> function to retrieve the actual matrix used for transforming the pixmap.</p>
<p>This function is slow because it involves transformation to a <a href="QImage.html"><tt>QImage</tt></a>, non-trivial computations and a transformation back to a <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#trueMatrix(com.trolltech.qt.gui.QMatrix, int, int)"><tt>trueMatrix</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public final int <B>width</B>()</PRE>
<DL>
<DD><p>Returns the width of the pixmap.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#width()">width</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#size()"><tt>size</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="widthMM()"><!-- --></A><H3>
widthMM</H3>
<PRE>
public final int <B>widthMM</B>()</PRE>
<DL>
<DD><p>Returns the width of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#widthMM()">widthMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#width()"><tt>width</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="devType()"><!-- --></A><H3>
devType</H3>
<PRE>
public int <B>devType</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#devType()">devType</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)"><!-- --></A><H3>
metric</H3>
<PRE>
public int <B>metric</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the metric information for the given paint device <tt>arg__1</tt>.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>PaintDeviceMetric</tt></DL>
</DD>
</DL>
<HR>

<A NAME="paintEngine()"><!-- --></A><H3>
paintEngine</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A> <B>paintEngine</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintEngine()">paintEngine</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="defaultDepth()"><!-- --></A><H3>
defaultDepth</H3>
<PRE>
public static int <B>defaultDepth</B>()</PRE>
<DL>
<DD><p>Returns the default pixmap depth used by the application.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#depth()"><tt>depth</tt></a>, 
<CODE>Information</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
fromImage</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>fromImage</B>(<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                                <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD><p>Converts the given <tt>image</tt> to a pixmap using the specified <tt>flags</tt> to control the conversion. The <tt>flags</tt> argument is a bitwise-OR of the <tt>Qt::ImageConversionFlags</tt>. Passing 0 for <tt>flags</tt> sets all the default options.</p>
<p>In case of monochrome and 8-bit images, the image is first converted to a 32-bit pixmap and then filled with the colors in the color table. If this is too expensive an operation, you can use QBitmap::fromImage() instead.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#toImage()"><tt>toImage</tt></a>, 
<CODE>Conversion</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromImage(com.trolltech.qt.gui.QImage)"><!-- --></A><H3>
fromImage</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>fromImage</B>(<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlags)"><tt>fromImage</tt></a>(<tt>image</tt>, Qt::AutoColor).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromImage(com.trolltech.qt.gui.QImage, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
fromImage</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>fromImage</B>(<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A>&nbsp;image,
                                <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Converts the given <tt>image</tt> to a pixmap using the specified <tt>flags</tt> to control the conversion. The <tt>flags</tt> argument is a bitwise-OR of the <tt>Qt::ImageConversionFlags</tt>. Passing 0 for <tt>flags</tt> sets all the default options.</p>
<p>In case of monochrome and 8-bit images, the image is first converted to a 32-bit pixmap and then filled with the colors in the color table. If this is too expensive an operation, you can use QBitmap::fromImage() instead.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#toImage()"><tt>toImage</tt></a>, 
<CODE>Conversion</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="grabWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
grabWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                                 <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Creates a pixmap and paints the given <tt>widget</tt>, restricted by the given <tt>rect</tt>, in it. If the <tt>widget</tt> has any children, then they are also painted in the appropriate positions.</p>
<p>If no rectangle is specified (the default) the entire widget is painted.</p>
<p>If <tt>widget</tt> is 0, the specified rectangle doesn't overlap the widget's rectangle, or an error occurs, the function will return a null <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a>. If the rectangle is a superset of the given <tt>widget</tt>, the areas outside the <tt>widget</tt> are covered with the widget's background.</p>
<p>This function actually asks <tt>widget</tt> to paint itself (and its children to paint themselves) by calling paintEvent() with painter redirection turned on. But <a href="QPixmap.html#QPixmap()"><tt>QPixmap</tt></a> also provides the <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a> function which is a bit faster grabbing pixels directly off the screen. In addition, if there are overlaying windows, <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>, unlike <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>, will see them.</p>
<p><b>Warning:</b> Do not call this function from QWidget::paintEvent().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="grabWidget(com.trolltech.qt.gui.QWidget, int, int, int)"><!-- --></A><H3>
grabWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                                 int&nbsp;x,
                                 int&nbsp;y,
                                 int&nbsp;w)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, <tt>x</tt>, <tt>y</tt>, <tt>w</tt>, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWidget(com.trolltech.qt.gui.QWidget, int, int)"><!-- --></A><H3>
grabWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                                 int&nbsp;x,
                                 int&nbsp;y)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, <tt>x</tt>, <tt>y</tt>, -1, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWidget(com.trolltech.qt.gui.QWidget, int)"><!-- --></A><H3>
grabWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                                 int&nbsp;x)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, <tt>x</tt>, 0, -1, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWidget(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
grabWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>(<tt>widget</tt>, 0, 0, -1, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><!-- --></A><H3>
grabWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                                 int&nbsp;x,
                                 int&nbsp;y,
                                 int&nbsp;w,
                                 int&nbsp;h)</PRE>
<DL>
<DD><p>Creates a pixmap and paints the given <tt>widget</tt>, restricted by <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), in it.</p>
<p><b>Warning:</b> Do not call this function from QWidget::paintEvent().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWindow(long, int, int, int)"><!-- --></A><H3>
grabWindow</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWindow</B>(long&nbsp;arg__1,
                                 int&nbsp;x,
                                 int&nbsp;y,
                                 int&nbsp;w)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, <tt>x</tt>, <tt>y</tt>, <tt>w</tt>, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWindow(long, int, int)"><!-- --></A><H3>
grabWindow</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWindow</B>(long&nbsp;arg__1,
                                 int&nbsp;x,
                                 int&nbsp;y)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, <tt>x</tt>, <tt>y</tt>, -1, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWindow(long, int)"><!-- --></A><H3>
grabWindow</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWindow</B>(long&nbsp;arg__1,
                                 int&nbsp;x)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, <tt>x</tt>, 0, -1, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWindow(long)"><!-- --></A><H3>
grabWindow</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWindow</B>(long&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a>(<tt>arg__1</tt>, 0, 0, -1, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="grabWindow(long, int, int, int, int)"><!-- --></A><H3>
grabWindow</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>grabWindow</B>(long&nbsp;arg__1,
                                 int&nbsp;x,
                                 int&nbsp;y,
                                 int&nbsp;w,
                                 int&nbsp;h)</PRE>
<DL>
<DD><p>Creates and returns a pixmap constructed by grabbing the contents of the given <tt>arg__1</tt> restricted by <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>).</p>
<p>The arguments (<tt>x</tt>, <tt>y</tt>) specify the offset in the window, whereas (<tt>w</tt>, <tt>h</tt>) specify the area to be copied. If <tt>w</tt> is negative, the function copies everything to the right border of the window. If <tt>h</tt> is negative, the function copies everything to the bottom of the window.</p>
<p>The window system identifier (<tt>WId</tt>) can be retrieved using the QWidget::winId() function. The rationale for using a window identifier and not a <a href="QWidget.html"><tt>QWidget</tt></a>, is to enable grabbing of windows that are not part of the application, window system frames, and so on.</p>
<p>The <a href="QPixmap.html#grabWindow(long, int, int, int, int)"><tt>grabWindow</tt></a> function grabs pixels from the screen, not from the window, i.e&#x2e; if there is another window partially or entirely over the one you grab, you get pixels from the overlying window, too. The mouse cursor is generally not grabbed.</p>
<p>Note on X11that if the given <tt>arg__1</tt> doesn't have the same depth as the root window, and another window partially or entirely obscures the one you grab, you will <i>not</i> get pixels from the overlying window. The contents of the obscured areas in the pixmap will be undefined and uninitialized.</p>
<p><b>Warning:</b> In general, grabbing an area outside the screen is not safe. This depends on the underlying window system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#grabWidget(com.trolltech.qt.gui.QWidget, int, int, int, int)"><tt>grabWidget</tt></a>, 
<a href="%2E%2E/qtjambi-screenshot.html">Screenshot Example</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="trueMatrix(com.trolltech.qt.gui.QTransform, int, int)"><!-- --></A><H3>
trueMatrix</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>trueMatrix</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;m,
                                    int&nbsp;w,
                                    int&nbsp;h)</PRE>
<DL>
<DD><p>Returns the actual matrix used for transforming a pixmap with the given <tt>w</tt>, <tt>h</tt> and <tt>m</tt>.</p>
<p>When transforming a pixmap using the <a href="QPixmap.html#transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)"><tt>transformed</tt></a> function, the transformation matrix is internally adjusted to compensate for unwanted translation, i.e&#x2e; <a href="QPixmap.html#transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)"><tt>transformed</tt></a> returns the smallest pixmap containing all transformed points of the original pixmap. This function returns the modified matrix, which maps points correctly from the original pixmap into the new pixmap.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QPixmap.html#transformed(com.trolltech.qt.gui.QTransform, com.trolltech.qt.core.Qt.TransformationMode)"><tt>transformed</tt></a>, 
<CODE>Transformations</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="trueMatrix(com.trolltech.qt.gui.QMatrix, int, int)"><!-- --></A><H3>
trueMatrix</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A> <B>trueMatrix</B>(<A HREF="../../../../com/trolltech/qt/gui/QMatrix.html" title="class in com.trolltech.qt.gui">QMatrix</A>&nbsp;m,
                                 int&nbsp;w,
                                 int&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function loads the matrix <tt>m</tt> into a <a href="QTransform.html"><tt>QTransform</tt></a> and calls the overloaded function with the <a href="QTransform.html"><tt>QTransform</tt></a> and the width <tt>w</tt> and the height <tt>h</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QPixmap instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.gui.QPixmap[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QPixmap array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="save(com.trolltech.qt.core.QIODevice, java.lang.String, int)"><!-- --></A><H3>
save</H3>
<PRE>
public final boolean <B>save</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
                          java.lang.String&nbsp;format,
                          int&nbsp;quality)</PRE>
<DL>
<DD>This function writes a QPixmap to the given <tt>dev</tt> using the
specified image file <tt>format</tt> and <tt>quality</tt> factor. This can be
used, for example, to save a pixmap directly into a QByteArray:
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="save(com.trolltech.qt.core.QIODevice, java.lang.String)"><!-- --></A><H3>
save</H3>
<PRE>
public final boolean <B>save</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
                          java.lang.String&nbsp;format)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="save(com.trolltech.qt.core.QIODevice)"><!-- --></A><H3>
save</H3>
<PRE>
public final boolean <B>save</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="save(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
save</H3>
<PRE>
public final boolean <B>save</B>(java.lang.String&nbsp;fileName,
                          java.lang.String&nbsp;format,
                          int&nbsp;quality)</PRE>
<DL>
<DD>Saves the pixmap to the file with the given <tt>fileName</tt> using the
specified image file <tt>format</tt> and <tt>quality</tt> factor. Returns true
if successful; otherwise returns false.
<p>
The <tt>quality</tt> factor must be in the range [0,100] or -1. Specify
0 to obtain small compressed files, 100 for large uncompressed
files, and -1 to use the default settings.
<p>
If <tt>format</tt> is 0, an image format will be chosen from <tt>fileName</tt>'s
suffix.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="save(java.lang.String, java.lang.String)"><!-- --></A><H3>
save</H3>
<PRE>
public final boolean <B>save</B>(java.lang.String&nbsp;fileName,
                          java.lang.String&nbsp;format)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="save(java.lang.String)"><!-- --></A><H3>
save</H3>
<PRE>
public final boolean <B>save</B>(java.lang.String&nbsp;fileName)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="load(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
load</H3>
<PRE>
public final boolean <B>load</B>(java.lang.String&nbsp;fileName,
                          java.lang.String&nbsp;format,
                          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD>Loads a pixmap from the file with the given <tt>fileName</tt>. Returns
true if the pixmap was successfully loaded; otherwise returns
false.
<p>
The loader attempts to read the pixmap using the specified
<tt>format</tt>. If the <tt>format</tt> is not specified (which is the default),
the loader probes the file for a header to guess the file format.
<p>
The file name can either refer to an actual file on disk or to one
of the application's embedded resources. See the
\l{resources.html}{Resource System} overview for details on how to
embed pixmaps and other resource files in the application's
executable.
<p>
If the data needs to be modified to fit in a lower-resolution
result (e.g. converting from 32-bit to 8-bit), use the <tt>flags</tt> to
control the conversion.
<p>
Note that QPixmaps are automatically added to the QPixmapCache
when loaded from a file; the key used is internal and can not
be acquired.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="load(java.lang.String, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
load</H3>
<PRE>
public final boolean <B>load</B>(java.lang.String&nbsp;fileName,
                          java.lang.String&nbsp;format,
                          <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="load(java.lang.String, java.lang.String)"><!-- --></A><H3>
load</H3>
<PRE>
public final boolean <B>load</B>(java.lang.String&nbsp;fileName,
                          java.lang.String&nbsp;format)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="load(java.lang.String)"><!-- --></A><H3>
load</H3>
<PRE>
public final boolean <B>load</B>(java.lang.String&nbsp;fileName)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(byte[], java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(byte[]&nbsp;data,
                                  java.lang.String&nbsp;format,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD>Loads a pixmap from the binary
<tt>data</tt>.  Returns true if the pixmap was loaded successfully;
otherwise returns false.
<p>
The loader attempts to read the pixmap using the specified
<tt>format</tt>. If the <tt>format</tt> is not specified (which is the default),
the loader probes the file for a header to guess the file format.
<p>
If the data needs to be modified to fit in a lower-resolution
result (e.g. converting from 32-bit to 8-bit), use the <tt>flags</tt> to
control the conversion.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(byte[], java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(byte[]&nbsp;data,
                                  java.lang.String&nbsp;format,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(byte[], java.lang.String)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(byte[]&nbsp;data,
                                  java.lang.String&nbsp;format)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(byte[])"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(byte[]&nbsp;data)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(com.trolltech.qt.core.QByteArray, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlags)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
                                  java.lang.String&nbsp;format,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>&nbsp;flags)</PRE>
<DL>
<DD>Loads a pixmap from the binary <tt>data</tt> using the specified
<tt>format</tt> and conversion <tt>flags</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(com.trolltech.qt.core.QByteArray, java.lang.String, com.trolltech.qt.core.Qt.ImageConversionFlag...)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
                                  java.lang.String&nbsp;format,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.ImageConversionFlag.html" title="enum in com.trolltech.qt.core">Qt.ImageConversionFlag</A>...&nbsp;flags)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(com.trolltech.qt.core.QByteArray, java.lang.String)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
                                  java.lang.String&nbsp;format)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="loadFromData(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
loadFromData</H3>
<PRE>
public final boolean <B>loadFromData</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data)</PRE>
<DL>
<DD>This is an overloaded method provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPictureIO.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmapCache.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QPixmap.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QPixmap.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>