How to draw arrows?

This code plots a simple XYLine Chart
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.chart.CategoryAxis;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.NumberAxis;
import javafx.scene.chart.XYChart;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class XyChart extends Application {
    @Override
    public void start(Stage stage) {
       stage.setTitle("Line plot");
       final CategoryAxis xAxis = new CategoryAxis();
       final NumberAxis yAxis = new NumberAxis(1, 21,0.1);
       yAxis.setTickUnit(1);
       yAxis.setPrefWidth(35);
       yAxis.setMinorTickCount(10);
       yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis){
            @Override
        public String toString(Number object){
                String label;
                label = String.format("%7.2f", object.floatValue());
                return label;
final LineChart<String, Number>lineChart = new LineChart<String, Number>(xAxis, yAxis);
       lineChart.setCreateSymbols(false);
       lineChart.setAlternativeRowFillVisible(false);
       lineChart.setLegendVisible(false);
       XYChart.Series series1 = new XYChart.Series();
        series1.getData().add(new XYChart.Data("Jan", 1));
        series1.getData().add(new XYChart.Data("Feb", 4));
        series1.getData().add(new XYChart.Data("Mar", 2.5));
        series1.getData().add(new XYChart.Data("Apr", 5));
        series1.getData().add(new XYChart.Data("May", 6));
        series1.getData().add(new XYChart.Data("Jun", 8));
        series1.getData().add(new XYChart.Data("Jul", 12));
        series1.getData().add(new XYChart.Data("Aug", 8));
        series1.getData().add(new XYChart.Data("Sep", 11));
        series1.getData().add(new XYChart.Data("Oct", 13));
        series1.getData().add(new XYChart.Data("Nov", 10));
        series1.getData().add(new XYChart.Data("Dec", 20));
        BorderPane pane = new BorderPane();
        pane.setCenter(lineChart);         
        Scene scene = new Scene(pane, 800, 600);
        lineChart.setAnimated(false);
        lineChart.getData().addAll(series1);      
        stage.setScene(scene);
        stage.show();
    public static void main(String[] args) {
        launch(args);
}I would like to draw arrows on the chart by left mouse click pressed and moved,such as this example
[http://s8.postimage.org/5xgu0j6kl/A02480.png]
how to do this?
Thanks!
Edited by: 932518 on 6-nov-2012 4.32

Hi. It is possible to draw arrows on a chart. Please try the modified example:
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.chart.CategoryAxis;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.NumberAxis;
import javafx.scene.chart.XYChart;
import javafx.scene.control.Label;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.BorderPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.LineTo;
import javafx.scene.shape.MoveTo;
import javafx.scene.shape.Path;
import javafx.scene.shape.Polygon;
import javafx.stage.Stage;
public class XyChart extends Application {
     Path path;
     BorderPane pane = new BorderPane();
    double startx = 0;
    double starty = 0;
    double endx = 0;
    double endy = 0;
    public static void main(String[] args) {
        launch(args);
    @Override
    public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        final NumberAxis yAxis = new NumberAxis(1, 21, 0.1);
        yAxis.setTickUnit(1);
        yAxis.setPrefWidth(35);
        yAxis.setMinorTickCount(10);
        yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis) {
            @Override
            public String toString(Number object) {
                String label;
                label = String.format("%7.2f", object.floatValue());
                return label;
        final LineChart<String, Number> lineChart = new LineChart<String, Number>(xAxis, yAxis);
        lineChart.setCreateSymbols(false);
        lineChart.setAlternativeRowFillVisible(false);
        lineChart.setLegendVisible(false);
        XYChart.Series series1 = new XYChart.Series();
        series1.getData().add(new XYChart.Data("Jan", 1));
        series1.getData().add(new XYChart.Data("Feb", 4));
        series1.getData().add(new XYChart.Data("Mar", 2.5));
        series1.getData().add(new XYChart.Data("Apr", 5));
        series1.getData().add(new XYChart.Data("May", 6));
        series1.getData().add(new XYChart.Data("Jun", 8));
        series1.getData().add(new XYChart.Data("Jul", 12));
        series1.getData().add(new XYChart.Data("Aug", 8));
        series1.getData().add(new XYChart.Data("Sep", 11));
        series1.getData().add(new XYChart.Data("Oct", 13));
        series1.getData().add(new XYChart.Data("Nov", 10));
        series1.getData().add(new XYChart.Data("Dec", 20));
        pane.setCenter(lineChart);
        Scene scene = new Scene(pane, 800, 600);
        lineChart.setAnimated(false);
        lineChart.getData().addAll(series1);
         path = new Path();
          path.setStrokeWidth(1);
        path.setStroke(Color.BLACK);
        scene.setOnMouseReleased(mHandler);
        scene.setOnMousePressed(mHandler);
        pane.getChildren().add(path);
        stage.setScene(scene);
        stage.show();
    EventHandler<MouseEvent> mHandler = new EventHandler<MouseEvent>() {
        @Override
        public void handle(MouseEvent me) {
            if (me.getEventType() == MouseEvent.MOUSE_PRESSED) {
                startx = me.getX();
                starty = me.getY();
                path.getElements().add(new MoveTo(startx, starty));
            } else if (me.getEventType() == MouseEvent.MOUSE_RELEASED) {
                endx = me.getX();
                endy = me.getY();
                path.getElements().add(new LineTo(endx, endy));
                Polygon arrow = new Polygon();
                arrow.getPoints().addAll(new Double[]{
                            0.0, 5.0,
                            -5.0, -5.0,
                            5.0, -5.0});
                double angle = Math.atan2(endy - starty, endx - startx) * 180 / 3.14;
                arrow.setRotate((angle - 90));
                arrow.setTranslateX(startx);
                arrow.setTranslateY(starty);
                arrow.setTranslateX(endx);
                arrow.setTranslateY(endy);
                pane.getChildren().add(arrow);
}

Similar Messages

  • I want to know how to draw arrows & dashed lines in a picture control

    I have to draw arrows & dashed lines in a picture control. Just like we can do that in word or paint etc. I need to do the same using the mouse and drag the line/arrow till I realease the mouse. I am able to this for a normal line ( it works perfectly) but when I have to draw an arrow or a line I am stumped.

    Unfortunately, you have to code your own VIs to do these. It's not going to be too complicated if you manage the animation (while dragging the mouse) with a normal line and draw the dashed line/arrow at the end (when releasing the mouse button).
    In both cases, you'll know start/end line coordinates, thus having the line equation. For arrows, you need to calculate the angle in order to draw it properly.
    A simpler solution may be an activeX control with these features (Paint like) already integrated or to develop one in Visual Basic (at least it will be simpler to manage mouse events and drawing tasks).
    Let's hope somebody already did it and wants to share.

  • How to draw an arrow  ?

    hi.
    i want to create an application which permet to create graphs.
    to create edges i use :
    var arc = Path {
    strokeWidth: bind width
    elements: [
    MoveTo {
    x: bind debutX
    y: bind debutY
    QuadCurveTo {
    x: bind finX
    y: bind finY
    controlX: bind pointX
    controlY: bind pointY
    and i wan't to draw an arrow on this arc so i add a Polygon
    var triangle = Polygon {
    points: bind [pointX - 10,pointY - 10,pointX,pointY,pointX + 10,pointY - 10]
    fill: Color.AQUA
    strokeWidth: 5
    you can see that i use the same pointX and pointY .....this is what i obtain
    http://www.servimg.com/image_preview.php?i=65&u=11565828][img]http://i86.servimg.com/u/f86/11/56/58/28/fleche10.jpg
    the arrow is not on the arc !!
    thanks
    Edited by: ksergses on Apr 20, 2009 5:31 AM

    >
    Indeed, on B&eacute;zier curves, control points are outside of the curve, in general.
    Note that I see the triangle pointing precisely on the curve on the given screenshot... It depends on what you call arrow tip! ;-)no it's not the right tip pointing on the curve.....in general the arrow is far from the curve
    Back to your problem, either you compute the middle point with the B&eacute;zier formulasthat's what i am thinking about...but even if i do that ...the problem that the curves position can change ..and it's form also...and calculating the middle point is not the solution in this case .......
    i am searching for a tool that bind two objects ( arrow and curve) and after that we can manipulate them like one element ( like flash) !
    I am disappointed that JavaFX does not provide a tool to draw arrows easily.
    thanks
    Edited by: ksergses on Apr 21, 2009 5:03 AM

  • Need some advide on drawing arrows.

    basically my program is almost done. I can have the use click on anywhere on the canvas and a filled circle pops up...can draw many circles at once.
    i also manage to have the user have a choice to link them up circle to circle.
    the problem comes when i try and draw arrow heads to the lines. The lines are connected from the centre of each circle to another centre of another circle..
    so when the arrow heads appear, they will point in the right direction....but then the arrow head are blocked by the filled circles color..so i can't see them... how do i make the arrows point on the circles circumference?

    I left the circles unfilled so you can see where the lines terminate and left the code in paintComponent; don't know how you are refactoring things. The lines could easily be added to another ArrayList.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.ArrayList;
    import java.util.List;
    import javax.swing.*;
    public class DrawingTest
        public static void main(String[] args)
            CirclesAndArrows circles = new CirclesAndArrows();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(circles.connector.getUIPanel(), "North");
            f.getContentPane().add(circles);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class CirclesAndArrows extends JPanel
        List circleList;
        final double DIA;
        boolean showLines;
        Connector connector;
        public CirclesAndArrows()
            circleList = new ArrayList();
            DIA = 20;
            showLines = false;
            setBackground(Color.white);
            connector = new Connector(this);
            addMouseListener(connector);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            for(int j = 0; j < circleList.size(); j++)
                g2.draw((Shape)circleList.get(j));
            if(showLines)
                Ellipse2D.Double e1, e2;
                double x1, y1, x2, y2, phi;
                for(int j = 0; j < circleList.size(); j++)
                    e1 = (Ellipse2D.Double)circleList.get(j);
                    for(int k = j + 1; k < circleList.size(); k++)
                        e2 = (Ellipse2D.Double)circleList.get(k);
                        phi = Math.atan2(e2.y - e1.y, e2.x - e1.x);
                        x1 = e1.x + DIA/2 + (Math.cos(phi) * DIA + 1)/2;
                        y1 = e1.y + DIA/2 + (Math.sin(phi) * DIA + 1)/2;
                        x2 = e2.x + DIA/2 - (Math.cos(phi) * DIA - 1)/2;
                        y2 = e2.y + DIA/2 - (Math.sin(phi) * DIA - 1)/2;
                        g2.draw(new Line2D.Double(x1, y1, x2, y2));
        public void setCircle(Point p)
            Ellipse2D.Double e = new Ellipse2D.Double(p.x - DIA/2, p.y - DIA/2, DIA, DIA);
            circleList.add(e);
            repaint();
        public void setShowLines(boolean show)
            showLines = show;
            repaint();
        public void clear()
            circleList.clear();
            repaint();
    class Connector extends MouseAdapter
        CirclesAndArrows circles;
        public Connector(CirclesAndArrows caa)
            circles = caa;
        public void mousePressed(MouseEvent e)
            circles.setCircle(e.getPoint());
        public JPanel getUIPanel()
            JButton clear = new JButton("clear");
            clear.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    circles.clear();
            final JCheckBox connect = new JCheckBox("connect circles");
            connect.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    circles.setShowLines(connect.isSelected());
            JPanel panel = new JPanel();
            panel.add(clear);
            panel.add(connect);
            return panel;
    }

  • How to draw a line???

    I am a long time Photoshop user, but new to "Elements". I cannot figure out how to draw a line??? The Help says "To draw a line or arrow...... 1. In the Editor, select the Line tool." Ummm.....WHERE??? HOW??? If I knew how to select the Line tool I wouldn't have gone to the Help file.
    Where is the "Editor"?? All I see at the top in the "Rectangular Marquee Tool" and the "Elliptical Marquee Tool" .....I see no Line tool on the left (where it used to be in PhotoShop) or on the top.
    Jeff

    Jeff,
    I use PEv.3. The line tool is accessed via the shape selection tool.
    Click U. Hold the shift key as you drag and you will have a straight line.
    Editor refers to the component of Elements utilized for enhancement and manipulation. Organizer in the Win version deals with storage and structured organization, as well as special projects.
    Ken

  • How to draw horizontal line in smartform after end of the all line items

    Hi Friends,
    I am working on the smartform. I have created TABLE node in Main window.
    i want to draw a horizontal line after end of the main window table node. i mean after printing all the line items of the table, I need to print one horizontal line.
    Could you please help me how to resolve this issue.
    FYI: I tried with the below two options. But no use.
    1. desinged footer area in the table node of the main window.
    2. tried with uline and system symbols.
    please correct me if i am wrong. please explain in detail how to draw horizontal line after end of the main window table.
    this is very urgent.
    Thanks in advance
    Regards
    Raghu

    Hello Valter Oliveira,
    Thanks for your answer. But I need some more detail about blank line text. i.e thrid point.
    Could you please tell me how to insert blank line text.
    1 - in your table, create a line type with only one column, with the same width of the table
    2 - in table painter, create a line under the line type
    3 - insert a blank line text in the footer section with the line type you have created.

  • How to draw text vertically, or in an angle

    please help me how to draw text vertically, or in an angle

    I robbed the framework from Dr Las or 74phillip (don't remember which) ...
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class AngleText extends JPanel {
      private int      degrees = 16;
      private JSpinner degreesSpinner;
      public AngleText () {
        setBackground ( Color.WHITE );
      }  // AngleText constructor
      protected void paintComponent ( Graphics _g ) {
        super.paintComponent ( _g );
        Graphics2D g = (Graphics2D)_g;
        g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );
        AffineTransform at = AffineTransform.getRotateInstance ( Math.toRadians ( degrees ) );
        Font f =  g.getFont();
        g.setFont ( f.deriveFont ( at ) );
        g.drawString ( "Rotating Text!", getWidth()/2, getHeight()/2 );
        g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF );
      }  // paintComponent
      public JPanel getUIPanel () {
        SpinnerModel degreesModel = new SpinnerNumberModel (
                                      degrees  // initial
                                     ,0        // min
                                     ,360      // max
                                     ,2        // step
        degreesSpinner = new JSpinner ( degreesModel );
        degreesSpinner.addChangeListener ( new DegreesTracker() );
        JPanel panel = new JPanel();
        panel.add ( degreesSpinner );
        return panel;
      }  // getUIPanel
      //  DegreesTracker
      private class DegreesTracker implements ChangeListener {
        public void stateChanged ( ChangeEvent e ) {
          Integer i = (Integer)((JSpinner)e.getSource()).getValue();
          degrees   = i.intValue ();
          repaint();
      }  // DegreesTracker
      //  main
      public static void main ( String[] args ) {
        JFrame f = new JFrame ( "AngleText" );
        f.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );
        AngleText app = new AngleText();
        f.getContentPane().add ( app );
        f.getContentPane().add ( app.getUIPanel(), BorderLayout.SOUTH );
        f.setSize ( 200, 200 );
        f.setVisible ( true );
      }  // main
    }  // AngleText

  • How to draw vertical lines in SMART FORMS

    Hi Guys,
    Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
    thanks,
    Ramesh

    Hi Ramesh,
    In the window output options you have option of check box to get lines.
    Then you need to give the spacing for vertical and horizontal.
    Another option is putting a template on window and getting the boxes, but it is quite little bit complex.
    Put the cursor on the WINDOW in which the lines you want.
    Right click on it>create>complex section.
    In that select the TEMPLATE radio button.
    Goto TAB TEMPLATE.
    Name: give some name of line.
    From: From coloumn.
    To: To coloumn
    Height: specify the height of the line.
    Next give the coloumn widths.
    Like this you can draw the vertical and horzontal lines.
    If the above option doesnot workout then u can try the below option also
    any how you can draw vertical and horizontal lines using Template and Table.
    for Template First define the Line and divide that into coloumns and goto select patterns and select the required pattern to get the vertical and horizontal lines.
    For table, you have to divide the total width of the table into required no.of columns and assign the select pattern to get the vertical and horizontal lines.
    if this helps, reward with points.
    Regards,
    Naveen

  • I would like to know how to draw up a list in a cell (like a pull-down menu) to ease data capture, but I don't know how to do that  ! Do you get the idea ? Thanks !

    I would like to know how to draw up a list in a cell (like a pull-down menu) to ease data capture, but I don't know how to do that  !
    Do you get the idea ?
    Thanks ever so much !

    the numbers manual can be downlaoded from this website under the Apple support area...
    http://support.apple.com/manuals/#numbers
    What your looking for is written out step by step for drop downs and all other special types of user input starting around page 96 in the '09 manual.
    Jason

  • How to draw horizontal line at the end of table for multiple line items

    Dear Experts,
                       Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
    Thanks
    Ramesh Manoharan

    Hi
       I tried as per your logic but it is not solving my problem .  when i am gone to table painter it is showing line type 1 and line type 2
      is below format.. if u see here line type 1 bottom line and line type 2 top line both are same..  so how to avoid this ?
                              line type 1
                             line type 2

  • How to draw table in layout in module pool

    how to draw table in layout in module pool with wizard or table control

    Hi
    Goto Screen Painter .
    here we can create table in 2 ways,
    with wizard and without wizard.
    with wizard it will step by step...
    for without wizard (its quite easy)
    Click Table control and Drag into ur screen.
    then --> click input box and place into to that table control
    for two column do this two times.
    then for header click the text icon in left side and drag into
    correspoding places .. then ur table is ready..
    then give names using double clicking the elements
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    Reward if useful.

  • How to Draw 3-D scatter plot in J2ME?

    HI all
    I am new in J2ME And I need to draw a three dimensional scatter plot in J2ME application. Can any body help me how to do so? It's urgent and I am eagerly waiting for your response. Even if you can tell me how to draw a 3-D point like (x,y,z)=(3,5,8) in J2ME?

    I've removed the thread you started in the Java3D forum.
    db

  • How to draw 2D shapes on the image generated by JMF MediaPlayer?

    Hello all:
    IS there any way that we can draw 2D shapes on the image generated by JMF
    MediaPlayer?
    I am currently working on a project which should draw 2D shapes(rectangle, circle etc) to
    mark the interesting part of image generated by JMF MediaPlayer.
    The software is supposed to work as follows:
    1> first use will open a mpg file and use JMF MediaPlayer to play this video
    2> if the user finds some interesting image on the video, he will pause the video
    and draw a circle to mark the interesting part on that image.
    I know how to draw a 2D shapes on JPanel, however, I have no idea how I can
    draw them on the Mediaplayer Screen.
    What technique I should learn to implement this software?
    any comments are welcome.
    thank you
    -Daniel

    If anyone can help?!
    thank you
    -Daniel

  • How to Draw table in SAPscript ???

    Hi all Guru of SAPScript!
    I want to draw a table with column and row in SAPscript. Who can help me step by step?
    Thanks!
    Edited by: kathy a on May 6, 2008 11:53 AM

    Hi,
    Use BOx Syantax  How to Draw table in SAPscript ??? Pls Read the description
    Syntax:
    1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    BOX
    Syntax:
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each parameter (XPOS, YPOS, WIDTH, HEIGHT and FRAME), both a measurement and a unit of measure must be specified. The INTENSITY parameter should be entered as a percentage between 0 and 100.
    •&#61472;XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    •&#61472;WIDTH: Width of the box.
    Default: WIDTH value of the SIZE command.
    •&#61472;HEIGHT: Height of the box.
    Default: HEIGHT value of the SIZE command.
    •&#61472;FRAME: Thickness of frame.
    Default: 0 (no frame).
    •&#61472;INTENSITY: Grayscale of box contents as %.
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP/4 numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measure: The following units of measure may be used:
    •&#61472;TW (twip)
    •&#61472;PT (point)
    •&#61472;IN (inch)
    •&#61472;MM (millimeter)
    •&#61472;CM (centimeter)
    •&#61472;LN (line)
    •&#61472;CH (character).
    The following conversion factors apply:
    •&#61472;1 TW = 1/20 PT
    •&#61472;1 PT = 1/72 IN
    •&#61472;1 IN = 2.54 CM
    •&#61472;1 CM = 10 MM
    •&#61472;1 CH = height of a character relative to the CPI specification in the layout set header
    •&#61472;1 LN = height of a line relative to the LPI specification in the layout set header
    Examples:
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    POSITION
    Syntax:
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started the POSITION value is set to refer to the upper left corner of the window (default setting).
    Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words as a value which specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
    •&#61472;XORIGIN, YORIGIN: Origin of the coordinate system.
    •&#61472;WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
    •&#61472;PAGE: Sets the values for the left and upper edges to be the same as those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
    Examples:
    /: POSITION WINDOW
    Sets the origin for the coordinate system to the upper left corner of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
    /: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
    Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
    SIZE
    Syntax:
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started the SIZE value is set to the same values as the window itself (default setting).
    Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
    •&#61472;WIDTH, HEIGHT: Dimensions of the rectangle or line.
    •&#61472;WINDOW: Sets the values for the width and height to the values of the current window (default setting).
    •&#61472;PAGE: Sets the values for the width and height to the values of the current output page.
    Examples:
    /: SIZE WINDOW
    Sets WIDTH and HEIGHT to the current window dimensions.
    /: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
    Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
    /: POSITION WINDOW
    /: POSITION XORIGIN -20 TW YORIGIN -20 TW
    /: SIZE WIDTH +40 TW HEIGHT +40 TW
    /: BOX FRAME 10 TW
    A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
    Reward Helpfull Answers
    Regards
    Fareedas

  • How to draw smooth curve in Hyperdraw??

    Okay, I've checked the manual 4x and have been playing with Hyperdraw for 30 minutes and still can't figure out how to draw a smooth bell curve in the Hypereditor... In Cubase, I would take the pencil tool and draw a nice curve but can't seem to figure out how do the same in Logic!
    Could someone pleeeeease lend me a clue...?
    Thanks.

    RealDave wrote:
    "The name on the package may say "Apple," but this is definitely not your typical mac application!"
    Yes, Logic was an acquisition. It has remained to this day "The Redheaded Stepchild". If they ever take
    some engineers off the iOS projects and put them on Logic, the application may shape up. Don't get your hopes too high though. iOS is where they make all the Money. Logic is small potatoes in Apples big picture.
    PS: This message will soon disappear because it contains truth.
    To give them credit, Logic made a HUGE jump in usability when it hit Logic 8.
    I mean, MASSIVE.
    It's actually usable by mortals now.
    Even among professional tools, there are well-designed ones and completely arcane ones with the same functionality.
    Logic grew over decades of adding an extra little limb here, and growing a third chin down there, etc., at the behest of a hundred studio techs missing this or that and calling up the engineers or higher-uppers. It was an extremely powerful, but utterly convoluted MESS.
    The fact that you can now explain the basic structure of Logic 8 in less than three minutes (the fact that it HAS a "basic structure", rather than just a kraken-like reenactment of 80 years of studio development known as "The Environment") makes a huge difference, and, though they've confused people who've whittled the beast into shape over the past twenty years by trying to make the application "Logical" (including key commands), the benefits to users are, IMHO, tremendous.
    I know a number of people who wouldn't have considered working with Logic before (Nuendo users), and now that Logic 9 appears to have fixed many of the most glaring bugs in Logic 8, are adding it to their toolset.

Maybe you are looking for

  • Help needed with dramatical bad performanc​e of gauge controls

    This VI causes the problems With kind regards Martin Kunze With kind regards Martin Kunze KDI Digital Instrumentation.com e-mail: [email protected] Tel: +49 (0)441 9490852 Attachments: Page 1_3D_1.vi ‏235 KB

  • Consult a Lookup in a particular value from a reconciliation

    Hello everybody ... I need to find a method (tcLookupOperationsntf) that searches a Lookup a certain value (string). For example, I have several records in a Lookup as follows OU=pp_99123,OU=PE,DC=domain,DC=net , I contain only the number 99123 which

  • Connecting Playbook to Desktop software

    Hi all, I am trying to connect my Playbook to the pc but I always get an error message, I used the update option which shows when I connect but I lost all my files for nothing, same problem occured again, now I am updating to the latest version relas

  • Vertical Labels

    I'm having a problem with getting text to read downwards using 'JLabels' (but I don't mind using normal 'Label's). If anybody knows how to either :- 1) Get a Label or JLabel to write downwards or, 2) Rotate a Component or JComponent 90 degrees I woul

  • Please package Java ME SDK 3.0 for Linux/Unix

    Hi Oracle guys! Please package Java ME SDK 3.0 for Linux/Unix soon! It would be of benefit both to us developers, and to Oracle. Thanks!