Home | History | Annotate | Download | only in ui

Lines Matching defs:MARGIN

45 	static final int MARGIN= 5; // margin on all four sides
224 for (int i=0, y=MARGIN; i < this.count; i++, y+=LINE_HEIGHT) {
251 int labelxpos = MARGIN + baselineBarLength;
253 this.gc.fillRectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT);
254 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT);
259 Rectangle recValue = new Rectangle(MARGIN, y + (GAP/2), wr, BAR_HEIGHT);
262 Rectangle recError = new Rectangle(MARGIN+wr, y + (GAP/2), baselineErrorLength*2, BAR_HEIGHT);
264 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength+baselineErrorLength, BAR_HEIGHT);
293 this.gc.fillRectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, currentBarLength, BAR_HEIGHT);
294 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, currentBarLength, BAR_HEIGHT);
301 if (labelxpos < (MARGIN+currentBarLength)) {
302 labelxpos = MARGIN + currentBarLength;
306 Rectangle recValue = new Rectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, wr, BAR_HEIGHT);
309 Rectangle recError = new Rectangle(MARGIN+wr, y + (GAP/2) + BAR_HEIGHT, currentErrorLength*2, BAR_HEIGHT);
311 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, currentBarLength+currentErrorLength, BAR_HEIGHT);
325 if (labelxpos < (MARGIN+currentBarLength+currentErrorLength)) {
326 labelxpos = MARGIN + currentBarLength+currentErrorLength;
432 int x = MARGIN;
440 this.gc.drawLine(x, MARGIN, x, this.graphHeight + TGAP);
465 int x = MARGIN;
471 if (x > MARGIN) {
473 this.gc.drawLine(x, MARGIN, x, this.graphHeight + TGAP);
501 x = MARGIN + (int) (this.graphWidth * Math.log(value) / max);
532 this.gc.fillRectangle(0, MARGIN + i * LINE_HEIGHT, this.imageWidth, LINE_HEIGHT);
537 int yy= MARGIN + this.count * LINE_HEIGHT;
538 this.gc.drawLine(MARGIN, MARGIN, MARGIN, yy + TGAP);
554 this.graphHeight = MARGIN + this.count * LINE_HEIGHT;
555 this.imageHeight = this.graphHeight + GAP + 16 + MARGIN;
565 this.graphWidth= width - this.gc.stringExtent("-999.9%").x - TGAP - MARGIN; // reserve space //$NON-NLS-1$