/** * Gets the vertical projector of this tiled view. * The returned vertical projector is a reference to that for the tile * that contains this tiled view or null, if this tiled view is not in * a tile. * @return the vertical projector; null, if none. */ public Projector getVerticalProjector() { return (_tile!=null)?_tile.getVerticalProjector():null; }
Container frame = tile.getTopLevelAncestor(); Projector hp = tile.getHorizontalProjector(); Projector vp = tile.getVerticalProjector(); DRectangle r = tile.getViewRectangle(); double ffsize = frame.getFont().getSize();
private Point complexToPoint(Cdouble z) { Transcaler ts = _tile.getTranscaler(); Projector hp = _tile.getHorizontalProjector(); Projector vp = _tile.getVerticalProjector(); double xu = hp.u(z.r); double yu = vp.u(z.i); int xp = ts.x(xu); int yp = ts.y(yu); return new Point(xp,yp); }
tile.getVerticalProjector(); Transcaler t = tile.getTranscaler(w,h);
private Cdouble pointToComplex(int x, int y) { Transcaler ts = _tile.getTranscaler(); Projector hp = _tile.getHorizontalProjector(); Projector vp = _tile.getVerticalProjector(); double xu = ts.x(x); double yu = ts.y(y); double xv = hp.v(xu); double yv = vp.v(yu); return roundToReal(new Cdouble(xv,yv)); }
tile.getVerticalProjector(); Transcaler t = tile.getTranscaler(w,h);