You are here

function ctools_stylizer_image_processor::command_merge_to in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/stylizer.inc \ctools_stylizer_image_processor::command_merge_to()

File

includes/stylizer.inc, line 390
Create customized CSS and images from palettes created by user input.

Class

ctools_stylizer_image_processor

Code

function command_merge_to($workspace, $x = 0, $y = 0) {
  $this
    ->log("Merge to: {$workspace} ({$x}, {$y})");
  if (empty($this->workspaces[$workspace])) {
    $this
      ->log("Workspace {$name} does not exist.", 'error');
    return;
  }
  $this
    ->merge($this->workspace, $this->workspaces[$workspace], $x, $y);
  $this
    ->set_current_workspace($workspace);
}