Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rap-dev] GC on Drawable Items

Hello,

I just tested the new drawing feature of M7-RAP release.
Very nice.

Unfortunately I experience some problems. I would like to draw into an
existing component such as a tree.

Tree tree1;
GC sourceGC = new GC(tree1);
gc.drawRectangle(0, 0, 20, 20);

In my RCP a rectangle is drawn but in RAP nothing happens. Is that
supposed to work or can I only draw into canvas?

Best,
Eric



Back to the top