| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| GraphicsUtil (Apache Batik Javadoc) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="GraphicsUtil (Apache Batik Javadoc)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= 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> </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/GraphicsUtil.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-files/index-1.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="../../../../../../org/apache/batik/ext/awt/image/GammaTransfer.html" title="class in org.apache.batik.ext.awt.image"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/apache/batik/ext/awt/image/IdentityTransfer.html" title="class in org.apache.batik.ext.awt.image"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/batik/ext/awt/image/GraphicsUtil.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="GraphicsUtil.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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"> |
| org.apache.batik.ext.awt.image</FONT> |
| <BR> |
| Class GraphicsUtil</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.ext.awt.image.GraphicsUtil</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>GraphicsUtil</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
| </PRE> |
| |
| <P> |
| Set of utility methods for Graphics. |
| These generally bypass broken methods in Java2D or provide tweaked |
| implementations. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_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>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/AffineTransform.html?is-external=true" title="class or interface in java.awt.geom">AffineTransform</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#IDENTITY">IDENTITY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#Linear_sRGB">Linear_sRGB</A></B></CODE> |
| |
| <BR> |
| Standard prebuilt Linear_sRGB color model with no alpha</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#Linear_sRGB_Pre">Linear_sRGB_Pre</A></B></CODE> |
| |
| <BR> |
| Standard prebuilt Linear_sRGB color model with premultiplied alpha.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#Linear_sRGB_Unpre">Linear_sRGB_Unpre</A></B></CODE> |
| |
| <BR> |
| Standard prebuilt Linear_sRGB color model with unpremultiplied alpha.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#sRGB">sRGB</A></B></CODE> |
| |
| <BR> |
| Standard prebuilt sRGB color model with no alpha.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#sRGB_Pre">sRGB_Pre</A></B></CODE> |
| |
| <BR> |
| Standard prebuilt sRGB color model with premultiplied alpha.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#sRGB_Unpre">sRGB_Unpre</A></B></CODE> |
| |
| <BR> |
| Standard prebuilt sRGB color model with unpremultiplied alpha.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#WARN_DESTINATION">WARN_DESTINATION</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== 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="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#GraphicsUtil()">GraphicsUtil</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#coerceColorModel(java.awt.image.ColorModel, boolean)">coerceColorModel</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> cm, |
| boolean newAlphaPreMult)</CODE> |
| |
| <BR> |
| Create a new ColorModel with it's alpha premultiplied state matching |
| newAlphaPreMult.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#coerceData(java.awt.image.WritableRaster, java.awt.image.ColorModel, boolean)">coerceData</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> cm, |
| boolean newAlphaPreMult)</CODE> |
| |
| <BR> |
| Coerces data within a bufferedImage to match newAlphaPreMult, |
| Note that this can not change the colormodel of bi so you</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#convertToLsRGB(org.apache.batik.ext.awt.image.rendered.CachableRed)">convertToLsRGB</A></B>(<A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> src)</CODE> |
| |
| <BR> |
| This method will return a CacheableRed that has it's data in |
| the linear sRGB colorspace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#convertTosRGB(org.apache.batik.ext.awt.image.rendered.CachableRed)">convertTosRGB</A></B>(<A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> src)</CODE> |
| |
| <BR> |
| This method will return a CacheableRed that has it's data in |
| the sRGB colorspace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyBand(java.awt.image.Raster, int, java.awt.image.WritableRaster, int)">copyBand</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| int srcBand, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst, |
| int dstBand)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyBand(java.awt.image.Raster, java.awt.Rectangle, int, java.awt.image.WritableRaster, java.awt.Rectangle, int)">copyBand</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> sR, |
| int sBand, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> dR, |
| int dBand)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyData_FALLBACK(java.awt.image.Raster, java.awt.image.WritableRaster)">copyData_FALLBACK</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyData_INT_PACK(java.awt.image.Raster, java.awt.image.WritableRaster)">copyData_INT_PACK</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst)</CODE> |
| |
| <BR> |
| An internal optimized version of copyData designed to work on |
| Integer packed data with a SinglePixelPackedSampleModel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyData(java.awt.image.BufferedImage, java.awt.image.BufferedImage)">copyData</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> dst)</CODE> |
| |
| <BR> |
| Copies data from one bufferedImage to another paying attention |
| to the state of AlphaPreMultiplied.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyData(java.awt.image.BufferedImage, java.awt.Rectangle, java.awt.image.BufferedImage, java.awt.Point)">copyData</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> srcRect, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> dst, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A> destP)</CODE> |
| |
| <BR> |
| Copies data from one bufferedImage to another paying attention |
| to the state of AlphaPreMultiplied.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyData(java.awt.image.Raster, java.awt.image.WritableRaster)">copyData</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst)</CODE> |
| |
| <BR> |
| Copies data from one raster to another.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyRaster(java.awt.image.Raster)">copyRaster</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras)</CODE> |
| |
| <BR> |
| Creates a new raster that has a <b>copy</b> of the data in |
| <code>ras</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#copyRaster(java.awt.image.Raster, int, int)">copyRaster</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras, |
| int minX, |
| int minY)</CODE> |
| |
| <BR> |
| Creates a new raster that has a <b>copy</b> of the data in |
| <code>ras</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#createGraphics(java.awt.image.BufferedImage)">createGraphics</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> bi)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#createGraphics(java.awt.image.BufferedImage, java.awt.RenderingHints)">createGraphics</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> bi, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/RenderingHints.html?is-external=true" title="class or interface in java.awt">RenderingHints</A> hints)</CODE> |
| |
| <BR> |
| This is a wrapper around the system's |
| BufferedImage.createGraphics that arranges for bi to be stored |
| in a Rendering hint in the returned Graphics2D.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#divide_BYTE_COMP_Data(java.awt.image.WritableRaster)">divide_BYTE_COMP_Data</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#divide_INT_PACK_Data(java.awt.image.WritableRaster)">divide_INT_PACK_Data</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#divideAlpha(java.awt.image.WritableRaster)">divideAlpha</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#drawImage(java.awt.Graphics2D, org.apache.batik.ext.awt.image.rendered.CachableRed)">drawImage</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> cr)</CODE> |
| |
| <BR> |
| Draws <code>cr</code> into <code>g2d</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#drawImage(java.awt.Graphics2D, java.awt.image.renderable.RenderableImage)">drawImage</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/renderable/RenderableImage.html?is-external=true" title="class or interface in java.awt.image.renderable">RenderableImage</A> filter)</CODE> |
| |
| <BR> |
| Draws a <code>Filter</code> (<code>RenderableImage</code>) into a |
| Graphics 2D.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#drawImage(java.awt.Graphics2D, java.awt.image.renderable.RenderableImage, java.awt.image.renderable.RenderContext)">drawImage</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/renderable/RenderableImage.html?is-external=true" title="class or interface in java.awt.image.renderable">RenderableImage</A> filter, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/renderable/RenderContext.html?is-external=true" title="class or interface in java.awt.image.renderable">RenderContext</A> rc)</CODE> |
| |
| <BR> |
| Draws a <code>Filter</code> (<code>RenderableImage</code>) into a |
| Graphics 2D after taking into account a particular |
| <code>RenderContext</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#drawImage(java.awt.Graphics2D, java.awt.image.RenderedImage)">drawImage</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A> ri)</CODE> |
| |
| <BR> |
| Draws <code>ri</code> into <code>g2d</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#getDestination(java.awt.Graphics2D)">getDestination</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#getDestinationBounds(java.awt.Graphics2D)">getDestinationBounds</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#getDestinationColorModel(java.awt.Graphics2D)">getDestinationColorModel</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/color/ColorSpace.html?is-external=true" title="class or interface in java.awt.color">ColorSpace</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#getDestinationColorSpace(java.awt.Graphics2D)">getDestinationColorSpace</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#is_BYTE_COMP_Data(java.awt.image.SampleModel)">is_BYTE_COMP_Data</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A> sm)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#is_INT_PACK_Data(java.awt.image.SampleModel, boolean)">is_INT_PACK_Data</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A> sm, |
| boolean requireAlpha)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#makeLinear_sRGBCM(boolean)">makeLinear_sRGBCM</A></B>(boolean premult)</CODE> |
| |
| <BR> |
| Method that returns either Linear_sRGB_Pre or Linear_sRGB_UnPre |
| based on premult flag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#makeLinearBufferedImage(int, int, boolean)">makeLinearBufferedImage</A></B>(int width, |
| int height, |
| boolean premult)</CODE> |
| |
| <BR> |
| Constructs a BufferedImage with a linear sRGB colorModel, and alpha.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#makeRasterWritable(java.awt.image.Raster)">makeRasterWritable</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras)</CODE> |
| |
| <BR> |
| Coerces <code>ras</code> to be writable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#makeRasterWritable(java.awt.image.Raster, int, int)">makeRasterWritable</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras, |
| int minX, |
| int minY)</CODE> |
| |
| <BR> |
| Coerces <code>ras</code> to be writable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#mult_BYTE_COMP_Data(java.awt.image.WritableRaster)">mult_BYTE_COMP_Data</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#mult_INT_PACK_Data(java.awt.image.WritableRaster)">mult_INT_PACK_Data</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#multiplyAlpha(java.awt.image.WritableRaster)">multiplyAlpha</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/ext/awt/image/GraphicsUtil.html#wrap(java.awt.image.RenderedImage)">wrap</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A> ri)</CODE> |
| |
| <BR> |
| Convertes any RenderedImage to a CacheableRed.</TD> |
| </TR> |
| </TABLE> |
| <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.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_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>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="IDENTITY"><!-- --></A><H3> |
| IDENTITY</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/AffineTransform.html?is-external=true" title="class or interface in java.awt.geom">AffineTransform</A> <B>IDENTITY</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="WARN_DESTINATION"><!-- --></A><H3> |
| WARN_DESTINATION</H3> |
| <PRE> |
| public static final boolean <B>WARN_DESTINATION</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="Linear_sRGB"><!-- --></A><H3> |
| Linear_sRGB</H3> |
| <PRE> |
| public static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>Linear_sRGB</B></PRE> |
| <DL> |
| <DD>Standard prebuilt Linear_sRGB color model with no alpha |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="Linear_sRGB_Pre"><!-- --></A><H3> |
| Linear_sRGB_Pre</H3> |
| <PRE> |
| public static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>Linear_sRGB_Pre</B></PRE> |
| <DL> |
| <DD>Standard prebuilt Linear_sRGB color model with premultiplied alpha. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="Linear_sRGB_Unpre"><!-- --></A><H3> |
| Linear_sRGB_Unpre</H3> |
| <PRE> |
| public static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>Linear_sRGB_Unpre</B></PRE> |
| <DL> |
| <DD>Standard prebuilt Linear_sRGB color model with unpremultiplied alpha. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="sRGB"><!-- --></A><H3> |
| sRGB</H3> |
| <PRE> |
| public static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>sRGB</B></PRE> |
| <DL> |
| <DD>Standard prebuilt sRGB color model with no alpha. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="sRGB_Pre"><!-- --></A><H3> |
| sRGB_Pre</H3> |
| <PRE> |
| public static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>sRGB_Pre</B></PRE> |
| <DL> |
| <DD>Standard prebuilt sRGB color model with premultiplied alpha. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="sRGB_Unpre"><!-- --></A><H3> |
| sRGB_Unpre</H3> |
| <PRE> |
| public static final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>sRGB_Unpre</B></PRE> |
| <DL> |
| <DD>Standard prebuilt sRGB color model with unpremultiplied alpha. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= 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="GraphicsUtil()"><!-- --></A><H3> |
| GraphicsUtil</H3> |
| <PRE> |
| public <B>GraphicsUtil</B>()</PRE> |
| <DL> |
| </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="drawImage(java.awt.Graphics2D, java.awt.image.RenderedImage)"><!-- --></A><H3> |
| drawImage</H3> |
| <PRE> |
| public static void <B>drawImage</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A> ri)</PRE> |
| <DL> |
| <DD>Draws <code>ri</code> into <code>g2d</code>. It does this be |
| requesting tiles from <code>ri</code> and drawing them individually |
| in <code>g2d</code> it also takes care of some colorspace and alpha |
| issues. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>g2d</CODE> - The Graphics2D to draw into.<DD><CODE>ri</CODE> - The image to be drawn.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="drawImage(java.awt.Graphics2D, org.apache.batik.ext.awt.image.rendered.CachableRed)"><!-- --></A><H3> |
| drawImage</H3> |
| <PRE> |
| public static void <B>drawImage</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> cr)</PRE> |
| <DL> |
| <DD>Draws <code>cr</code> into <code>g2d</code>. It does this be |
| requesting tiles from <code>ri</code> and drawing them individually |
| in <code>g2d</code> it also takes care of some colorspace and alpha |
| issues. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>g2d</CODE> - The Graphics2D to draw into.<DD><CODE>cr</CODE> - The image to be drawn.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="drawImage(java.awt.Graphics2D, java.awt.image.renderable.RenderableImage, java.awt.image.renderable.RenderContext)"><!-- --></A><H3> |
| drawImage</H3> |
| <PRE> |
| public static void <B>drawImage</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/renderable/RenderableImage.html?is-external=true" title="class or interface in java.awt.image.renderable">RenderableImage</A> filter, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/renderable/RenderContext.html?is-external=true" title="class or interface in java.awt.image.renderable">RenderContext</A> rc)</PRE> |
| <DL> |
| <DD>Draws a <code>Filter</code> (<code>RenderableImage</code>) into a |
| Graphics 2D after taking into account a particular |
| <code>RenderContext</code>.<p> |
| |
| This method also attempts to unwind the rendering chain a bit. |
| So it knows about certain operations (like affine, pad, |
| composite), rather than applying each of these operations in |
| turn it accounts for their affects through modifications to the |
| Graphics2D. This avoids generating lots of intermediate images. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>g2d</CODE> - The Graphics to draw into.<DD><CODE>filter</CODE> - The filter to draw<DD><CODE>rc</CODE> - The render context that controls the drawing operation.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="drawImage(java.awt.Graphics2D, java.awt.image.renderable.RenderableImage)"><!-- --></A><H3> |
| drawImage</H3> |
| <PRE> |
| public static void <B>drawImage</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/renderable/RenderableImage.html?is-external=true" title="class or interface in java.awt.image.renderable">RenderableImage</A> filter)</PRE> |
| <DL> |
| <DD>Draws a <code>Filter</code> (<code>RenderableImage</code>) into a |
| Graphics 2D.<p> |
| |
| This method also attempts to unwind the rendering chain a bit. |
| So it knows about certain operations (like affine, pad, |
| composite), rather than applying each of these operations in |
| turn it accounts for their affects through modifications to the |
| Graphics2D. This avoids generating lots of intermediate images. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>g2d</CODE> - The Graphics to draw into.<DD><CODE>filter</CODE> - The filter to draw</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createGraphics(java.awt.image.BufferedImage, java.awt.RenderingHints)"><!-- --></A><H3> |
| createGraphics</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> <B>createGraphics</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> bi, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/RenderingHints.html?is-external=true" title="class or interface in java.awt">RenderingHints</A> hints)</PRE> |
| <DL> |
| <DD>This is a wrapper around the system's |
| BufferedImage.createGraphics that arranges for bi to be stored |
| in a Rendering hint in the returned Graphics2D. |
| This allows for accurate determination of the 'devices' size, |
| and colorspace. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bi</CODE> - The BufferedImage that the returned Graphics should |
| draw into. |
| <DT><B>Returns:</B><DD>A Graphics2D that draws into BufferedImage with <code>bi</code> |
| stored in a rendering hint.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createGraphics(java.awt.image.BufferedImage)"><!-- --></A><H3> |
| createGraphics</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> <B>createGraphics</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> bi)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDestination(java.awt.Graphics2D)"><!-- --></A><H3> |
| getDestination</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> <B>getDestination</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDestinationColorModel(java.awt.Graphics2D)"><!-- --></A><H3> |
| getDestinationColorModel</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>getDestinationColorModel</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDestinationColorSpace(java.awt.Graphics2D)"><!-- --></A><H3> |
| getDestinationColorSpace</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/color/ColorSpace.html?is-external=true" title="class or interface in java.awt.color">ColorSpace</A> <B>getDestinationColorSpace</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDestinationBounds(java.awt.Graphics2D)"><!-- --></A><H3> |
| getDestinationBounds</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>getDestinationBounds</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A> g2d)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeLinear_sRGBCM(boolean)"><!-- --></A><H3> |
| makeLinear_sRGBCM</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>makeLinear_sRGBCM</B>(boolean premult)</PRE> |
| <DL> |
| <DD>Method that returns either Linear_sRGB_Pre or Linear_sRGB_UnPre |
| based on premult flag. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>premult</CODE> - True if the ColorModel should have premultiplied alpha. |
| <DT><B>Returns:</B><DD>a ColorMdoel with Linear sRGB colorSpace and |
| the alpha channel set in accordance with |
| <code>premult</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeLinearBufferedImage(int, int, boolean)"><!-- --></A><H3> |
| makeLinearBufferedImage</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> <B>makeLinearBufferedImage</B>(int width, |
| int height, |
| boolean premult)</PRE> |
| <DL> |
| <DD>Constructs a BufferedImage with a linear sRGB colorModel, and alpha. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>width</CODE> - The desired width of the BufferedImage<DD><CODE>height</CODE> - The desired height of the BufferedImage<DD><CODE>premult</CODE> - The desired state of alpha premultiplied |
| <DT><B>Returns:</B><DD>The requested BufferedImage.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="convertToLsRGB(org.apache.batik.ext.awt.image.rendered.CachableRed)"><!-- --></A><H3> |
| convertToLsRGB</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> <B>convertToLsRGB</B>(<A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> src)</PRE> |
| <DL> |
| <DD>This method will return a CacheableRed that has it's data in |
| the linear sRGB colorspace. If <code>src</code> is already in |
| linear sRGB then this method does nothing and returns <code>src</code>. |
| Otherwise it creates a transform that will convert |
| <code>src</code>'s output to linear sRGB and returns that CacheableRed. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>src</CODE> - The image to convert to linear sRGB. |
| <DT><B>Returns:</B><DD>An equivilant image to <code>src</code> who's data is in |
| linear sRGB.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="convertTosRGB(org.apache.batik.ext.awt.image.rendered.CachableRed)"><!-- --></A><H3> |
| convertTosRGB</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> <B>convertTosRGB</B>(<A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> src)</PRE> |
| <DL> |
| <DD>This method will return a CacheableRed that has it's data in |
| the sRGB colorspace. If <code>src</code> is already in |
| sRGB then this method does nothing and returns <code>src</code>. |
| Otherwise it creates a transform that will convert |
| <code>src</code>'s output to sRGB and returns that CacheableRed. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>src</CODE> - The image to convert to sRGB. |
| <DT><B>Returns:</B><DD>An equivilant image to <code>src</code> who's data is in sRGB.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="wrap(java.awt.image.RenderedImage)"><!-- --></A><H3> |
| wrap</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/apache/batik/ext/awt/image/rendered/CachableRed.html" title="interface in org.apache.batik.ext.awt.image.rendered">CachableRed</A> <B>wrap</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A> ri)</PRE> |
| <DL> |
| <DD>Convertes any RenderedImage to a CacheableRed. <p> |
| If <code>ri</code> is already a CacheableRed it casts it down and |
| returns it.<p> |
| |
| In cases where <code>ri</code> is not already a CacheableRed it |
| wraps <code>ri</code> with a helper class. The wrapped |
| CacheableRed "Pretends" that it has no sources since it has no |
| way of inteligently handling the dependency/dirty region calls |
| if it exposed the source. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ri</CODE> - The RenderedImage to convert. |
| <DT><B>Returns:</B><DD>a CacheableRed that contains the same data as ri.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyData_INT_PACK(java.awt.image.Raster, java.awt.image.WritableRaster)"><!-- --></A><H3> |
| copyData_INT_PACK</H3> |
| <PRE> |
| public static void <B>copyData_INT_PACK</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst)</PRE> |
| <DL> |
| <DD>An internal optimized version of copyData designed to work on |
| Integer packed data with a SinglePixelPackedSampleModel. Only |
| the region of overlap between src and dst is copied. |
| |
| Calls to this should be preflighted with is_INT_PACK_Data |
| on both src and dest (requireAlpha can be false). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>src</CODE> - The source of the data<DD><CODE>dst</CODE> - The destination for the data.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyData_FALLBACK(java.awt.image.Raster, java.awt.image.WritableRaster)"><!-- --></A><H3> |
| copyData_FALLBACK</H3> |
| <PRE> |
| public static void <B>copyData_FALLBACK</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyData(java.awt.image.Raster, java.awt.image.WritableRaster)"><!-- --></A><H3> |
| copyData</H3> |
| <PRE> |
| public static void <B>copyData</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst)</PRE> |
| <DL> |
| <DD>Copies data from one raster to another. Only the region of |
| overlap between src and dst is copied. <code>Src</code> and |
| <code>Dst</code> must have compatible SampleModels. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>src</CODE> - The source of the data<DD><CODE>dst</CODE> - The destination for the data.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyRaster(java.awt.image.Raster)"><!-- --></A><H3> |
| copyRaster</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> <B>copyRaster</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras)</PRE> |
| <DL> |
| <DD>Creates a new raster that has a <b>copy</b> of the data in |
| <code>ras</code>. This is highly optimized for speed. There is |
| no provision for changing any aspect of the SampleModel. |
| |
| This method should be used when you need to change the contents |
| of a Raster that you do not "own" (ie the result of a |
| <code>getData</code> call). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ras</CODE> - The Raster to copy. |
| <DT><B>Returns:</B><DD>A writable copy of <code>ras</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyRaster(java.awt.image.Raster, int, int)"><!-- --></A><H3> |
| copyRaster</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> <B>copyRaster</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras, |
| int minX, |
| int minY)</PRE> |
| <DL> |
| <DD>Creates a new raster that has a <b>copy</b> of the data in |
| <code>ras</code>. This is highly optimized for speed. There is |
| no provision for changing any aspect of the SampleModel. |
| However you can specify a new location for the returned raster. |
| |
| This method should be used when you need to change the contents |
| of a Raster that you do not "own" (ie the result of a |
| <code>getData</code> call). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ras</CODE> - The Raster to copy.<DD><CODE>minX</CODE> - The x location for the upper left corner of the |
| returned WritableRaster.<DD><CODE>minY</CODE> - The y location for the upper left corner of the |
| returned WritableRaster. |
| <DT><B>Returns:</B><DD>A writable copy of <code>ras</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeRasterWritable(java.awt.image.Raster)"><!-- --></A><H3> |
| makeRasterWritable</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> <B>makeRasterWritable</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras)</PRE> |
| <DL> |
| <DD>Coerces <code>ras</code> to be writable. The returned Raster continues to |
| reference the DataBuffer from ras, so modifications to the returned |
| WritableRaster will be seen in ras.<p> |
| |
| This method should only be used if you need a WritableRaster due to |
| an interface (such as to construct a BufferedImage), but have no |
| intention of modifying the contents of the returned Raster. If |
| you have any doubt about other users of the data in <code>ras</code>, |
| use copyRaster (above). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ras</CODE> - The raster to make writable. |
| <DT><B>Returns:</B><DD>A Writable version of ras (shares DataBuffer with |
| <code>ras</code>).</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeRasterWritable(java.awt.image.Raster, int, int)"><!-- --></A><H3> |
| makeRasterWritable</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> <B>makeRasterWritable</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> ras, |
| int minX, |
| int minY)</PRE> |
| <DL> |
| <DD>Coerces <code>ras</code> to be writable. The returned Raster continues to |
| reference the DataBuffer from ras, so modifications to the returned |
| WritableRaster will be seen in ras.<p> |
| |
| You can specify a new location for the returned WritableRaster, this |
| is especially useful for constructing BufferedImages which require |
| the Raster to be at (0,0). |
| |
| This method should only be used if you need a WritableRaster due to |
| an interface (such as to construct a BufferedImage), but have no |
| intention of modifying the contents of the returned Raster. If |
| you have any doubt about other users of the data in <code>ras</code>, |
| use copyRaster (above). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ras</CODE> - The raster to make writable.<DD><CODE>minX</CODE> - The x location for the upper left corner of the |
| returned WritableRaster.<DD><CODE>minY</CODE> - The y location for the upper left corner of the |
| returned WritableRaster. |
| <DT><B>Returns:</B><DD>A Writable version of <code>ras</code> with it's upper left |
| hand coordinate set to minX, minY (shares it's DataBuffer |
| with <code>ras</code>).</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="coerceColorModel(java.awt.image.ColorModel, boolean)"><!-- --></A><H3> |
| coerceColorModel</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>coerceColorModel</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> cm, |
| boolean newAlphaPreMult)</PRE> |
| <DL> |
| <DD>Create a new ColorModel with it's alpha premultiplied state matching |
| newAlphaPreMult. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cm</CODE> - The ColorModel to change the alpha premult state of.<DD><CODE>newAlphaPreMult</CODE> - The new state of alpha premult. |
| <DT><B>Returns:</B><DD>A new colorModel that has isAlphaPremultiplied() |
| equal to newAlphaPreMult.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="coerceData(java.awt.image.WritableRaster, java.awt.image.ColorModel, boolean)"><!-- --></A><H3> |
| coerceData</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>coerceData</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> cm, |
| boolean newAlphaPreMult)</PRE> |
| <DL> |
| <DD>Coerces data within a bufferedImage to match newAlphaPreMult, |
| Note that this can not change the colormodel of bi so you |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>wr</CODE> - The raster to change the state of.<DD><CODE>cm</CODE> - The colormodel currently associated with data in wr.<DD><CODE>newAlphaPreMult</CODE> - The desired state of alpha Premult for raster. |
| <DT><B>Returns:</B><DD>A new colormodel that matches newAlphaPreMult.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="multiplyAlpha(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| multiplyAlpha</H3> |
| <PRE> |
| public static void <B>multiplyAlpha</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="divideAlpha(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| divideAlpha</H3> |
| <PRE> |
| public static void <B>divideAlpha</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyData(java.awt.image.BufferedImage, java.awt.image.BufferedImage)"><!-- --></A><H3> |
| copyData</H3> |
| <PRE> |
| public static void <B>copyData</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> dst)</PRE> |
| <DL> |
| <DD>Copies data from one bufferedImage to another paying attention |
| to the state of AlphaPreMultiplied. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>src</CODE> - The source<DD><CODE>dst</CODE> - The destination</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyData(java.awt.image.BufferedImage, java.awt.Rectangle, java.awt.image.BufferedImage, java.awt.Point)"><!-- --></A><H3> |
| copyData</H3> |
| <PRE> |
| public static void <B>copyData</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> srcRect, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html?is-external=true" title="class or interface in java.awt.image">BufferedImage</A> dst, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A> destP)</PRE> |
| <DL> |
| <DD>Copies data from one bufferedImage to another paying attention |
| to the state of AlphaPreMultiplied. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>src</CODE> - The source<DD><CODE>srcRect</CODE> - The Rectangle of source data to be copied<DD><CODE>dst</CODE> - The destination<DD><CODE>destP</CODE> - The Place for the upper left corner of srcRect in dst.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyBand(java.awt.image.Raster, int, java.awt.image.WritableRaster, int)"><!-- --></A><H3> |
| copyBand</H3> |
| <PRE> |
| public static void <B>copyBand</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| int srcBand, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst, |
| int dstBand)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyBand(java.awt.image.Raster, java.awt.Rectangle, int, java.awt.image.WritableRaster, java.awt.Rectangle, int)"><!-- --></A><H3> |
| copyBand</H3> |
| <PRE> |
| public static void <B>copyBand</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> src, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> sR, |
| int sBand, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dst, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> dR, |
| int dBand)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="is_INT_PACK_Data(java.awt.image.SampleModel, boolean)"><!-- --></A><H3> |
| is_INT_PACK_Data</H3> |
| <PRE> |
| public static boolean <B>is_INT_PACK_Data</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A> sm, |
| boolean requireAlpha)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="is_BYTE_COMP_Data(java.awt.image.SampleModel)"><!-- --></A><H3> |
| is_BYTE_COMP_Data</H3> |
| <PRE> |
| public static boolean <B>is_BYTE_COMP_Data</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A> sm)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="divide_INT_PACK_Data(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| divide_INT_PACK_Data</H3> |
| <PRE> |
| protected static void <B>divide_INT_PACK_Data</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="mult_INT_PACK_Data(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| mult_INT_PACK_Data</H3> |
| <PRE> |
| protected static void <B>mult_INT_PACK_Data</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="divide_BYTE_COMP_Data(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| divide_BYTE_COMP_Data</H3> |
| <PRE> |
| protected static void <B>divide_BYTE_COMP_Data</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="mult_BYTE_COMP_Data(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| mult_BYTE_COMP_Data</H3> |
| <PRE> |
| protected static void <B>mult_BYTE_COMP_Data</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> wr)</PRE> |
| <DL> |
| <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> </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/GraphicsUtil.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-files/index-1.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="../../../../../../org/apache/batik/ext/awt/image/GammaTransfer.html" title="class in org.apache.batik.ext.awt.image"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/apache/batik/ext/awt/image/IdentityTransfer.html" title="class in org.apache.batik.ext.awt.image"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/batik/ext/awt/image/GraphicsUtil.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="GraphicsUtil.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |