Examples of paintBackground()


Examples of datasoul.render.ContentRender.paintBackground()

        try{
            ServiceListTable slt =  ServiceListTable.getActiveInstance();
            ContentRender r = sles.getRender();
            ImageListServiceRenderer img = new ImageListServiceRenderer();
            img.setImageWithoutTempFile(BackgroundConfig.getInstance().getBackgroundImg());
            r.paintBackground(img);
            int slideCount = 0;

            /* initial empty slide */
            if (cbEmptySlide.isSelected()){
                sles.addEmptySlide();
View Full Code Here

Examples of org.xhtmlrenderer.render.BlockBox.paintBackground()

       
        for (int i = 0; i < blocks.size(); i++) {
            helper.popClipRegions(c, i);
           
            BlockBox box = (BlockBox)blocks.get(i);
            box.paintBackground(c);
            box.paintBorder(c);
            if (c.debugDrawBoxes()) {
                box.paintDebugOutline(c);
            }
           
View Full Code Here

Examples of org.xhtmlrenderer.render.BlockBox.paintBackground()

    }

    private void paintLayerBackgroundAndBorder(RenderingContext c) {
        if (getMaster() instanceof BlockBox) {
            BlockBox box = (BlockBox) getMaster();
            box.paintBackground(c);
            box.paintBorder(c);
        }
    }
   
    private void paintReplacedElement(RenderingContext c, BlockBox replaced) {
View Full Code Here

Examples of org.xhtmlrenderer.render.BlockBox.paintBackground()

       
        for (int i = 0; i < blocks.size(); i++) {
            helper.popClipRegions(c, i);
           
            BlockBox box = (BlockBox)blocks.get(i);
            box.paintBackground(c);
            box.paintBorder(c);
            if (c.debugDrawBoxes()) {
                box.paintDebugOutline(c);
            }
           
View Full Code Here

Examples of org.xhtmlrenderer.render.BlockBox.paintBackground()

    }

    private void paintLayerBackgroundAndBorder(RenderingContext c) {
        if (getMaster() instanceof BlockBox) {
            BlockBox box = (BlockBox) getMaster();
            box.paintBackground(c);
            box.paintBorder(c);
        }
    }
   
    private void paintReplacedElement(RenderingContext c, BlockBox replaced) {
View Full Code Here

Examples of org.xhtmlrenderer.render.PageBox.paintBackground()

           
            Rectangle bounds = new Rectangle(overall);
            bounds.width += 1;
            bounds.height += 1;
            if (working.intersects(bounds)) {
                page.paintBackground(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
                page.paintMarginAreas(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
                page.paintBorder(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
               
                Color old = g.getColor();
               
View Full Code Here

Examples of org.xhtmlrenderer.render.PageBox.paintBackground()

        PageBox page = (PageBox)root.getPages().get(pageNo);
        c.setPageCount(root.getPages().size());
        c.setPage(pageNo, page);
       
        page.paintBackground(c, 0, Layer.PAGED_MODE_PRINT);
        page.paintMarginAreas(c, 0, Layer.PAGED_MODE_PRINT);
        page.paintBorder(c, 0, Layer.PAGED_MODE_PRINT);
       
        Shape working = g.getClip();
       
View Full Code Here

Examples of org.xhtmlrenderer.render.PageBox.paintBackground()

            Rectangle bounds = new Rectangle(overall);
            bounds.width += 1;
            bounds.height += 1;
            if (working.intersects(bounds)) {
                page.paintBackground(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
                page.paintMarginAreas(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
                page.paintBorder(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);

                Color old = g.getColor();
View Full Code Here

Examples of org.xhtmlrenderer.render.PageBox.paintBackground()

        PageBox page = (PageBox)root.getPages().get(pageNo);
        c.setPageCount(root.getPages().size());
        c.setPage(pageNo, page);

        page.paintBackground(c, 0, Layer.PAGED_MODE_PRINT);
        page.paintMarginAreas(c, 0, Layer.PAGED_MODE_PRINT);
        page.paintBorder(c, 0, Layer.PAGED_MODE_PRINT);

        Shape working = g.getClip();
View Full Code Here

Examples of org.xhtmlrenderer.render.PageBox.paintBackground()

           
            Rectangle bounds = new Rectangle(overall);
            bounds.width += 1;
            bounds.height += 1;
            if (working.intersects(bounds)) {
                page.paintBackground(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
                page.paintMarginAreas(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
                page.paintBorder(c, pagePaintingClearanceWidth, Layer.PAGED_MODE_SCREEN);
               
                Color old = g.getColor();
               
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.