code: void setPixelSize(final int wide, final int high)
      {
          m_wide = wide;
  
          m_high = high;
  
          if (LienzoCore.IS_CANVAS_SUPPORTED)
          {
              if (false == isSelection())
              {
                  getElement().getStyle().setWidth(wide, Unit.PX);
  
                  getElement().getStyle().setHeight(high, Unit.PX);
              }
  
              final CanvasElement element = getCanvasElement();
  
              element.setWidth(wide);
  
              element.setHeight(high);
  
              if (false == isSelection())
              {
                  getContext().getNativeContext().initDeviceRatio();
              }
  
              if ((false == isSelection()) && (null != m_select))
              {
                  m_select.setPixelSize(wide, high);
              }
          }
      }
docs: Sets this layer's pixel size.
  
  @param wide
  @param high