Sets the maximum pixmap size for this toolbar.
        
        :param     size | <int>
483000
def setMaximumPixmapSize(self, size):
        
        self._maximumPixmapSize = size
        position = self.position()
        self._position = None
        self.setPosition(position)
1239199
public ImageHandlerBuilder resizeToHeight(int size) {
         if (image.getHeight() < size) return this;
         BufferedImage resize = Scalr.resize(image, Scalr.Mode.FIT_TO_HEIGHT, Math.min(size, image.getHeight()));
         image.flush();
         image = resize;
         return this;
     }
901786
def resize(self, size):
		
		if size < len(self):
			raise ValueError("Value is out of bound. Array can't be shrinked")
		current_size = self.__size
		for i in range(size - current_size):
			self.__array.append(WBinArray(0, self.__class__.byte_size))
		self.__size = size
271912
def setCursorSize(self, p):
        ''
        self.cursorBox = BoundingBox(self.cursorBox.xmin, self.cursorBox.ymin, p.x, p.y)
        self.cursorBox.w = max(self.cursorBox.w, self.canvasCharWidth)
        self.cursorBox.h = max(self.cursorBox.h, self.canvasCharHeight)
822973
def set(self, data, size):
        
        return lib.zchunk_set(self._as_parameter_, data, size)
684192
def _get_image_size(self, maxcharno, maxlineno):
        
        return (self._get_char_x(maxcharno) + self.image_pad,
                self._get_line_y(maxlineno + 0) + self.image_pad)
476697
def resize(self, size):
        
        if isinstance(self._data, Stream):
            self._data.resize(size)
425847
def resize(self, size):
        """"""
        return Image(self.pil_image.resize(size, PIL.Image.ANTIALIAS))
1230476
def set_size(self, size):
        
        raise NotImplementedError("%s not implemented for %s" % (self.set_size.__func__.__name__,
                                                                 self.__class__.__name__))
923350
def reset(self, data, size):
        
        return lib.zframe_reset(self._as_parameter_, data, size)
1186633
def set_size(params = {})
      @width    = params[:width]    if params[:width]
      @height   = params[:height]   if params[:height]
      @x_scale  = params[:x_scale]  if params[:x_scale]
      @y_scale  = params[:y_scale]  if params[:y_scale]
      @x_offset = params[:x_offset] if params[:x_offset]
      @y_offset = params[:y_offset] if params[:y_offset]
    end
1218921
def convert_tkinter_size_to_Wx(size):
    
    qtsize = size
    if size[1] is not None and size[1] < DEFAULT_PIXEL_TO_CHARS_CUTOFF:        # change from character based size to pixels (roughly)
        qtsize = size[0]*DEFAULT_PIXELS_TO_CHARS_SCALING[0], size[1]*DEFAULT_PIXELS_TO_CHARS_SCALING[1]
    return qtsize
276936
def setFontPointSize(self, size):
        
        self.blockSignals(True)
        self.editor().setFontPointSize(size)
        self.blockSignals(False)
1164500
public void setImageSize(Point size) {
		Assert.isNotNull(size);
		Assert.isTrue(size.x >= 0 && size.y >= 0);
		fSize = size;
	}
726198
def resize(self, size=None):
        

        if not self.operation.israw():
            return

        size = size or tty.size(self.operation.stdout)

        if size is not None:
            rows, cols = size
            try:
                self.operation.resize(height=rows, width=cols)
            except IOError:  # Container already exited
                pass
879007
def max_size(self):
        
        sizes = np.array([m.sum() for m in self.masks])
        return sizes.max()
1274823
def resize(self, size):
        
        self.instance.resize_volume(size)
        self.size = size