Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jun 2007
    Location
    New York
    Posts
    111

    Default Problem with ClipView and lines

    Hi guys.
    I've noticed quite a strange behavior with the ClipView feature.
    I tried to put a blend of color over my graphics with the ClipView (applying a colored rectangle over), and noticed that the shape outlines are for some reason excluded from the clipview.
    It happens even if those outlines are not at the edge of the clipping shape, but also if they're inside (let's say a clipping shape is a group of objects).
    Hovever, if it's an open line object, it works perfectly as a part of a clipping shape.

    Click image for larger version. 

Name:	clipview.jpg 
Views:	124 
Size:	19.5 KB 
ID:	114089

    Does anybody notice this behaviour? Any thoughts how to make outlines count as a part of a clipping shape?
    Thank you guys, I'd appreciate any help!

    Denis.

  2. #2

    Default Re: Problem with ClipView and lines

    Well, not knowing what look/effect you are trying to achieve, is this it?

    Click image for larger version. 

Name:	capture-000167.png 
Views:	95 
Size:	14.7 KB 
ID:	114090

  3. #3
    Join Date
    Jun 2007
    Location
    New York
    Posts
    111

    Default Re: Problem with ClipView and lines

    Sorry, I was not clear enough.
    I'm actually trying to achieve the opposite - so the square would be totally undisturbed by any lines.
    To me, the lines seem to be logically a part of clipping shape, and it's strange that they're excluded.

  4. #4

    Default Re: Problem with ClipView and lines

    I agree that the square object shouldn't be affected and it is.

    As an attempt to find a work-around, I find that if I group the circles and the line, draw a rectangle large enough to incorporate the two circles, then place the yellow square on top, select all, clipview then leaves the square/line interaction alone.

    Mike

  5. #5
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,326

    Default Re: Problem with ClipView and lines

    do you mean like this ?:

    Click image for larger version. 

Name:	clipview exampl.jpg 
Views:	102 
Size:	10.3 KB 
ID:	114091

    the outline of a shape is not part of the shape; only the shape part of an object clips

    one possible work around here:

    clipview exampl.xar
    -------------------------------
    Nothing lasts forever...

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,929

    Default Re: Problem with ClipView and lines

    The clipping shape needs to below the shapes to be clipped.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  7. #7

    Default Re: Problem with ClipView and lines

    Egg, HD,

    There is the problem that the OP describes. There is only one way for the line not to affect the yellow rectangle and be part of the clip view group.

  8. #8
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,326

    Default Re: Problem with ClipView and lines

    mike I read the problem as this:

    and noticed that the shape outlines are for some reason excluded from the clipview
    an object's outlines are not part of it's shape - from memory the same applies to contours and bevels - edit checked this and it turns out bevels and contours do clip

    as for the line - it is clipping the rectangle - you won't see this when the line is totally within the shape of another object in the group, because the resolution of both objects clipping does not result in a visual change; but you can see it if you slide the line so it is part within and part without the shape:

    Click image for larger version. 

Name:	line clip.jpg 
Views:	102 
Size:	42.3 KB 
ID:	114106
    Last edited by handrawn; 03 September 2016 at 10:49 AM. Reason: typo
    -------------------------------
    Nothing lasts forever...

  9. #9
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,326

    Default Re: Problem with ClipView and lines

    and a bit more

    there is a 'pecking order' in the group as how the clipping is applied - you can see that in the above post example where the semi-tranparent circle is above the solid circle and so it's clipping can be seen over the outline of the solid one

    same would apply to the line if it were the highest stack in the group the line clipping becomes visible over the outline of the semi-transparent circle, which is still clipping over the outline of the solid circle at the stack bottom:

    Click image for larger version. 

Name:	line stack clip.jpg 
Views:	90 
Size:	19.2 KB 
ID:	114107

    lines clip
    shapes clip
    lines that are closed result in a shape that clips; and beveled and a contoured shapes clip

    but outlines don't, they are part of the object but not the shape - when you think about it since they exist 50% within and 50% without of the shape boundary, they can't be part of the shape itself

    which is not to say they couldn't be programed to clip, but they are not
    Last edited by handrawn; 03 September 2016 at 10:58 AM.
    -------------------------------
    Nothing lasts forever...

  10. #10
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,326

    Default Re: Problem with ClipView and lines

    aand on that basis you don't need to do the full routine I outlined in post #5

    just cloning your outlined shape and converting the clone to shape with 'convert line to shape' and grouping should do it:


    Click image for larger version. 

Name:	clts.jpg 
Views:	268 
Size:	10.6 KB 
ID:	114109

    clts.xar


    [apologies for three posts in a row ]
    -------------------------------
    Nothing lasts forever...

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •