Drawing straight lines

Hi,
in my programm I need to draw straight lines(I hope this is the correct translation for an infinit line). Is there a way of doing this?

I just answered my own question.
I checked Illustrator Preferences and under GENERAL: CONSTRAIN ANGLE, mine was set to 0.19 degrees (for reasons unknown).
I changed it to zero and Voila! Who'd have thought this would alter the whole drawing surface?
All I had to do was ask others in order to figure it out myself! Hope this helps anybody else having this bizarre problem.
Vic.

Similar Messages

  • Drawing Straight Line angled path with no wavy distortion when scaled

    Hi,
    I'm a beginner using AI CS5.5, and trying to add  straight lines to a drawing, using the line tool. They are angled about 30 degrees from horizontal, parallel to each other. Used 2pt and color for lines. Everything looks great in AI. When I export the drawing to PNG for insertion as an illustration into InDesign and scale down (45%) the drawing to fit the InDesign page, the once perfectly smooth and straight lines are wavy, almost zigzaggy, slightly distorted. Not a good result.
    Is there a better way to draw straight lines that are on an angle in the drawing so that they are perfectly smooth, and when scaled retain their smooth straight look?
    Any help appreciated.
    Regards,

    Hi,
    Thank you for this suggestion. I just tried this, placing the AI file directly into InDesign, but unfortunately, this looked even worse. The straight lines were even more jagged.
    In Illustrator, these same lines are perfectly straight and smooth. Not sure why it's so challenging to get them to stay straight and smooth after placing the drawing?
    Any suggestions?
    Regards,

  • I can't draw straight lines for fill-in-the-blank on my tests and worksheets. The "draw it yourself choice makes big fat lines and takes a lot of manipulation. Do I have to draw them myself with a pen and a ruler?

    I can't draw straight lines for fill-in-the-blank on tests and worksheets. The draw-it-yourself ooption gives me thick lines and is time-consuming. So, after all these years, do I have to go back to using a ruler and a pen?

    In Pages v5.0.1, the straight lines are already drawn for you in the Shape Tool. Before we go there, select Menu > View > Show Ruler.
    When you click on Shape in the Pages toolbar, the top left line is straight. Click it. It will drop into your document in a 45 degree angle. Grab the lower left selection grip and drag it up and to the right to position the horizontal line in the length of your choice. Use the Format: Style tab to manage the stroke weight. You can also choose Menu > Edit > Duplicate Selection (command+D) as a productivity tool.
    If you move from the Format: Style tab to the Arrange tab, you can compare the start and end points with where you want the line positioned on the ruler. Once you have it positioned, notice the Lock button, also on the Format: Arrange tab.

  • CS6 - Brush bug - randomly draws straight lines when sketching

    Hey everyone,
    I noticed this bug that occurs when I use the brush tool. Whenever I'm sketching in a small region, it randomly draws a straight line, as if I never lifted my pen. It's like when you hold the shift key to make a straight line, except I'm not holding the shift key. However, this only happens if I'm drawing semi-closely and/or if I'm drawing semi-fast (not that fast though. The lines will connect even though I lifted my pen. Does anyone know how to fix this problem? I updated my video card and tablet to its latest drivers but it hasn't fixed the issue.
    Specs:
    Windows 7 64 bit
    Wacom intuos5 tablet
    Nvidia GT 520 Graphics card
    Photoshop CS6
    Any help would be appreciated.

    Allso have this from time to time.
    The brush loses response and does little short straight lines here and there, it's a software glitch. I usually save my document when that happens, this usually snaps it out of it but a few times I had to wait then save again. I used to be able to just swap apps or click on layers or something but that doesn't work anymore.
    XP 32bit
    CS5 32bit
    I had the same promlem with CS4 trial, with my old Manhattan tablet and with my new Intuo's. I think it's a bug that comes in from time to time with panel, window focus changes. Or Id get up to fetch a cup of coffee and when I come back it's like that.

  • Drawing small, short curves in Photoshop draws straight line between start and end points

    I recently installed Windows 8 Professional, Photoshop and the latest Wacom Bamboo tablet drivers and have been experiencing this issue. I've turned off windows flicks and ink. This only happens in Photoshop with the brush tool and I can't seem to find a setting that this corresponds to.
    Basically, when I draw small, short curves (particularly letters like 'c' and 'h'), when I lift up my pen, Photoshop automatically connects the end and start points together with a straight line ('c' almost becomes 'o' or 'a'). I'm not holding the shift or any modifier keys. I've tried googling this issue, but I have no idea how to phrase it properly to get any results.
    Here's an image of what I'm talking about (the top was drawn with the pencil tool, the bottom with the brush tool which demonstrates the issue. I've highlighted the start and end points with red dots):
    ANy ideas? :/

    Is caps lock on?

  • Illustrator drawing straight lines crooked

    All straight lines in Illustrator appear crooked on my screen. This is hard to explain. I've been using AI since 1991 and have never seen this problem, which started happening out of the blue a few months ago, even though I have not changed anything on my system or setup. This problem doesn't happen in any other programs, including InDesign.
    Examples:
    Use the box tool to draw a box. The lines should be straight, but they are crooked. You know when you use the pen tool and draw a line without holding the Shift key, and the line is jagged where it isn't straight? Well, that's what my lines look like when they are supposed to be straight, like from a box.
    The lines are also crooked when I draw with the pen tool using the Shift key to constrain.
    Even the document frame is crooked. I took a screen shot of an example. Please see it at this link:
    http://www.theheadbone.com/crooked.html
    THANK YOU for any help anybody can offer!
    Victoria
    Mac OSX 10.5.6
    AI CS3. 13.02
    Using MacBook Pro with Apple Cinema Display 20"

    I just answered my own question.
    I checked Illustrator Preferences and under GENERAL: CONSTRAIN ANGLE, mine was set to 0.19 degrees (for reasons unknown).
    I changed it to zero and Voila! Who'd have thought this would alter the whole drawing surface?
    All I had to do was ask others in order to figure it out myself! Hope this helps anybody else having this bizarre problem.
    Vic.

  • How do you draw freehand lines like in Paint,I can only draw straight lines

    Hi,
    Im tryin to develop a page where people can practice writing foreign characters using a mouse, I can currently only get straight lines from my code and was wondering what i would have to do for my lines to follow the movements of the user? As this would be more helpful!
    (is it some sort of FOR loop with a repaint() method occuring at a regular interval??)
    Yours Thankfully
    Raj

    was wondering what i would have to do for my lines to follow the movements of the userKeep track of the mouse x and y coordinates starting with mousePressed, continuing with every detected mouseMoved and terminating on mouseReleased. As a new set of coordinates is formed, redraw and repaint!
    ;o)
    V.V.

  • Draw straight lines, locked at each end?

    I've got a wiring diagram that I want to add connections to, see above. I've tried using the Line Segment Tool, and the Pen; these produce the red and black lines connecting the square box at the top to the table below. However, I want to move their position slightly, but keep the ends locked to the side of the object they meet. I've got about 100 to draw, and it's very tedious having to re-draw each line to try to get it right.
    Any suggestions?

    Nigel,
    You may Direct Selet the box(es) to move by ClickDragging, thereby also selecting the end Anchor Point(s), then move them together.

  • My pen tool won't draw straight lines

    When I click the pen tool the cursor shows the pen tool with the "x".  When I click to create the first point nothing happens.  If I click and drag it will create a point, but I don't want curves.  I want a straight line.
    Anyone else have this problem?
    I'm on OSX Yosemite 10.10.3

    The problem was Google Chrome browser!  As soon as I quit Chrome my pen tool started working again.  I didn't even need to restart Fireworks.  I wonder if it is a conflict with one of my plugins/add ons.  Most likely.
    UPDATE - I did narrow it down to one specific Google Chrome extension.  It was "Google Play Music"

  • Flash CC 2014 Drawing with tablet creates straight lines

    I recently downloaded Flash and Photoshop from the free student service and when I use my tablet Intuos4, the lines you see are drawn but it's also draws in the far left, the start of the straight line is where I actually start but for some reason it draws a straight line shifting to the left.
    I checked if it was my shift key from the keyboard and tablet to see if it was jammed, but on the bottom half of the canvas you notice that when I do use my shift key it still draws straight lines and still goes to the far left.
    I updated my drivers for my tablet and it still didn't do anything, it doesn't happen to any other program like Photoshop, it detects the tablet and draws normally.
    Help please?
    http://oi59.tinypic.com/2r6igjq.jpg

    Hi.
    I am experiencing some serious issues with flash professional cc and my drawing tablet. Every time I place my drawing pen on the surface of my tablet, while in flash professional cc, a long straight line darting to the left and beyond my canvas occurs. I haven't messed with any of my settings for I just got the tablet today as well as the flash professional cc program. It's very frustrating and is hindering my work. If this problem is not resolved, I will take my business and money elsewhere.
    Thank you.
    All specs:
    Flash Professional CC 2014 v. 14.1.0.96
    Windows 7
    Monoprice Graphic Drawing Tablet 10x6.25 inch 4000 LPI, 200 RPS, 2048 Levels

  • When im in photoshop drawing and i stop it starts drawing striaght lines

    okay, When I go into photoshop to draw ill be drawing and then stop to do something like change the color, the size of the brush, what kind of brush, ect. and go back to drawing it doesn't free draw it just draws straight lines. I have another program where I edit videos and it lets me draw on there too but it doesn't do what photoshop does. I don't know if its just photoshop or what but it doesn't do it in any other program but photoshop. please help! thanks in advance!

    Try this:
    How to delete/reset Photoshop preferences

  • Need to draw a line in a screen

    I have created a custom screen in screen painter . I need to draw straight line in my screen between two blocks .
    Is there any option for that in screen painter?
    Thanks

    hi Priya,
      Do as Rich as suggested i.e, use Text Field with underscores...
    and by the way..
    please close this thread
    screen in display mode
    by marking helpful answers incase if your problem is solved/ Question is answered

  • Draw dimension lines at runtime?

    Hi all,
    I crated a little application where the user can drag some
    object around
    the movie.
    Is there a way to allow the user to draw straight lines along
    with a sort
    of number stating the lenght of the line while dragging and
    that remain
    there once you draw your line?
    I'm searching a way to allow the user to add dimension lines
    to the
    objects. So, the user draw a straight line and the lenght of
    the line
    (scale 1:20) is displayed along the line.
    Example:
    I drag a square on the stage. Lets assume that its side is
    5cm long. I take
    the LINE tool and draw a line near the top side of the square
    the same
    lenght of the top side of the square (by eyes, of course). I
    should see a
    number near the line saying 100cm (+/-) (remember the scale
    1:20).
    But I'n new to actionscript and I don't know where to start.
    Is there a
    tutorial that teach ho to draw lines at runtime?
    Any suggestion will be very appreciated.
    Ciao ;).
    tony

    Transform a Layer once (command-T), then use command-alt-shift-T to Transform Again and duplicate.
    Or just duplicate a Layer the intended number of times, move the top one to the proper location, select them all and invoke »Distribute horicontal centers« from the Options Bar.

  • How to draw only straight line instead of angled one??

    Dear friends,
    I saw a very good code posted by guru here(I think is camickr),
    But I tried to change it and I hope to draw only straight line instead of angled one, can you help how to do it??
    Thanks so much.
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class DrawingArea extends JPanel
         Vector angledLines;
         Point startPoint = null;
         Point endPoint = null;
         Graphics g;
         public DrawingArea()
              angledLines = new Vector();
              setPreferredSize(new Dimension(500,500));
              MyMouseListener ml = new MyMouseListener();
              addMouseListener(ml);
              addMouseMotionListener(ml);
              setBackground(Color.white);
         public void paintComponent(Graphics g)
              // automatically called when repaint
              super.paintComponent(g);
              g.setColor(Color.black);
              AngledLine line;
              if (startPoint != null && endPoint != null)
                   // draw the current dragged line
                   g.drawLine(startPoint.x, startPoint.y, endPoint.x,endPoint.y);
              for (Enumeration e = angledLines.elements(); e.hasMoreElements();)
                   // draw all the angled lines
                   line = (AngledLine)e.nextElement();
                   g.drawPolyline(line.xPoints, line.yPoints, line.n);
         class MyMouseListener extends MouseInputAdapter
              public void mousePressed(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        startPoint = e.getPoint();
              public void mouseReleased(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        if (startPoint != null)
                             AngledLine line = new AngledLine(startPoint, e.getPoint(), true);
                             angledLines.add(line);
                             startPoint = null;
                             repaint();
              public void mouseDragged(MouseEvent e)
                   if (SwingUtilities.isLeftMouseButton(e))
                        if (startPoint != null)
                             endPoint = e.getPoint();
                             repaint();
              public void mouseClicked( MouseEvent e )
                   if (g == null)
                        g = getGraphics();
                   g.drawRect(10,10,20,20);
         class AngledLine
              // inner class for angled lines
              public int[] xPoints, yPoints;
              public int n = 3;
              public AngledLine(Point startPoint, Point endPoint, boolean left)
                   xPoints = new int[n];
                   yPoints = new int[n];
                   xPoints[0] = startPoint.x;
                   xPoints[2] = endPoint.x;
                   yPoints[0] = startPoint.y;
                   yPoints[2] = endPoint.y;
                   if (left)
                        xPoints[1] = startPoint.x;
                        yPoints[1] = endPoint.y;
                   else
                        xPoints[1] = endPoint.x;
                        yPoints[1] = startPoint.y;
         public static void main(String[] args)
              JFrame frame = new JFrame("Test angled lines");
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              DrawingArea d = new DrawingArea();
              frame.getContentPane().add( d );
              frame.pack();
              frame.setVisible(true);
    }

    Change the AngledLine class to store two points instead of 3 points (I would rename the class to be StraightLine). The code is much simpler because you just store the starting and ending points and you don't need to calculate the middle point.

  • Is there a way to draw a straight line from one point to another?

    Is there a way of drawing a straight line from one point to another please?

    Yes.  First click on this icon:
    Now select the line drawing icon:
    Now press a shift key and drag your mouse on the image to draw a straight line.
    These instructions are for Windows system so you need to adapt the method for Macs.  I can't afford to by an Apple Mac!!!!!
    Good luck.

Maybe you are looking for

  • The sleep/wake button on my iPhone 4 does not work

    The sleep button on my iPhone 4 stopped working today for no reason. I cannot press it down anymore. I have never had this problem before. Does anyone have any idea what the problem could be? Thanks

  • Reinstalled Arch, sound works but not when I login

    Hey guys I just reinstalled Arch, card has worked fine before (M-Audio Revolution 7.1). It works fine now, too, as I have a little "welcome.wav" file that plays when I reach GDM on boot, and it plays just fine but as soon as I log in I can't get any

  • How can i put a 3GP video file into i movie?

    I have put all my baby sisters videos into imovie to make a CD... but the most important one (the one where she was born) wont go in because its not the (mov) format, its (3GP). Can anybody help?

  • Best Car Stereo for iPhone 3g

    I'm about to buy a new car stereo and really want a unit that will play nice with my iPhone 3g. I've been looking at the Alpine ida-X100, but it doesn't support the iPhone natively. I've heard that it works, but it sounds like there is the possibilit

  • Cannot Burn to CD

    Hello all. I was trying to burn an album of less than 100Mb to a CD, all I get was this error message: Burn Failed The burn to the MATSHITA DVD-R UJ-845 drive failed. The device failed to calibrate the laser power for this media How? How can I solve