This operation requires the operating system's advanced graphics subsystem which may not be available on some platforms.
919293949596979899100101
path.lineTo(x, y); first = false; } gc.setForeground(black); gc.setLineWidth(5); gc.drawPath(path); } // Dann alle einzelnen Knoten malen, damit diese oben sind for (final MapObject mo : obj) for (final MapNodeRef r : mo.getNodes()) { final Angle lat = r.getNode().getLatitude();
9596979899100101102103104105
Path path = new Path(display); path.addString("SWT", 0, 0, font); gc.setBackground(display.getSystemColor(SWT.COLOR_GREEN)); gc.setForeground(display.getSystemColor(SWT.COLOR_BLUE)); gc.fillPath(path); gc.drawPath(path); tr.dispose(); path.dispose(); } }); shell.setSize(shell.computeSize(rect.width, rect.height));
5556575859606162636465
Path path = new Path(display); path.addString("SWT", 0, 0, font); gc.setBackground(display.getSystemColor(SWT.COLOR_GREEN)); gc.setForeground(display.getSystemColor(SWT.COLOR_BLUE)); gc.fillPath(path); gc.drawPath(path); tr.dispose(); path.dispose(); } }); shell.setSize(shell.computeSize(rect.width / 2, rect.height / 2));