No preview line for baintbrush tool or pencil tool

hi, im using cs4.
I have the program at school and just got it onto my computer. usually when you draw with the pancil or paintbrush tool you see that dotted looking preview line before you release your mouse click. the one depicted here. After installing the program, said line is not appearing. I find that this makes it very hard to use those tools. Does anyone know of a solution to this? I'm sure that there is somthing simple that im missing. Thanks in advance!

Hi, in case I missed telling you, I have a new email now. Please send all future emails to [email protected] . Thanks! (I will still have this email but will only check it periodically, so I may not be able to send a timley response.)

Similar Messages

  • Lines with pen or pencil tool are choppy

    Hi
    I NEVER had this problem since i been using AI, 3 years.
    i am using like pen, or pencil tool. doesnt matter which one, when i draw a line, they line becomes all choppy. put it this way, is pretty much looks like pixelated, it doesn't give you the smooth look that you would get with vector.
    the problem is persist when i have like red line one black background.
    any suggestion what the problem might be?
    Mac OS X 10.5.5 (Duh)
    Imac 20"
    3gb of ram
    Ai CS3
    Thank you before hand, for your help

    What screen resolution are you using? Do the lines print correctly?
    If the lines do print correctly it looks as if your problem might be to do with your Display settings in System Preferences. Mine are set at 1680 x 1050 with Colors as Millions. This gives a very smooth rendering.

  • Line drawn with Pencil Tool appears to fade in and out

    My Nme is Allen Togwell.Case No: 0183721415. Your chat line guy said I needed a graphic card to solve my problem for my CS6. He gave me a link but disconnected before I could use it. Can you help me with what type of graphic card I need. I am 75 yrs of age and not very com literate.
    Thanks

    Hi Allen,
    I looked up that case number and watched a recording of you working with the agent and am not convinced that what you are seeing was necessarily because of the graphics card.
    This is my interpretation and thoughts around what you were seeing. I noticed that you were working on an image that took up a fair amount of the screen when viewed at 16.7% zoom. This means it was a pretty large image. Next, I noticed you were using the pencil tool with a tip that was 4 pixels.
    I think the combination of these two things was the reason the pencil tool was appearing choppy or to fade in and out when drawing. This occurs because you are using such a small size and are zoomed out so much that the lines are barely visible. When you zoom out the program resamples the appearance. This resampling can cause detail to be lost and the appearance to vary depending on what zoom level is used, 16.7% is particularly bad with fine details.
    I think there would be two solutions, use a different zoom level to get a better view or use a pencil with a larger size.
    I recorded this video for you as an example
    http://screencast.com/t/e9dhiHKoKbv
    I suspect the list that the agent was suggesting for video cards was the one at the bottom of this document
    http://helpx.adobe.com/photoshop/kb/photoshop-cs6-gpu-faq.html
    Hope that helps,
    -Dave

  • Flash Professional 5.5 Pencil tool line problem

    Hello, and thanks for helping me with my problem. I am currently using flash professional 5.5. I just started having this problem lately where when I go to draw a line with the pencil tool, the line will completely mess up and be unsmooth. Even if the smoothing is set to 100, if i draw a line, it will never be smooth and sometimes it will not even look like line. My lines have random tapers in the middle of them, even if the line was drawn with one stroke. It's getting very annoying and I cannot for the life of me figure out how to fix it. I am using a wacom bamboo tablet to draw these lines, so I am not sure if it is the tablet or flash itself, that's why I decded to see if anyone else has had to deal with this problem before. If you can tell me how to fix this, I will extremely appreciate it, it's driving me nuts!
    If my description isn't quite clear of the problem I'm having, I will post a screenshot of what it looks like when I draw a line. Thank you so much!
    -Brandon

    Are you sure that you have the line smoothing option selected in the bottom of the tool bar? You might try re-installing the wacom driver, or delete the Flash preferences.

  • Scripting shortcut for pencil tool in Acrobat 9 Pro?

    Many of the tools in Acrobat 9 Pro have a keyboard shortcut (P=callout box, U=highlight, Z=marquee zoom...) but not the pencil tool. Anyone scripted a shortcut key or be willing to explain the process of writing a script and assigning it to a keystroke?
    Why would Adobe overlook this tool?
    And yes, I know AutoInk sells a plug-in for $69.

    Acrobat : Advanced menu : Preflight…
    Then:

  • Jittery lines when drawing with pencil tool in Flash

    When drawing with the pencil tool using an Intuos Wacom tablet, the lines are jagged and create several points along the jagged line, making the pencil tool unusable. Does not occur with any other program. Using Flash CC Pro 2014.

    Hi Jessy,
    Can you please provide the following details to understand the issue .
    What is mode of pencil you have set to draw like straihgten ,Smooth or Ink ,and if it smooth mode what is the smothing value you have set .
    Wacom driver version.
    do you see this problem in any previous version of Flash.
    Thanks!
    Latha

  • Turn off Shape Dynamics for Pencil tool at 1px size

    As discussed in this thread, it would be preferred if Photoshop's Pencil tool defaulted to turn OFF Shape Dynamics when the tool is set to a pencil size of 1px.
    The current behavior, with Shape Dynamics on, does not allow the pencil to work correctly using a Wacom tablet. This has been verified using two different tablets and in Photoshop CS 4 and 5.

    There is no way to turn off the 'function' in Photoshop ?
    I mean...why user can edit a Shortcut for toggle 'Layer'...but dont allow user redefine the CapsLock key for ?

  • Programming a Pencil Tool on Paint?

    Here's my code for Scribble(a pencil tool) and its superclass Shape. Basically, my program remembers where the mouse has been and draws a line from the previous point to the current point. However, the scribble doesn't show up (occasionally you will see a small line at the very end) I think the problem is that each Scribble object only has one previous and one current. Therefore, there is only 1 line left at the end. How can I correct this?
    Thanks in advance!
    Note: this doesn't run since there are about 5 other classes needed. I guess can post them if you want? xD
    import java.awt.*;
    public class Scribble extends Shape{
         protected Point startpt, endpt;
         protected Point previous, current;
         int count = 0;
        public Scribble(Point start, DrawingCanvas dcanvas){
         super();
         System.out.println("SCRIBBLE CREATED!!!!!!!\n\n");
         startpt = start;
         current = start;
         endpt = start;
         canvas = dcanvas;
         bounds = new Rectangle(start);
        public void resize(Point anchor, Point end){
         super.resize(anchor, end);
         previous = current;
         startpt = anchor;
         current = end;
         endpt = end;
        public void translate(int dx, int dy){
         super.translate(dx, dy);
         previous.translate(dx, dy);
         current.translate(dx, dy);
         startpt.translate(dx, dy);
         endpt.translate(dx, dy);
        public void draw(Graphics g, Rectangle regionToDraw){
              count++;
              System.out.println(count);
         if (!bounds.intersects(regionToDraw)){
             return;
         g.setColor(super.getColor());
         g.drawLine((int)previous.getX(), (int)previous.getY(), (int)current.getX(), (int)current.getY());
         if (isSelected) { // if selected, draw the resizing knobs
                           // along the 4 corners
             Rectangle[] knobs = getKnobRects();
             for (int i = 0; i < knobs.length; i++)
              g.fillRect(knobs.x, knobs[i].y,
                   knobs[i].width, knobs[i].height);
    protected Rectangle[] getKnobRects(){
         Rectangle[] knobs = new Rectangle[2];
         knobs[0] = new Rectangle((int)startpt.getX() - KNOB_SIZE/2,
                        (int)startpt.getY() - KNOB_SIZE/2, KNOB_SIZE, KNOB_SIZE);
         knobs[1] = new Rectangle((int)endpt.getX() - KNOB_SIZE/2,
                        (int)endpt.getY()- KNOB_SIZE/2, KNOB_SIZE, KNOB_SIZE);
         return knobs;
    protected int getKnobContainingPoint(Point pt){
         if (!isSelected) return NONE;
         Rectangle[] knobs = getKnobRects();
         for (int i = 0; i < knobs.length; i++)
         if (knobs[i].contains(pt))
              return i;
         return NONE;
    }import java.awt.*;
    import java.util.*;
    import java.io.*;
    public abstract class Shape implements Serializable, Cloneable{
         private Color color;
    protected Rectangle bounds;
    protected boolean isSelected;
    public DrawingCanvas canvas;
    protected static final int KNOB_SIZE = 6;
    protected static final int NONE = -1;
    protected static final int NW = 0;
    protected static final int SW = 1;
    protected static final int SE = 2;
    protected static final int NE = 3;
         Shape(){
              color = Color.darkGray;
         public Color getColor(){
         return color;
         public Object clone(){
              try{
              Shape copy = (Shape)super.clone();
              copy.setBounds(bounds);
              return copy;
              catch(CloneNotSupportedException c){
                   return null;
         public void setColor(Color newColor){
         color = newColor;
         canvas.repaint();
         /** The "primitive" for all resizing/moving/creating operations that
         * affect the rect bounding box. The current implementation just resets
         * the bounds variable and triggers a re-draw of the union of the old &
         * new rectangles. This will redraw the shape in new size and place and
         * also "erase" if bounds are now smaller than before.
         protected void setBounds(Rectangle newBounds){
              Rectangle oldBounds = bounds;
              bounds = newBounds;
              updateCanvas(oldBounds.union(bounds));
         /** The resize operation is called when first creating a rect, as well as
         * when later resizing by dragging one of its knobs. The two parameters
         * are the points that define the new bounding box. The anchor point
         * is the location of the mouse-down event during a creation operation
         * or the opposite corner of the knob being dragged during a resize
         * operation. The end is the current location of the mouse.
         public void resize(Point anchor, Point end){
              Rectangle newRect = new Rectangle(anchor);
              // creates smallest rectange which
              // includes both anchor & end
              newRect.add(end);
              // reset bounds & redraw affected areas
              setBounds(newRect);
              canvas.repaint();
         /** The translate operation is called when moving a shape by dragging in
         * the canvas. The two parameters are the delta-x and delta-y to move
         * by. Note that either or both can be negative. Create a new rectangle
         * from our bounds and translate and then go through the setBounds()
         * primitive to change it.
         public void translate(int dx, int dy){
              Rectangle newRect = new Rectangle(bounds);
              newRect.translate(dx, dy);
              setBounds(newRect);
              canvas.repaint();
         /** Used to change the selected state of the shape which will require
         * updating the affected area of the canvas to add/remove knobs.
         public void setSelected(boolean newState){
              isSelected = newState;
              // need to erase/add knobs
              // including extent of extended bounds
              updateCanvas(bounds, true);
              canvas.repaint();
         /** The updateCanvas() methods are used when the state has changed
         * in such a way that it needs to be refreshed in the canvas to properly
         * reflect the new settings. The shape should take responsibility for
         * messaging the canvas to properly update itself. The appropriate AWT/JFC
         * way to re-draw a component is to send it the repaint() method with the
         * rectangle that needs refreshing. This will cause an update() event to
         * be sent to the component which in turn will call paint(), where the
         * real drawing implementation goes. See the paint() method in
         * DrawingCanvas to see how it is implemented.
         protected void updateCanvas(Rectangle areaOfChange, boolean enlargeForKnobs){
                   System.out.println("canvas2 updated");
              Rectangle toRedraw = new Rectangle(areaOfChange);
              if (enlargeForKnobs)
              toRedraw.grow(KNOB_SIZE/2, KNOB_SIZE/2);
              canvas.repaint(toRedraw);
         protected void updateCanvas(Rectangle areaOfChange){
                   System.out.println("canvas updated");
              updateCanvas(areaOfChange, isSelected);
              public Rectangle getBounds(){
                   return bounds;
         /** When the DrawingCanvas needs to determine which shape is under
         * the mouse, it asks the shape to determine if a point is "inside".
         * This method should returns true if the given point is inside the
         * region for this shape. For a rectangle, any point within the
         * bounding box is inside the shape.
         public boolean inside(Point pt){
              return bounds.contains(pt);
         /** When needed, we create the array of knob rectangles on demand. This
         * does mean we create and discard the array and rectangles repeatedly.
         * These are small objects, so perhaps it is not a big deal, but
         * a valid alternative would be to store the array of knobs as an
         * instance variable of the Shape and and update the knobs as the bounds
         * change. This means a little more memory overhead for each Shape
         * (since it is always storing the knobs, even when not being used) and
         * having that redundant data opens up the possibility of bugs from
         * getting out of synch (bounds move but knobs didn't, etc.) but you may
         * find that a more appealing way to go. Either way is fine with us.
         * Note this method provides a nice unified place for one override from
         * a shape subclass to substitute fewer or different knobs.
         protected Rectangle[] getKnobRects(){
                   System.out.println("knobs gotten");
              Rectangle[] knobs = new Rectangle[4];
              knobs[NW] = new Rectangle(bounds.x - KNOB_SIZE/2,
                             bounds.y - KNOB_SIZE/2, KNOB_SIZE, KNOB_SIZE);
              knobs[SW] = new Rectangle(bounds.x - KNOB_SIZE/2,
                             bounds.y + bounds.height - KNOB_SIZE/2,
                             KNOB_SIZE, KNOB_SIZE);
              knobs[SE] = new Rectangle(bounds.x + bounds.width - KNOB_SIZE/2,
                             bounds.y + bounds.height - KNOB_SIZE/2,
                             KNOB_SIZE, KNOB_SIZE);
              knobs[NE] = new Rectangle(bounds.x + bounds.width - KNOB_SIZE/2,
                             bounds.y - KNOB_SIZE/2,
                             KNOB_SIZE, KNOB_SIZE);
              return knobs;
         /** Helper method to determine if a point is within one of the resize
         * corner knobs. If not selected, we have no resize knobs, so it can't
         * have been a click on one. Otherwise, we calculate the knob rects and
         * then check whether the point falls in one of them. The return value
         * is one of NW, NE, SW, SE constants depending on which knob is found,
         * or NONE if the click doesn't fall within any knob.
         protected int getKnobContainingPoint(Point pt){
                   System.out.println("resize knobs");
              // if we aren't selected, the knobs
              // aren't showing and thus there are no knobs to check
              if (!isSelected) return NONE;
              Rectangle[] knobs = getKnobRects();
              for (int i = 0; i < knobs.length; i++)
              if (knobs[i].contains(pt))
                   return i;
              return NONE;
         /** Method used by DrawingCanvas to determine if a mouse click is starting
         * a resize event. In order for it to be a resize, the click must have
         * been within one of the knob rects (checked by the helper method
         * getKnobContainingPoint) and if so, we return the "anchor" ie the knob
         * opposite this corner that will remain fixed as the user drags the
         * resizing knob of the other corner around. During the drag actions of a
         * resize, that fixed anchor point and the current mouse point will be
         * passed to the resize method, which will reset the bounds in response
         * to the movement. If the mouseLocation wasn't a click in a knob and
         * thus not the beginning of a resize event, null is returned.
    public Point getAnchorForResize(Point mouseLocation){
              System.out.println("is it a resize?");
    int whichKnob = getKnobContainingPoint(mouseLocation);
    if (whichKnob == NONE) // no resize knob is at this location
    return null;
    Rectangle[] knobs = getKnobRects();
    whichKnob = Math.abs(whichKnob - (int)(knobs.length / 2));
    return (new Point(knobs[whichKnob].x + knobs[whichKnob].width /2,
    knobs[whichKnob].y + knobs[whichKnob].height/2));
    public abstract void draw(Graphics g, Rectangle regionToDraw);

    line left at the end. How can I correct this?java.awt.Polygon (or Polygon2D)
    Here are a few of my thoughts
    #1 There is a Shape interface in core java already, as well as plenty of very useful shapes (Rectangle, Ellipse2D, Area). Shape has some really nice features like contains(...) and intersects(...). By creating a separate class for your Shape objects, you ensure that the two will be incompatible.
    #2 As tempting as it is, it is a bad idea to include a Color with a shape. What if you want it to have more than one Color? What if you want the insides of the shape to be filled by an Image? I just created and posted a class on the java forums called Renderable, which combines a java.awt.Shape with a java.awt.Paint.
    #3 Below is my PaintArea class. It "scribbles" on an Image. Maybe this will give you some ideas. To compile it, you will either have to find my MathUtils class (which I've posted here before) or reimplement the distance and angle methods. There is also a reference to WIndowUtilities... find that or remove it and put the PaintArea in a Frame and do setVisible(true)
    You are welcome to use and modify this code, but please don't change the package and please make sure that you add attribution if you submit this in an academic setting.
    * Created on Jun 15, 2005 by @author Tom Jacobs
    package tjacobs.ui.ex;
    import java.awt.image.BufferedImage;
    import java.awt.*;
    import java.awt.event.*;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import javax.swing.ImageIcon;
    import javax.swing.JComboBox;
    import javax.swing.JComponent;
    import javax.swing.JPanel;
    import javax.swing.JToolBar;
    import tjacobs.MathUtils;
    import tjacobs.ui.util.WindowUtilities;
    * PaintArea is a component that you can draw in similar to but
    * much simpler than the windows paint program.
    public class PaintArea extends JComponent {
         private static final long serialVersionUID = 0;
         BufferedImage mImg; //= new BufferedImage();
         int mBrushSize = 1;
         private boolean mSizeChanged = false;
         private Color mColor1, mColor2;
         static class PaintIcon extends ImageIcon {
              public static final long serialVersionUID = 0;
              int mSize;
              public PaintIcon(Image im, int size) {
                   super(im);
                   mSize = size;
         public PaintArea() {
              super();
              setCursor(Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
              addComponentListener(new CListener());
              MListener ml = new MListener();
              addMouseListener(ml);
              addMouseMotionListener(ml);
              setBackground(Color.WHITE);
              setForeground(Color.BLACK);
         public void paintComponent(Graphics g) {
              if (mSizeChanged) {
                   handleResize();
              //g.drawImage(mImg, mImg.getWidth(), mImg.getHeight(), null);
              g.drawImage(mImg, 0, 0, null);
              //super.paintComponent(g);
              //System.out.println("Image = " + mImg);
              //System.out.println("Size: " + mImg.getWidth() + "," + mImg.getHeight());
         public void setBackground(Color c) {
              super.setBackground(c);
              if (mImg != null) {
                   Graphics g = mImg.getGraphics();
                   g.setColor(c);
                   g.fillRect(0, 0, mImg.getWidth(), mImg.getHeight());
                   g.dispose();
         public void setColor1(Color c) {
              mColor1 = c;
         public void setColor2(Color c) {
              mColor2 = c;
         public Color getColor1() {
              return mColor1;
         public Color getColor2() {
              return mColor2;
         class ToolBar extends JToolBar {
              private static final long serialVersionUID = 1L;
              ToolBar() {
                   final ColorButton fore = new ColorButton();
                   fore.setToolTipText("Foreground Color");
                   final ColorButton back = new ColorButton();
                   back.setToolTipText("Background Color");
                   JComboBox brushSize = new JComboBox();
                   //super.createImage(1, 1).;
                   FontMetrics fm = new FontMetrics(getFont()) {
                        private static final long serialVersionUID = 1L;};
                   //int ht = fm.getHeight();
                   int useheight = fm.getHeight() % 2 == 0 ? fm.getHeight() + 1 : fm.getHeight();
                   final BufferedImage im1 = new BufferedImage(useheight, useheight, BufferedImage.TYPE_INT_RGB);
                   Graphics g = im1.getGraphics();
                   g.setColor(Color.WHITE);
                   g.fillRect(0, 0, useheight, useheight);
                   g.setColor(Color.BLACK);
                   g.fillOval(useheight / 2, useheight / 2, 1, 1);
                   g.dispose();
                   //im1.setRGB(useheight / 2 + 1, useheight / 2 + 1, 0xFFFFFF);
                   final BufferedImage im2 = new BufferedImage(useheight, useheight, BufferedImage.TYPE_INT_RGB);
                   g = im2.getGraphics();
                   g.setColor(Color.WHITE);
                   g.fillRect(0, 0, useheight, useheight);
                   g.setColor(Color.BLACK);
                   g.fillOval(useheight / 2 - 1, useheight / 2 - 1, 3, 3);
                   g.dispose();
    //               im2.setRGB(useheight / 2 - 1, useheight / 2 - 1, 3, 3, new int[] {     0, 0xFFFFFF, 0,
    //                                                            0xFFFFFF, 0xFFFFFFF, 0xFFFFFF,
    //                                                            0, 0xFFFFFF, 0}, 0, 1);
                   final BufferedImage im3 = new BufferedImage(useheight, useheight, BufferedImage.TYPE_INT_RGB);
                   g = im3.getGraphics();
                   g.setColor(Color.WHITE);
                   g.fillRect(0, 0, useheight, useheight);
                   g.setColor(Color.BLACK);
                   g.fillOval(useheight / 2 - 2, useheight / 2 - 2, 5, 5);
                   g.dispose();
    //               im3.setRGB(useheight / 2 - 2, useheight / 2 - 2, 5, 5, new int[] {     0, 0, 0xFFFFFF, 0, 0, 
    //                                                            0, 0xFFFFFF, 0xFFFFFFF, 0xFFFFFF, 0,
    //                                                            0xFFFFFF, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF,
    //                                                            0, 0xFFFFFF, 0xFFFFFFF, 0xFFFFFF, 0,
    //                                                            0, 0, 0xFFFFFF, 0, 0}, 0, 1);
                   //JLabel l1 = new JLabel("1 pt", new ImageIcon(im1), JLabel.LEFT);
                   //JLabel l2 = new JLabel("3 pt", new ImageIcon(im2), JLabel.LEFT);
                   //JLabel l3 = new JLabel("5 pt", new ImageIcon(im3), JLabel.LEFT);
                   brushSize.addItem(new PaintIcon(im1, 1));
                   brushSize.addItem(new PaintIcon(im2, 3));
                   brushSize.addItem(new PaintIcon(im3, 5));
                   //brushSize.addItem("Other");
                   add(fore);
                   add(back);
                   add(brushSize);
                   PropertyChangeListener pl = new PropertyChangeListener() {
                        public void propertyChange(PropertyChangeEvent ev) {
                             Object src = ev.getSource();
                             if (src != fore && src != back) {
                                  return;
                             Color c = (Color) ev.getNewValue();
                             if (ev.getSource() == fore) {
                                  mColor1 = c;
                             else {
                                  mColor2 = c;
                   fore.addPropertyChangeListener("Color", pl);
                   back.addPropertyChangeListener("Color", pl);
                   fore.changeColor(Color.BLACK);
                   back.changeColor(Color.WHITE);
                   brushSize.addItemListener(new ItemListener() {
                        public void itemStateChanged(ItemEvent ev) {
                             System.out.println("ItemEvent");
                             if (ev.getID() == ItemEvent.DESELECTED) {
                                  return;
                             System.out.println("Selected");
                             Object o = ev.getItem();
                             mBrushSize = ((PaintIcon) o).mSize;
                   //Graphics g = im1.getGraphics();
                   //g.fillOval(0, 0, 1, 1);
                   //BufferedImage im1 = new BufferedImage();
                   //BufferedImage im1 = new BufferedImage();
         protected class MListener extends MouseAdapter implements MouseMotionListener {
              Point mLastPoint;
              public void mouseDragged(MouseEvent me) {
                   Graphics g = mImg.getGraphics();
                   if ((me.getModifiers() & InputEvent.BUTTON1_MASK) != 0) {
                        g.setColor(mColor1);
                   } else {
                        g.setColor(mColor2);
                   Point p = me.getPoint();
                   if (mLastPoint == null) {
                        g.fillOval(p.x - mBrushSize / 2, p.y - mBrushSize / 2, mBrushSize, mBrushSize);
                        //g.drawLine(p.x, p.y, p.x, p.y);
                   else {
                        g.drawLine(mLastPoint.x, mLastPoint.y, p.x, p.y);
                        //g.fillOval(p.x - mBrushSize / 2, p.y - mBrushSize / 2, mBrushSize, mBrushSize);
                        double angle = MathUtils.angle(mLastPoint, p);
                        if (angle < 0) {
                             angle += 2 * Math.PI;
                        @SuppressWarnings("unused")
                        double distance = MathUtils.distance(mLastPoint, p) * 1.5;
                        if (angle < Math.PI / 4 || angle > 7 * Math.PI / 4 || Math.abs(Math.PI - angle) < Math.PI / 4) {
                             for (int i = 0; i < mBrushSize / 2; i ++) {
                                  g.drawLine(mLastPoint.x, mLastPoint.y + i, p.x, p.y + i);
                                  g.drawLine(mLastPoint.x, mLastPoint.y - i, p.x, p.y - i);
    //                              System.out.println("y");
    //                              System.out.println("angle = " + angle / Math.PI * 180);
                        else {
                             for (int i = 0; i < mBrushSize / 2; i ++) {
                                  g.drawLine(mLastPoint.x + i, mLastPoint.y, p.x + i, p.y);
                                  g.drawLine(mLastPoint.x  - i, mLastPoint.y, p.x - i, p.y);
    //                              System.out.println("x");
    //                    System.out.println("new = " + PaintUtils.printPoint(p));
    //                    System.out.println("last = " + PaintUtils.printPoint(mLastPoint));
                        //System.out.println("distance = " + distance);
                        //Graphics2D g2 = (Graphics2D) g;
                        //g2.translate(mLastPoint.x + mBrushSize / 2, mLastPoint.y);
                        //g2.rotate(angle);
                        //g2.fillRect(0, 0, (int) Math.ceil(distance), mBrushSize);
                        //g2.rotate(-angle);
                        //g2.translate(-mLastPoint.x + mBrushSize / 2, -mLastPoint.y);
    //                    g.setColor(Color.RED);
    //                    g.drawRect(p.x, p.y, 1, 1);
                   mLastPoint = p;
                   g.dispose();
                   repaint();
              public void mouseMoved(MouseEvent me) {}
              public void mouseReleased(MouseEvent me) {
                   mLastPoint = null;
         private void handleResize() {
              Dimension size = getSize();
              mSizeChanged = false;
              if (mImg == null) {
                   mImg = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_RGB);
                   Graphics g = mImg.getGraphics();
                   g.setColor(getBackground());
                   g.fillRect(0, 0, mImg.getWidth(), mImg.getHeight());
                   g.dispose();
              else {
                   int newWidth = Math.max(mImg.getWidth(),getWidth());
                   int newHeight = Math.max(mImg.getHeight(),getHeight());
                   if (newHeight == mImg.getHeight() && newWidth == mImg.getWidth()) {
                        return;
                   BufferedImage bi2 = new BufferedImage(newWidth, newHeight, BufferedImage.TYPE_INT_RGB);
                   Graphics g = bi2.getGraphics();
                   g.setColor(getBackground());
                   g.fillRect(0, 0, bi2.getWidth(), bi2.getHeight());
                   g.drawImage(mImg, mImg.getWidth(), mImg.getHeight(), null);
                   g.dispose();
                   mImg = bi2;
         public JToolBar getToolBar() {
              if (mToolBar == null) {
                   mToolBar = new ToolBar();
              return mToolBar;
         private ToolBar mToolBar;
         public static void main (String args[]) {
              PaintArea pa = new PaintArea();
              JPanel parent = new JPanel();
              parent.setLayout(new BorderLayout());
              parent.add(pa, BorderLayout.CENTER);
              pa.setPreferredSize(new Dimension(150, 150));
              parent.add(pa.getToolBar(), BorderLayout.NORTH);
              WindowUtilities.visualize(parent);
         protected class CListener extends ComponentAdapter {
              public void componentResized(ComponentEvent ce) {
                   mSizeChanged = true;
    }

  • How can I add to an existing path using the pencil tool?

    This probably seems like a rather elementary question, but
    whenever I draw a path using the pencil tool, reselect it,
    hover over the endpoint, and the click and drag to extend
    the line off into a different direction, Illustrator will often
    (but not always) erase the existing path and leave only the
    new one that I drew.
    To wit:
    In step 1 above, I draw a line with the Pencil tool.
    In step 2 above, I reselect the line from step 1, hover over the endpoint, and then continue to draw further.
    However, as can be seen in step 3, the line from step 1 disappears after I draw the new path.
    I am aware of the pencil setting, "Edit selected paths", and I have checked it to edit selected paths
    within 12 pixels for the above example. What I am doing in the above example, and what I
    want to do, is to be able to add more paths onto an existing one using the pencil tool,
    rather than have a completely new path being drawn every time I lift up my pen to finish
    drawing the previous path.
    I also realize that I can do this with the pen tool; but the pen tool is a more
    precise tool (and somewhat more cumbersome), and I prefer to have more
    of the rough-handed look from time to time.
    Finally, I also know that I can use the direct selection tool to select endpoints
    from two different paths and then join them using the join command;
    but this seems to be more trouble than it's worth in many cases, especially
    if I want to do it frequently for a more long and complicated line.
    Am I expecting too much out of Illustrator?
    Is my idea of how to use the existing tools wrong in this case?
    Is there some piece of knowledge I'm missing?
    I'm on Illustrator CS5, Mac OS X 10.6.8, using a Wacom Intuos4 tablet.
    However, I have confirmed the above on Illustrator CS4 for Mac as well.
    Any help or comments would be much appreciated.
    Jeff

    Thanks @rcraighead - the Live Paint process seems a bit overkill for simply adding
    a new path onto an existing pencil path, but I did try the first idea you suggested,
    which was tracing a bit over the last part of the existing path and then continuing
    on to extend the path. It's a bit imprecise because the existing path gets slightly
    modified, but it seems to work pretty well all in all. Nice idea indeed - thanks a million.
    I also found that in AI CS5, I can use the selection tool to select all of the paths
    in this case and then join them using the join command. I thought I needed to
    select individual anchor points for this to work, but it actually works really
    well, better than I thought. I seem to recall that previous versions of Illustrator
    were a lot more picky with the Join command, but then again this might just
    have been my lack of understanding.
    I'm curious to know what other solutions to the above problem that other users
    might have, so I will leave this question unanswered for a bit...
    but I will use your initial technique described - it seems to work
    pretty well, in absence of other options Many thanks again for your timely help.
    Jeff

  • How do I change the pencil tool to smooth or ink in CC?

    In most other versions of flash that I'm aware of, you could change the settings on the pencil tool to smooth or ink, rather than straighten, which straightens out all of your lines and puts in fun corners and makes shapes into rectangles for you.
    In CC though, I couldn't find where to change this?
    Can you even do this, and if so, how?

    These options are available in Flash CC as well. If you can't see them at the bottom of your tools panel, they might be getting cut due to a smaller screen size. Try expanding the tools panel to double column or just undock it and check again.
    Let me know if you still can't find them.
    -Nipun

  • Any Way to Change Thickness of Connector Lines for all lines of a Chart?

    Post Author: ScottL
    CA Forum: Charts and Graphs
    Hi All,
    I am trying to change the thickness of a Chart's Connector Lines for all lines of a chart and cannot find a way to accomplish this. I can go into Report Preview and individually change the thickness one at a time, but what if I do not know how many lines I will have (as in a Line Chart) ? I can't find a way to do this through Crystal Reports XI.
    Many thanks in advance!
    Scott

    I think it's even easier to just match frame the "source file"... put your playhead on the clip you want to speed change in your sequence. Then type optioncmdf. Perform the speed change in the Viewer, then simply cut it in... Might help to put it up above the older, use the double arrow selection tool facing right to move the clips past this change later... pull the upper track speed changed clip down over the old, and viola.
    Gotta say though, it's a lot easier to perform the speed change in the Viewer, and edit it all in as you go rather than doing it after you've put the clip in a sequence. (not always possible to determine what the speed change should be maybe, but sure easier.... FCP 7 handles this problem a lot better for sure, and worth the upgrade price if your machine is compatible.
    Jerry

  • Pencil tool customization in Illu. 2014

    Hi,
    I have a problem with creating a stroke using the Pencil tool. I would like to be able to choose the stroke's width profile before I draw the stroke (it worked like that in Illustrator 17.1). For example I want it to be narrower at the beginning and end of the stroke (default Width Profile No 1). Now I can do this only by selecting the line after I have made the stroke and choosing the Variable Width Profile from the drop down list.  When I draw a new line the settings are reset, what makes my work very uncomfortable..I've got 'Fill new pencil strokes' checked. Please let me know if it's just me or this is some kind of an error.
    Thank you

    Try unchecking the New Art Has Basic Appearance in the Appearance panel flyout.

  • Prevent pencil tool from closing paths in illustrator cc

    How do I prevent for the pencil tool from closing my path when I'm drawing. It used to be that you hold the option key to make it close a path. But now it closes the path automatically and it's very annoying because I don't want all the paths to close. For example, if you are drawing a small semi circle, the tool as soon as it feels it's close to the beginning  point it will close it automatically. I'm trying to find and option or a button to press to prevent it from doing this.

    Hey Kris thanks for your reply, but the semi circle example was just to illustrate the problem.  I use the pencil to sketch a lot, so it's not necessarily semi circles but any object, doodle or whatever you are drawing. As soon as you get close to your starting point, illustrator feels the need to close that path. Wether I want to close it or not. I think you just pointed out the big issue here. Now, since it's decided to close a path, I have to add extra steps to get what I want. And if you are drawing many, many similar objects, it becomes impossible to use.
    Ascotto: That is also my point. The Pencil preference panel didn't change much from the previous versions except for the "Option toggles to Smooth Tool", which, by the way, thank you Adobe, for including that. Because as much as I like the new strait line feature, I also like to smooth and edit my selected paths with the option key a lot. So why didn't they include a turn OFF Close Paths option?

  • 17.1 pencil tool: Is old "option/alt" function still available.

    Ok, the pencil tool has changed. That's great, but what if you really liked the the way it worked before? If I just want to "smooth" out a line a little, I used to hold "option" while tracing the line. AI would reduce the number of anchor point, while keeping the relative position of the line. Can I still do that? How?
    Ok, here's the explanation:
    http://helpx.adobe.com/illustrator/using/enhanced-pencil-tool.html
    The "smooth tool" is now a separate tool. Thanks, Adobe! (not really). Why not leave "Alt/Option" for Smooth and access the "Straight line" feature with something else? Is this REALLY what your beta testers asked for? I can't believe it.

    I had stopped using the Pencil & Pen Tools in Illustrator a long time ago. Instead, I use Dynamic Sketch & InkScribe Tool respectively to do the kind of work I am paid for by my clients. Since I started using these tools from Astute, my productivity has gone up leaps and bounds. And I have recovered the little money I paid for these tools within a week of my purchase. And whatever I am now earning is just a bonus.
    These tools are really game changers. It makes vector building far easier, fun and more intuitive than Adobe's own unimaginative & clunky tools.
    I use the Dynamic Sketch tool to create fluid shapes and get a lot of control over how I build them. Since the paths that are drawn are dynamic in nature, I can always select them and dial-in different values for the Smoothness and Accuracy of the path. The fun part is that I can actually use my Wacom Intuos tablet to draw using the various Pressure settings. The paths that I draw could have the Variable Width applied automatically to them as I draw, along with the Pressure settings. This, as you know, is not possible with the Pencil Tool (even now the New Pencil Tool - strange name?!) does not provide.
    The InkScribe Tool is a smart, elegant & permanent replacement for the clunky Pen Tool - why do you need four tools (Pen, Add Anchor Point, Remove Anchor Point, Convert Anchor Point) when you can get all in one elegant tool. Even after so many years, Illustrator's own Pen Tool does not give me the 'Rubberband' functionality. It does not give me the 'Smart Delete' of anchor points with which I can simply delete extra unneeded anchor points without affecting my vector shapes. It does not give me the ability to 'lengthen just one handle' of a Smooth point without affecting the other handle (both its length and its angle). It does not give me the facility to add anchor points only at the 'tangencies' of a path. It does not give me the ability to change from Smooth to Corner (or Cusp) and vice-versa WITHOUT modifying the segments. And so much more.
    Your time, effort and creativity are of essence in this demanding & changing world and one can't afford wasting them, dealing with Illustrator's own silly and short-sighted tools and trying to find one's way in the maze. I would much rather spend that time to create beautiul art in less than a quarter of the time, using competitive offerings.

  • Whenever i use pencil tool after completing the fig. the color change ............

    I am new to adobe flash cs3 . whenever i use pencil tool after completing the fig. the color changes to green .. even though the box indicates black  color ..

    See if you have outline mode selected for that layer, or if you have it set for the file.
    For the layer look at the last icon on the layer, the small square icon.  If it appears as a solid it is not in outline mode, if it appears as an outline of a square, click it to change it to be solid.
    For the file level, in the main toolbar choose View -> Preview Mode -> and make sure Outlines is not selected.

Maybe you are looking for