Package org.bigbluebutton.deskshare.common

Examples of org.bigbluebutton.deskshare.common.Dimension


    int h = computeTileHeight(row);   
    int x = computeTileXLocation(col);
    int y = computeTileYLocation(row);
    int pos = computeTilePosition(row, col);
   
    Block t = new Block(new Dimension(w, h), pos, new Point(x,y), useSVC2);

    return t;
    }
View Full Code Here


    mouseLocTaker = new MouseLocationTaker(ssi.captureWidth, ssi.captureHeight, ssi.scaleWidth, ssi.scaleHeight, ssi.x, ssi.y);
   
    // Use the scaleWidth and scaleHeight as the dimension we pass to the BlockManager.
    // If there is no scaling required, the scaleWidth and scaleHeight will be the same as
    // captureWidth and captureHeight (ritzalam 05/27/2010)
    Dimension screenDim = new Dimension(ssi.scaleWidth, ssi.scaleHeight);
    Dimension tileDim = new Dimension(blockWidth, blockHeight);
    blockManager = new BlockManager();   
    blockManager.initialize(screenDim, tileDim, ssi.useSVC2);
   
    sender = new NetworkStreamSender(blockManager, ssi.host, ssi.port, ssi.room, screenDim, tileDim, ssi.httpTunnel, ssi.useSVC2);
  }
View Full Code Here

    public int getY() {
    return new Integer(location.y).intValue();
  }
 
    Dimension getDimension() {
    return new Dimension(dim.getWidth(), dim.getHeight());
  }
View Full Code Here

    String svc2Info = request.getParameterValues("svc2")[0];
   
    String[] screen = screenInfo.split("x");
    String[] block = blockInfo.split("x");
   
    Dimension screenDim, blockDim;
    screenDim = new Dimension(Integer.parseInt(screen[0]), Integer.parseInt(screen[1]));
    blockDim = new Dimension(Integer.parseInt(block[0]), Integer.parseInt(block[1]));
   
    boolean useSVC2 = Boolean.parseBoolean(svc2Info);
   
    if (! hasSessionManager) {
      sessionManager = getSessionManager();
View Full Code Here

      }
     
        session.setAttribute(ROOM, room);
        int seqNum = in.getInt();
         
      Dimension blockDim = decodeDimension(in);
      Dimension screenDim = decodeDimension(in);     
     
      boolean useSVC2 = (in.get() == 1);
     
        /** Swallow end frame **/
        in.get(new byte[END_FRAME.length]);
View Full Code Here

    }
   
    private Dimension decodeDimension(IoBuffer in) {
      int width = in.getInt();
      int height = in.getInt();
    return new Dimension(width, height);
    }
View Full Code Here

TOP

Related Classes of org.bigbluebutton.deskshare.common.Dimension

Copyright © 2018 www.massapicom. 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.