krita

KisClipboard Class Reference

#include <kis_clipboard.h>

List of all members.


Detailed Description

The Krita clipboard is a clipboard that can store paint devices instead of just qimage's.

Definition at line 34 of file kis_clipboard.h.


Public Member Functions

virtual ~KisClipboard ()
void setClip (KisPaintDeviceSP layer)
KisPaintDeviceSP clip ()
bool hasClip ()
QSize clipSize ()

Static Public Member Functions

static KisClipboardinstance ()

Member Function Documentation

KisPaintDeviceSP KisClipboard::clip (  ) 

Get the contents of the clipboard in the form of a paint device.

Definition at line 140 of file kis_clipboard.cc.

void KisClipboard::setClip ( KisPaintDeviceSP  layer  ) 

Sets the clipboard to the contents of the specified paint device; also set the system clipboard to a QImage representation of the specified paint device.

Definition at line 73 of file kis_clipboard.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys