Examples of RenderingContext


Examples of com.ngt.jopenmetaverse.shared.sim.rendering.RenderingContext

    initBuffers();
    initTextures();
   
    renderTerrain.Initialize();
   
    renderingContext =  new  RenderingContext(textureManager,
        shaderProgram, projectionMatrixUniform,
        textureUniform, uAmbientColorUniform,
        uLightingDirectionUniform, uDirectionalColorUniform,
        uUseLightingUniform, normalMatrixUniform,
        vertexPositionAttribute, textureCoordAttribute,
View Full Code Here

Examples of info.magnolia.rendering.context.RenderingContext

        }else {
            throw new TemplateProcessingException("Cannot cast "+contentObject.getClass()+" to javax.jcr.Node");
        }

        final RenderingEngine renderingEngine = Components.getComponent(RenderingEngine.class);
        final RenderingContext renderingContext = renderingEngine.getRenderingContext();

        ComponentElement componentElement = createElement(renderingContext);
        componentElement.setContent(content);
        processElement(element, attributeName, componentElement);
View Full Code Here

Examples of org.apache.fop.render.RenderingContext

        ImageManager manager = getFopFactory().getImageManager();
        ImageSessionContext sessionContext = getUserAgent().getImageSessionContext();
        ImageHandlerRegistry imageHandlerRegistry = getFopFactory().getImageHandlerRegistry();

        //Load and convert the image to a supported format
        RenderingContext context = createRenderingContext();
        Map hints = createDefaultImageProcessingHints(sessionContext);
        context.putHints(hints);

        ImageFlavor[] flavors = imageHandlerRegistry.getSupportedFlavors(context);
        org.apache.xmlgraphics.image.loader.Image img = manager.getImage(
                    info, flavors,
                    hints, sessionContext);
View Full Code Here

Examples of org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext

      final SiteRenderingContext siteContext =
          siteRenderer.createContextForSkin(ReportUtils.getSkinArtifactFile(
              project, localRepository, resolver, factory), attributes, model,
              getName(reportLocale), reportLocale);

      final RenderingContext context =
          new RenderingContext(outputDirectory, getOutputName() + ".html");

      final SiteRendererSink sink = new SiteRendererSink(context);
      generate(sink, reportLocale);

      provideDir();
View Full Code Here

Examples of org.apache.maven.doxia.sink.render.RenderingContext

        try
        {
            SiteRenderingContext siteContext =
                siteRenderer.createContextForSkin( getSkinArtifactFile(), attributes, model, getName( locale ),
                                                   locale );
            RenderingContext context = new RenderingContext( outputDirectory, getOutputName() + ".html" );

            SiteRendererSink sink = new SiteRendererSink( context );
            generate( sink, locale );

            if( !outputDirectory.mkdirs() && !outputDirectory.isDirectory() ) {
View Full Code Here

Examples of org.apache.maven.doxia.siterenderer.RenderingContext

                reports.remove( mavenReportExecution );
            }
            else
            {
                RenderingContext renderingContext = new RenderingContext( siteDirectory, outputName );
                DocumentRenderer renderer = new ReportDocumentRenderer( mavenReportExecution, renderingContext, getLog() );
                documents.put( outputName, renderer );
            }
        }
        return reportsByOutputName;
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RenderingContext

    // Also, cache the new entry in the entry cache
    DerivationKey derivationKey = _getDerivationKey(context, document);
    entryCache.put(derivationKey, entry);
   
    // just in case, clear the dirty flag.
    RenderingContext arc = RenderingContext.getCurrentInstance();
    Skin skin = arc.getSkin();
    skin.setDirty(false);

    return entry;
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RenderingContext

    // Write out the style sheet
    // First figure out whether or not we need to compress the style classes.
    // We don't compress the style classes if the content compression flag is disabled or
    // if the skin is a portlet skin.
    RenderingContext arc = RenderingContext.getCurrentInstance();
    Skin skin = arc.getSkin();
    boolean compressStyles = _isCompressStyles(context);

    StyleWriterFactoryImpl writerFactory = new StyleWriterFactoryImpl(_targetPath,
      getTargetStyleSheetName(context, document));
    CSSGenerationUtils.writeCSS(context,
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RenderingContext

  public final void encodeBegin(FacesContext context,
                          UIComponent component) throws IOException
  {
    if (!getRendersChildren())
    {
      RenderingContext arc = RenderingContext.getCurrentInstance();
      if (arc == null)
        throw new IllegalStateException("No RenderingContext");
     
      FacesBean bean = getFacesBean(component);
      encodeBegin(context, arc, component, bean);
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RenderingContext

  @Override
  public final void encodeEnd(FacesContext context,
                        UIComponent component) throws IOException
  {
    RenderingContext arc = RenderingContext.getCurrentInstance();
    if (arc == null)
      throw new IllegalStateException("No RenderingContext");

    FacesBean bean = getFacesBean(component);
    if (getRendersChildren())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.