Shape subtraction for lines on its way?

I've got an application in which various semi-transparent shapes of various types (rectangles, circles, and polygons) are connected to each other by lines. I want the lines to be directed towards the centers of these different shapes, but to stop at the edges. To accomplish that, I tried connecting the centers of shapes with a line, and then using Shape.subtract() in order to subtract the parts of the lines that overlap the shapes. Unfortunately, Shape.subtract() only works on fill-type shapes, and causes stroke-type shapes like lines to disappear entirely.
I've heard that there are plans to make the shape manipulation methods work on stroke shapes in the future (namely, the last time I asked about this here: Using shape subtraction with a line but I'm wondering if there's an actual issue posted for this feature on JIRA. If there is one, could somebody point me to it so I can follow it?
For now, I've settled with a rather hacky solution in which I use a really, really skinny filled polygon that looks like a line (and which has to be recalculated each time a shape is moved), and I do my subtraction from that.

Just for what it's worth:
So I click report so that I can see the details, and the whole thing goes away.
It's probably not all that obvious - I've seen a couple of people confused by this lately - but that "report" button isn't meant to show you a report. It sends a report of the crash and any related details to Apple for their general information. As far as I know, it's not something they'll ever respond to you about, either - it's just for them to compile information about the causes of crashes, so they can work to prevent such crashes in future Mac OS development.
Edit: Ah here's Apple's explanation of that - the "report" bit is at the bottom of the page: http://docs.info.apple.com/article.html?artnum=301084
I notice it does say "Click Report to see more details or send a report to Apple." In my experience, it never does the former...

Similar Messages

  • The display on my 4 year old iMac has horizontal lines and gradations of gray. Is my machine on its way out? Can I fix the screen?

    My four year old iMac has developed horizontal lines and gradations of gray over the last month. Is my machine on its way out? Is there anyway to fix the display?

    If you live near an Apple Store, make a Genius Bar appointment to have the computer tested. Supposedly there is no charge for testing.
    Genius Bar Reservation

  • My iPhone 5 dies at 20-24% it doesn't go all the way to 0%. Will apple replace my phone or fix my phone for free since its hardware problem and I have no money. This is my second iphone 5 replacement.

    My iPhone 5 dies at 20-24% it doesn't go all the way to 0%. Will apple replace my phone or fix my phone for free since its hardware problem and I have no money. This is my second iphone 5 replacement. I have no apple care so I'm worried. My phone has NEVER touched water! I only get 1/5 of battery use. I've also spent 30$ at the apple store on screen protectors for nothing! I really don't have 220$ nor 50$ I am on a strict budget. I believe I have to pay 220 not 50 ford a phone replacement for accidental damage. I don't know what category this falls under. I really need a new phone or battery. HELP! Will I have to pay? Also my screen lighting is all topsy-tervy every I put my screen on highest it won't work I have to wait about a minute? Forgot to mention that my apps exit out by themselves all the time when Im using them.

    So, have you tried a reset?  Restore from backup? Restore as new?  You seem to have a few problems but do not mention any action taken to resolve them.  What have screen protectors to do with anything?

  • I have a MacBook Pro, I recently bought a microsof word for it but its in spanish, since all my work its done in English, it there any way I an adapt a dictionary so it gives me suggestions when i write?

    I have a MacBook Pro, I recently bought a microsof office for it,  but its in spanish, since all my work its done in English, it there any way I an adapt a dictionary so it gives me suggestions when i write?

    Your Mac already has a Spanish and an English Dictionary.
    May be you only need to select them.
    Open Dictionary.app and under preferences select the languages you need.

  • Is there a video generator for lines?

    I'm still drawing circles, squares, and lines to overlay on my videos. Some time ago when I needed to make circles and squares, but didn't know how, someone here (Piero I think) told me about a great plug-in generator called Frames for just that purpose, which I installed in FCE and now use a lot (I forget the author of that wonderful program, but it appears under Video Generators > pf > Frames).
    Well, now I'd like an easier way to draw lines on my videos than creating mattes and cropping them down to a sliver, or creating them in Photoshop on transparent backgrounds and then importing them into FCE as .psd files. Those methods are slow and tedious.
    What I'd really like is a line generator on the order of that great pf plug-in for creating frames, only this one would be for lines. And ideally it would be able to create control points on a generated line so that you could curve and bend the line into various shapes, for example to match the twists and turns of a road on a map, or to make arcs and S-shapes. And it should have arrowheads available to put on the ends for pointing at things: arrows.
    Does anyone know of any such line generator available anywhere for Final Cut Express?
    Tom B.
    Tom B.

    That arrow generator is really nice, Ian, thanks much. That solves one of my problems; I was making arrows in Photoshop and importing them, which was tedious. But now with this generator I can quickly make any size or length arrow easily, right inside FCE. I notice that the size of the arrow after rendering is slightly smaller and thinner than it appears pre-rendered, but once you get used to that, and compensate for it a little in your design, you can make arrows of just the right size needed. Very nice!
    Now if there were only a generator for curved, bent, or squiggly lines, able to be shaped as desired, for example to create a line to match the shape of a road as seen on a map, or an aerial photograph, I'd be all fixed. I don't suppose any such generator exists yet, though, so I'm still stuck with Photoshop for that, for now.
    Tom B.

  • Changing the default view for Line Items in an Auction.

    Hello All,
    We have a version 5 client who is asking for us to change the default view for line items in an auction.
    Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
    Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.

    Hi wood cloud,
    This is not possible, bcz there is no VLV for that drop down and we cant set it  to the price view.
    Thanks,
    Ankur Goyal

  • I have adobe Premiere Elements 13. It will not let me delete audio or have it fade in or out. I can move the yellow line all the way down till the volume reads -0.0, but the sound is still there on playback. I can click on fade in and fade out and the yel

    I have adobe Premiere Elements 13. It will not let me delete audio or have it fade in or out. I can move the yellow line all the way down till the volume reads -0.0, but the sound is still there on playback. I can click on fade in and fade out and the yellow line that graphs volume takes a sharp raise or dip at the beginning or end of the clip, but there is no change in volume when I play back. What am I doing wrong?

    rickeyt
    Thanks for the reply. Great news about the volume adjusts.
    Now about those fades for the volume. How are you doing that?
    1. Right click the Timeline video audio and select Fade and then
    see the Fade options (I had a video with audio file, so I saw the choices as shown in the screenshot)
    2. You can also create two volume keyframes at each end of the Timeline audio clip rubberband (orange line that goes horizontally across the middle of the audio clip). At the position of the Timeline Indicator, click the Add/Remove Keyframe icon, and then with the mouse cursor position the white dots (volume keyframes) to achieve the Fade In and Fade Out audio. In the screenshot below I have moved the Timeline Indicator so that you could better see the white dots (volume keyframes).
    Please let us know if any of the above works for you with regard to the audio fades.
    Thank you.
    ATR

  • I accidentally downloaded a website for coupons and its toolbar keeps popping up? I want to completely get rid of it on my internet. How do I do this?

    I accidentally downloaded a website for coupons and its toolbar keeps popping up at the top of my internet window. I went to the toolbar options and unchecked it but when I get back into the internet it is up again. I want it completely gone so that it doesn't even have a chance to be seen. I don't want it. How do I get rid of it?

    I would start off with Firefox's Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then look for unwanted extensions and try the Remove button.
    If the Remove button is missing, this usually means the extension was installed through the Windows installer. In that case, check for it in the Windows Control Panel, Uninstall a Program. Clicking the "Installed on" column header will bring the most recent additions to the top for easier spotting.
    After you get rid of it, assuming you can remove it in one of those two ways, I suggest "mopping up" with some malware removers. This article lists tools that other Firefox users have found helpful: [[Troubleshoot Firefox issues caused by malware]].
    Any luck?

  • How to print vertical lines for line items?

    hi experts,
                    can any one tell me how to print vertical lines for line items in ascript?
    ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?
    thanks &regards
    narendar

    hi narendar,
    Welcome to SDN.
       u can go for box command.
    Use the box command with zero width for vertical lines.
    Position the line by x position and y postion.
    syntax :
    BOX <xpos> <ypos>
           <width>
          <height>
          <thickness in twips> twips.
    Regards,
    Arun.
    Reward points if useful.

  • How to mention posting keys for line items in IDOCS for fb01 posting

    Hi all ,
    I am using IDOCS for fb01 posting with posting keys 15 and posting keys 40 for line items .The data is in legacy file . I am using IDOC <b>ACC_GL_POSTING_01</b> for posting . Is there any way that I can mention the posting keys in the segment parameters of the IDOC.If there is anyone who have done fb01 posting with IDOCS,please help me with the code .Please treat the question as urgent .
    Thanks in advance

    Hi Arshad,
    There is no fecility to enter Posting keys explicitly.. It is determined automaticall by the Credit/Debit amounts u enter in GL data in the segments E1BPACGL08 and E1BPACCR08 and also it depends on the Customer and Vendor no.
    Sreedhar

  • I want a push button for line items in my sales order entry screen.

    Hi,
    I want a push button for line items in my sales order entry screen.
    How can I do so?
    Thanks.

    Hi Kumar ,
    To have a push buttons you need to first assign a pf-status .
    here a sample code for a push button and its handling :
      set pf-status 'SELECT' .
    at user-command .
      describe table t_lpr lines w_lines .
      case sy-ucomm .
        when 'SELECTALL' .
          set pf-status 'SELECT' excluding 'SELECTALL' immediately.
          do w_lines times .
            read line w_line field value w_check . " INTO W_CHECK .
            if w_check = space .
              w_check = 'X' .
              modify line w_line field value w_check.    "INTO W_CHECK .
              add 1 to w_line .
            endif .                        " IF W_CHECK = ' '
          enddo .
    Thus when you say pf-status say 'select' , Double click on that and you find a screen eher you can select icons and assign a function code to it!
    Hope it helps!
    Much Regards,
    Amuktha .

  • How can i decide candidates for line item dimension?

    1Q): we have many infocubes out of all these infocubes, i have to decide which infocubes are the candidates for lineitem dimension? How to do it? Please tell me the technical specs how to do the analysis to find out the candidates for line item dimension?
    2Q): if i have the small dimension can i combine all these dimension in to one dimension? what is the benefit of doing this? how to find out which dimensions are small?
    <u>Pizzaman i like to hear from you on this topic</u>. Thanks to SDN Community. i appreciate your help. Again Thank you.

    The process of figuring out what you might want to create as a line item dimension can vary a bit, it can depend a lot on your exisitng level of domain expertise (how well do you know the data in question). If you are familiar with the data, I would recommend you just take an initial guess at what you believe could be line item dimensions.  If you are not familiar witht the data, you might want to examine the source more to understand the cardinality of different characteristics and identify any relationships between characteristics. 
    I really encourage people to just go ahead and model it and load some data and review, rather than agonizing over developing the theoretically perfect model on paper before they start. You learn a lot more that way.
    Any of the SAP rules of thumb, are just that, general rules, not a pronouncement from God.  There are always extenuating or unique circumstances that might warrant disregarding the rule, e.g. if the InfoCube will never become very large, maybe some of the concerns just are not worth your effort.
    With every release of the Oracle (and the other DBs too)Oracle keeps getting better at data warehousing and star schemas. Oracle 10i is supposed to have made handling bitmap indices much more efficient, which is on of the  factors influencing the decision to create a line item dimension.      
    There are other threads on SDN on line item dims that provide more technical detail and can help answer you first question
    As far as 2Q - generally, it's better to have several small dimensions than one larger dimension. But having said that, combining a few <b>very small dimensions</b> into another  slightly larger (<i>but still small</i>) dimension is a good idea. It keeps the number of table joins down which will improve query performance. You would do this with characterisitcs that have very few values, e.g. yes/no indicators.
    e.g.
    You have 8 characteristics that all of which have only two values. You put them in one dimension, and the max size of the dimension table is still only 2x2x2x2x2x2x2x2 or 256 rows.  If you had these characteristics in other much larger dimensions, it's not hard to see it causing those dimensions to double, perhaps creating hundreds of thousands of dimension table rows to be created.
    For more - read   <a href="http://www.kimballgroup.com/html/designtipsPDF/DesignTips2003/KimballDT48DeClutter.pdf">Ralph Kimball Design Tip 48 - Junk Dimensions</a>

  • OBBH Substitutuions for line items.

    HI,
    We are trying to assign cost centers for GL accounts using FI susbstitution rules ( OBBH ) in exit routine ZGGBS000 ( RGGBS000 ).
    The BSEG and BKPF ( line item substitution ) values are populated when the routine is triggered however we also need VBAP values too, they remain empty. Is there a way i could get the VBAP values filled too.
    Thanks.

    Ok. Inside the exit we have BSEG and BKPF values populated and looping depending on the line items.
    For Ex : for line item 1 when the control comes in the exit, VBAP values are not populted whereas the BSEG values are populated.
    I needed VBAP values to cross reference the GL account. On certain material divison i needed to populate cost center.
    My problem was addressed using a user-exit.

  • My user has posted invoice in FB01 For Venor but its shows as cleared items

    Dear experts
    My user has posted invoice in FB01 For Vendor but its shows as cleared items in G/L and Vendor line items.
    can you please give your suggestion on same
    Thanks and Regards
    vamsi
    Edited by: asuvamsi on Feb 7, 2010 1:07 PM

    Hi,
    Most possible causes for your issue..
    1) Your GL account might not created with Open Item Management, even that GL account is B/S account.
    2) No vendor invoice will be created as cleared items automatically, may be someone might have cleared that invoice with anohter payment document.
    Please verify correctly.
    Thanks,
    Srinu

  • Can we assign 2 IPs for a SCCM 2012 primary site server and use 1 IP for communicating with its 2 DPs and 2nd one for communicating with its upper hierarchy CAS which is in a different .Domain

    Hi,
    Can we assign 2 IPs for a SCCM 2012 primary site server and use 1 Ip for communicating with its 2 DPs and 2nd one for communicating with its upper hierarchy CAS . ?
    Scenario: We are building 1 SCCM 2012 primary site and 2 DPs in one domain . In future this will attach to a CAS server which is in different domain. Can we assign  2 IPs in Primary site server , one IP will use to communicate with its 2 DPs and second
    IP for communicating with the CAS server which is in a different domain.? 
    Details: 
    1)Server : Windows 2012 R2 Std , VM environment .2) SCCM : SCCM 2012 R2 .3)SQL: SQL 2012 Std
    Thanks
    Rajesh Vasudevan

    First, it's not possible. You cannot attach a primary site to an existing CAS.
    Primary sites in 2012 are *not* the same as primary sites in 2007 and a CAS is 2012 is completely different from a central primary site in 2007.
    CASes cannot manage clients. Also, primary sites are *not* used for delegation in 2012. As Torsten points out, multiple primary sites are used for scale-out (in terms of client count) only. Placing primary sites for different organizational units provides
    no functional differences but does add complexity, latency, and additional failure points.
    Thus, as the others have pointed out, your premise for doing this is completely incorrect. What are your actual business goals?
    As for the IP Addressing, that depends upon your networking infrastructure. There is no way to configure ConfigMgr to use different interfaces for different types of traffic. You could potentially manipulate the routing tables in Windows but that's asking
    for trouble IMO.
    Jason | http://blog.configmgrftw.com | @jasonsandys

Maybe you are looking for