Class SGuiHelper.ModulateComposite.ModulationContextAccel

  • All Implemented Interfaces:
    java.awt.CompositeContext
    Enclosing class:
    SGuiHelper.ModulateComposite

    protected class SGuiHelper.ModulateComposite.ModulationContextAccel
    extends java.lang.Object
    implements java.awt.CompositeContext
    Accelerated modulation context, based on some assumptions (4 color components, each 8 bits, etc.).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.awt.image.ColorModel dstColorModel
      Destination color model.
      protected java.awt.image.ColorModel srcColorModel
      Source color model.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModulationContextAccel​(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel)
      Creates the context.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compose​(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
      Composes the image.
      void dispose()
      Disposes context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • srcColorModel

        protected java.awt.image.ColorModel srcColorModel
        Source color model.
      • dstColorModel

        protected java.awt.image.ColorModel dstColorModel
        Destination color model.
    • Constructor Detail

      • ModulationContextAccel

        public ModulationContextAccel​(java.awt.image.ColorModel srcColorModel,
                                      java.awt.image.ColorModel dstColorModel)
        Creates the context.
        Parameters:
        srcColorModel - Source color model.
        dstColorModel - Destination color model.
    • Method Detail

      • compose

        public void compose​(java.awt.image.Raster src,
                            java.awt.image.Raster dstIn,
                            java.awt.image.WritableRaster dstOut)
        Composes the image.
        Specified by:
        compose in interface java.awt.CompositeContext
      • dispose

        public void dispose()
        Disposes context.
        Specified by:
        dispose in interface java.awt.CompositeContext