Cut objects that overleap the canvas?

Post questions on how to use or achieve an effect in Inkscape.
MillionsterNutzer
Posts: 4
Joined: Thu Dec 12, 2013 1:21 am

Cut objects that overleap the canvas?

Postby MillionsterNutzer » Thu Dec 12, 2013 1:42 am

Hi!

I wonder if there is an easy way to cut/crop stuff that sticks outside the canvas. For example I created a user icon which I then wanted to use to create a group icon which consists of three users (See attached screenshot).

The group icon itself is basically done and I'd like to reuse it for "Add User", "Edit User", "Delete User" icons. Unfortunately the current user icon has some areas that stick out of the actual canvas. These areas are not shown when I export to PNG, but for further work with the icon I find them quite annoying (for example the borders of the canvas cannot be seen anymore).

Is there a way to crop everything that sticks out of the canvas, in order to make it look nice for further work?

Regards

Ralf
Attachments
Overleaping canvas.png
Overleaping canvas.png (60.02 KiB) Viewed 8786 times

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Cut objects that overleap the canvas?

Postby tylerdurden » Fri Dec 13, 2013 12:39 am

Hello,

Group all objects and draw image-size rectangle... clip group with rectangle.
Attachments
ClipGroup.svg
(4.84 KiB) Downloaded 369 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

MillionsterNutzer
Posts: 4
Joined: Thu Dec 12, 2013 1:21 am

Re: Cut objects that overleap the canvas?

Postby MillionsterNutzer » Fri Dec 13, 2013 6:12 pm

Hi tylerdurden,

I have grouped the existing objects together in one group and then I drew a rectangle that is exactly the size of the canvas...

...but how do I "clip group with rectangle"? Can you point out which menu / which tool is used to do this?

...Nevermind, I just found it myself: Object => Clip => Set

Thanks for the help!!!!

Ralf

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Cut objects that overleap the canvas?

Postby Polygon » Thu Dec 19, 2013 8:57 pm

You don´t need to crop or clip the page content for export BTW. Just export the actual page size and everything beyond will be clipped automatically- if this helps in your case. :)

Cheers
P.


Return to “Help with using Inkscape”