1

I would like to draw a light ray which makes an angle with the horizontal axis in Inkscape. Using the freehand drawing, I drew the line horizontally first (placing a node in the middle for the arrow) and then rotated the whole thing to the desired angle. However, I failed to rotate the marker arrow correctly (as seen in the figure below). I want it to have the same orientation as the line itself. How can I do that?

As a note: I'm sure that the line and the arrow are grouped together.

enter image description here

  • 1
    Hi. Welcome to GDSE. I can't replicate the problem. If I draw a horizontal line, with a middle anchor point, then apply an arrow head, and then rotate the line, it works as expected. See example here – Billy Kerr Feb 23 at 12:29
  • Thanks for the example. After watching your video I opened a new file and tried the same thing and it worked. I realized that I was using a duplicate of an already-drawn horizontal ray for simplicity and obtained my angled-rays in the picture by rotating it. I don't know why that doesn't work but this seems to be the reason. Thanks for your help. – sahin Feb 23 at 13:39
  • 1
    Copying or duplicating the line doesn't make any difference when I try it. See example here. – Billy Kerr Feb 23 at 14:18
  • 1
  • 1
    I can only reproduce a similar problem when I group the line first, then try to skew it, although it's hardly a problem, since it's what would be expected when skewing a group. – Billy Kerr Feb 24 at 12:16
1

Draw a separate triangle or arrowhead on a plain line, make a group, rotate to the wanted direction. If needed, you can allways ungroup and even without ungrouping you can select the parts separately in the layers panel for ex. to stretch the line.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.