x
y
Note that the receiver's line attributes do not affect this operation.
5253545556575859606162
context.drawPoint(0,2); context.drawPoint(3,2); context.drawPoint(0,3); context.drawPoint(1,3); context.drawPoint(2,3); context.drawPoint(3,3); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW)); context.drawPoint(1,0); context.drawPoint(0,1);
5556575859606162636465
context.drawPoint(1,3); context.drawPoint(2,3); context.drawPoint(3,3); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW)); context.drawPoint(1,0); context.drawPoint(0,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_DARK_SHADOW)); context.drawPoint(1,1);
5657585960616263646566
context.drawPoint(2,3); context.drawPoint(3,3); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW)); context.drawPoint(1,0); context.drawPoint(0,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_DARK_SHADOW)); context.drawPoint(1,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
5960616263646566676869
context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW)); context.drawPoint(1,0); context.drawPoint(0,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_DARK_SHADOW)); context.drawPoint(1,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW)); context.drawPoint(1,2); context.drawPoint(2,1); context.drawPoint(2,2);
6263646566676869707172
context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_DARK_SHADOW)); context.drawPoint(1,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW)); context.drawPoint(1,2); context.drawPoint(2,1); context.drawPoint(2,2); context.dispose();
6364656667686970717273
context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_DARK_SHADOW)); context.drawPoint(1,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW)); context.drawPoint(1,2); context.drawPoint(2,1); context.drawPoint(2,2); context.dispose(); setCursor(dragCursor);
6465666768697071727374
context.drawPoint(1,1); context.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW)); context.drawPoint(1,2); context.drawPoint(2,1); context.drawPoint(2,2); context.dispose(); setCursor(dragCursor); }
805806807808809810811812813814815
case SWT.SHADOW_ETCHED_IN: gc.setForeground(highlight); if(vertical) { gc.drawLine(0, 1, p.x-1, 1); gc.drawPoint(p.x-1, 0); gc.setForeground(shadow); gc.drawLine(0, 0, p.x-2, 0); } else {
812813814815816817818819820821822
gc.drawLine(0, 0, p.x-2, 0); } else { gc.drawLine(1, 0, 1, p.y-1); gc.drawPoint(0, p.y-1); gc.setForeground(shadow); gc.drawLine(0, 0, 0, p.y-2); } break;
467468469470471472473474475476477
for (int i = 0; i < pointCount; i++) { ContactPoint point = points[i]; if (point.state == PointState.ADD_STATE) { debugDraw.drawPoint(point.position, 10f, color1); } else if (point.state == PointState.PERSIST_STATE) { debugDraw.drawPoint(point.position, 5f, color2); } if (settings.getSetting(TestbedSettings.DrawContactNormals).enabled) {