Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Is there a generic Surface/Canvas/... to 'draw' geometric objects to?

I like to create a control that shows some geometric opbjects (from the org.eclipse.gef.geometry package).

Is there a generic abstraction Interface Surface/Canvas/... where one can send geometric object, setting colors, fonts and such that are then mapped to a concrete ui frameweork (fx, swt, awt, ...)?

I poked around in the source a bit but haven't found such a thing, the examples seem to simply extend for example a swt canvas and then use Geometry2x to directly draw to a GC/Graphics object.


Back to the top