📄 pixmap.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="fromGraphicsExporter(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporter</H3><PRE>public static <A HREF="../../quicktime/qd/PixMap.html">PixMap</A> <B>fromGraphicsExporter</B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A> ge)</PRE><DL><DD>A PixMap object which describes the pixels in the QDGraphics. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/MACWIN/imOffGraphWorlds.f.htm#pgfId=821">QuickTime::GetGWorldPixMap()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g</CODE> - the QDGraphics object<DT><B>Returns:</B><DD>a PixMap object<DT><B>See Also: </B><DD><CODE>quicktime.std.qd.QDGraphics#getPixMap</CODE></DL></DD></DL><HR><A NAME="fromQDGraphics(quicktime.qd.QDGraphics)"><!-- --></A><H3>fromQDGraphics</H3><PRE>public static <A HREF="../../quicktime/qd/PixMap.html">PixMap</A> <B>fromQDGraphics</B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A> g)</PRE><DL><DD>A PixMap object which describes the pixels in the QDGraphics. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/MACWIN/imOffGraphWorlds.f.htm#pgfId=821">QuickTime::GetGWorldPixMap()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g</CODE> - the QDGraphics object<DT><B>Returns:</B><DD>a PixMap object<DT><B>See Also: </B><DD><CODE>quicktime.std.qd.QDGraphics#getPixMap</CODE></DL></DD></DL><HR><A NAME="fromGDevice(quicktime.qd.GDevice)"><!-- --></A><H3>fromGDevice</H3><PRE>public static <A HREF="../../quicktime/qd/PixMap.html">PixMap</A> <B>fromGDevice</B>(<A HREF="../../quicktime/qd/GDevice.html">GDevice</A> g)</PRE><DL><DD>A PixMap object which describes the pixels in a GDevice.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g</CODE> - the GDevice object<DT><B>Returns:</B><DD>a PixMap object</DL></DD></DL><HR><A NAME="fromTrack(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrack</H3><PRE>public static <A HREF="../../quicktime/qd/PixMap.html">PixMap</A> <B>fromTrack</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A> t) throws <A HREF="../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>A PixMap object which describes the Matte of a Track.</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the Track object<DT><B>Returns:</B><DD>a PixMap object, or null if no matte set<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getMatte()"><CODE>Track.getMatte()</CODE></A></DL></DD></DL><HR><A NAME="isOffscreen()"><!-- --></A><H3>isOffscreen</H3><PRE>public boolean <B>isOffscreen</B>()</PRE><DL><DD>Returns true if the pixel data is from an offscreen GWorld or false if it is from an onscreen CGrafPort<DD><DL></DL></DD></DL><HR><A NAME="getRowBytes()"><!-- --></A><H3>getRowBytes</H3><PRE>public int <B>getRowBytes</B>()</PRE><DL><DD>Return the number of bytes each row of the pixel data makes up.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the byte length in each row</DL></DD></DL><HR><A NAME="getPixelSize()"><!-- --></A><H3>getPixelSize</H3><PRE>public int <B>getPixelSize</B>()</PRE><DL><DD>Return the size (how many bits) of each pixel in the pixel data<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>pixel size</DL></DD></DL><HR><A NAME="getPixelFormat()"><!-- --></A><H3>getPixelFormat</H3><PRE>public int <B>getPixelFormat</B>()</PRE><DL><DD>Returns the pixel format of this PixMap<DD><DL></DL></DD></DL><HR><A NAME="getPixelData()"><!-- --></A><H3>getPixelData</H3><PRE>public <A HREF="../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A> <B>getPixelData</B>()</PRE><DL><DD>Returns the actual Pixel data itself. This can then be passed around in ICM calls that deal with pixel data.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the pixels</DL></DD></DL><HR><A NAME="getBounds()"><!-- --></A><H3>getBounds</H3><PRE>public <A HREF="../../quicktime/qd/QDRect.html">QDRect</A> <B>getBounds</B>()</PRE><DL><DD>The boundary rectangle, which links the local coordinate system of a graphics port to QuickDraw's global coordinate system and defines the area of the bit image into which QuickDraw can draw.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDRect object representing the bounds of the PixMap</DL></DD></DL><HR><A NAME="getColorTable()"><!-- --></A><H3>getColorTable</H3><PRE>public <A HREF="../../quicktime/qd/ColorTable.html">ColorTable</A> <B>getColorTable</B>()</PRE><DL><DD>When creating a PixMap for a particular graphics device, Color QuickDraw creates a ColorTable that defines the best colors available for the pixel image on that particular graphics device. Note that a reference to the PixMap object will be maintained by the ColorTable object to prevent the PixMap from being garbage collected before the ColorTable.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a ColorTable object<DT><B>See Also: </B><DD><CODE>quicktime.std.qd.ColorTable</CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Print information about this object. <br><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTHandleRef.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representing this PixMap object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PixMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../quicktime/qd/Pict.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/qd/Polygon.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="PixMap.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -