#include <qs_penwrapper.h>
Public Slots | |
| void | test () |
Public Member Functions | |
| QS_PenWrapper (RS_Pen *p) | |
| QS_PenWrapper (int r, int g, int b) | |
| Constructor for a pen with a color and default width. | |
| QS_PenWrapper (int r, int g, int b, int w) | |
| Constructor for a pen with a color and a width. | |
| virtual RS_Pen * | getPen () |
|
||||||||||||||||
|
Constructor for a pen with a color and default width. This example script creates a new red pen and activates it: var doc = new Document; var pen = new Pen(255,0,0); doc.setActivePen(pen); |
|
||||||||||||||||||||
|
Constructor for a pen with a color and a width. This example script creates a new red 1mm pen and activates it: var doc = new Document; var pen = new Pen(255,0,0, 100); doc.setActivePen(pen); |
1.4.4