Line disappears with big zoom

Hello.
I need to draw line in my plugin. I create stream from string (for example) "q 0 1 0 RG 0.12 w 0 878.742 m 0 1133.86 l S Q". Then i use AVPageViewDrawCosObj. In common cases everything is OK. But with big zoom (for 100cm x 100 cm page big zoom is 750+, for 600cm x 400cm - 120+) line desappears. Different lines disappears with different zoom, but disappears all lines. What could be the problem?
Thank you.

But it disappears. Maybe there's another reason? Now i have this code:
m_entitiesString = "q 0 1 0 RG 2 w 0 878.742 m 0 1133.86 l S Q";
CosDoc cosDoc = PDDocGetCosDoc(pdDoc);
    ASStm stm = ASMemStmRdOpen((char*)m_entitiesString.c_str(), m_entitiesString.size());
    CosObj newStream = CosNewStream(cosDoc, true, stm, 0, false,
CosNewNull(), CosNewNull(), m_entitiesString.size());
    ASStmClose(stm);
    CosObj streamDict = CosStreamDict(newStream);
    CosDictPut(streamDict, ASAtomFromString("Type"), CosNewName(cosDoc, false, ASAtomFromString("XObject")));
    CosDictPut(streamDict, ASAtomFromString("Subtype"), CosNewName(cosDoc, false, ASAtomFromString("Form")));
    CosObj bbox = CosNewArray(cosDoc, false, 0);
    CosArrayInsert(bbox, 0, CosNewFixed(cosDoc, false, (pContentBBox->left)));
    CosArrayInsert(bbox, 1, CosNewFixed(cosDoc, false, (pContentBBox->bottom)));
    CosArrayInsert(bbox, 2, CosNewFixed(cosDoc, false, (pContentBBox->right)));
    CosArrayInsert(bbox, 3, CosNewFixed(cosDoc, false, (pContentBBox->top)));
    CosDictPut(streamDict, ASAtomFromString("BBox"), bbox);
    AVDevRect devrect;
    AVPageViewRectToDevice(pPageView, pContentBBox, &devrect);
    AVPageViewDrawCosObj(pPageView, newStream, &devrect);
    CosObjDestroy(newStream);
Let me remind that with small zoom everything is ok threfore problem unlikely in small size of line.

Similar Messages

  • IPhone 6 - I can only send photos via iMessage in landscape mode. The address line disappears when I try to send a portrait mode photo.

    iPhone 6 - I can only send photos in landscape mode via iMessage. The address line disappears when I try to send a portrait mode photo. Gone so far as erasing all content and settings. Problem persists.

    Howdy jackbry,
    Welcome to Apple Support Communities.
    If you haven’t already, you can try resolving the issue with not being able to send iMessages that contain portrait photos by restoring your iPhone to factory settings as shown in this article:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    So long,
    -Jason

  • White lines fixed with art optimization - Is it possible to copy with that setting?

    I've seen threads about the white lines you get on the edges of objects due to the anti-aliasing in Illustrator, and I found that when exporting, you can remove them by setting 'art optimized' in one of the options there.
    For those who don't know the white line issue:
    Sometimes, when Illustrator blends the pixels around an object, it puts a thin white line around it that always appears 1 px thick at any zoom level.
    It's not really there, and when printed it vanishes. Trouble is, even when exporting the document, or copying objects into other software for screen use, it's still there.
    A lot of people think the white line is a tiny gap, but it's not.
    People also tend to tell you it's because you have two objects butted up against one another. This is also not true. The white line still occurs even on overlapping shapes.
    People will also say it's when two shapes on top of each other follow the same path. Again, not true. The white lines still show up even when you only have 1 object following a particular path.
    My issue is that I rarely export an entire document at once, but tend to copy elements of it into Photoshop. When I do so, the white lines travel with it, and become permanent. Even on a .jpg, .png, or .gif image file, the lines are still visible.
    What I want to know is, can I copy objects from Illustrator using art optimization?
    Or is there any other way to copy them without taking those white lines with me?
    I know I can get rid of them by turning anti-aliasing off, but then everything looks really pixellated, so it's not much better.
    Plus, anti-aliasing doesn't actually fix the problem, it just hides it. Even with the setting off, when I copy affected objects to Photoshop, the white lines reappear in Photoshop.
    And please don't bother to reply explaining to me what the white lines are, or how to get rid of them, or how to lose them in exporting. I already know all that.
    Notes:
    I'm running Illustrator CS6
    And Photoshop CS6

    Weirdly, yes. That does work.
    The only problem is that I can't then resize it in Photoshop in the same way as a smart object. I'll just have to know what size it needs to be before I rasterize it.
    But for now, it's a solution that's workable. Thanks! ^.^

  • Circles w/o outlines, lines disappear

    I am new to drawing using APsE, so pardon me if this is a stupid question.
    I am having a terrible time drawing a complex segmented circle. The outer circle I got from a file. I then drew 3-pixel black lines dividing the circle into 12 pie-shaped regions.
    Problem 1: I wanted an inner circle that would be transparent fill but have a normal 3-pixel outline. Any circle I draw can have a black or white fill (but not a transparent one), and there doesn't seem to be any way to have the circle edge be black. The menu item Edit/Stroke Outline would seem to be the answer but it is always dimmed.
    Temporary solution: I made the inner circle black-filled, then added another slightly smaller white-filled circle, and moved the latter over the black-filled circle so only the thin black outer edge showed, effectively giving me a circle with a black edge.
    Problem 2: I still needed those 3-pixed lines dividing the inner circle into pie-shaped segments that matched the outer circle. I can draw only 1 pixel-wide lines (wider lines disappear - why is this?), but as soon as I draw a third line the second line disappears. For example, I can draw vertical and horizontal lines, but as soon as I draw a line 30 degrees off-vertical it one of the other lines disappears.
    Temporary solution: None
    I believe I went wrong when I started doing multiple circles. I would have no problem if I could just make an inner circle with the edge showing black but the inside being transparent.
    BTW, I want to then select, in the inner circle, alternating pie shapes and filling them with black. If you see I am going to get into trouble doing that please let me know and offer a solution.
    Thanks. I'm quite good at computers but graphics is like color to a blind person.
    P.S. I am on Windows 7 64-bit SP-1 and Adobe Photoshop Elements 10.0
    EdIsenberg

    Create a new blank image.
    Use the Elliptical Marquee tool to create a large circular selection.
    Use Select...Save Selection to save the selection as "Large Circle".
    Select...Transform selection, and drag one of the corners to make a smaller circle.
    Select...Save Selection to save this as "Small Circle".
    Create a new empty layer.
    Load the large circle selection.
    Stroke the selection with 3px black on the inside.
    Create a new layer.
    Load the small circle selection.
    Stroke it with 3px black on the inside.
    In the Layers Palette, highlight both layers containing stroked circles.
    Choose the Move tool, and in its Options Bar use Align...Vertical Centers, then Align...Horizontal Centers.
    At this point, your image looks like this:
    and your layers look like this:
    Create a new empty layer.
    Use the Line tool and hold down the Shift key to draw a 3px horizontal line filled with black.
    Simplify the line layer.
    Hit Ctrl+J to duplicate the line layer.
    With the Move tool, hold down the Shift key to rotate the copied line 30 degrees.
    Repeat steps 19 and 20 until you have all the line segments drawn.
    At this point your image looks like this:
    and your layers look like this:
    Highlight all the line segment layers, right-click on one of them in the Layers Palette and choose "Merge Layers" to get this layer arrangement:
    On the merged layer, use Select...Load Selection to load the "Large Circle" selection.
    Select...Inverse to invert the selection and hit your Delete key to trim the line segments.
    Deselect All.
    Use Ctrl+Alt+Shif+E (Stamp Visible) to create a new merged layer from all the layers.
    Use the Fill tool on that merged layer to colour to your heart's content.
    The final layers:
    And the final image:
    Added:
    Whooooops!  I see that the line segments aren't centered in the circles.  Add step 24a:
    24a.  Select the layers and use the Move tool's Alignment options to center everything.
    After step 25, you might have to re-align the loaded selection with the image....
    To get the transparency you want in the segments of the inner circle, simply select the segments with the Magic Wand and hit the Delete key, hide all the layers except the top one, then save the image as a PNG:
    Ken
    Message was edited by: photodrawken to add correction.

  • Qosmio F10-121 while startup screen becomes striped with big purples stripes

    Hi !
    I suddenly had a problem with my Qosmio. Perhaps someone could help me.
    When I turn on my computer, the Qosmio logo appears (sound ok) and then, Windows logo. But here comes the problem, my screen becomes striped with big purples stripes. I can't do anything, it's totally unreadable... Windows can't be loaded, the Qosmio bips and reboot.
    When I plug an external screen, it's the same thing.
    I tried to use the restoration DVD, but for the instant, it changes nothing.
    I see 2 issues:
    - A video card problem (but Qosmio logo appears, and restoration DVDs menus are normal
    - A big HDD failure (when I plug the internal Qosmio's dd on my other computer, it's very, very slow, and suddenly, HDD disappears)
    So, if you have advices...
    Thank you very much for your answers, and don't look at the mistakes.
    Eric

    I reply myself to complete informations.
    I can't run the computer in qosmio mode. If my memory is good, I had only to use the tv little grey key when off. If i use the key, the computer shut on, but nothing on screen, caps lock is on.
    Other anormality: I wanted to use Kaella fro linux to see if the video card was ok, but I can't boot on the cd, even pressing C key at startup...
    I think he is dead. But I bought it only 2 years ago...
    Thank's.
    Eric

  • Mesh line artifact movement upon zooming in and zooming out of composition

    I'm having a problem with my puppet tool in my After Effects composition–I'm getting this strange mesh line artifact.  The layers have been imported from an Illustrator file.  The boy has six puppet pin points.  Hand, wrist, elbow, shoulder, neck and head.  The actual animation of the puppet looks great, however, the problem arises with the zooming in and zooming out and panning over.  I'm zooming in and panning over to the boy with a camera layer and null object layer before the puppet animation and then zooming out and panning away from the boy when it is over, and it's as if the mesh outline is following my null object layer during the pan and zoom...  The boy is not on a pre-comp, and I tried to put in pre-comp to see if it made a difference but it does not.  I also tried expanding the mesh but it doesn't work either.  Any suggestions? 

    I'm having a similar problem. I have an illustrator file that I have a position and rotation change (to have the hand fly in), then the puppet tool mesh to have the pointer finger move to dial the numbers on the phone. I have tried non-pre-comped and pre-comped. Both produce the same results. In the first picture you can see that the mesh doesn't change position/rotation with the pre-comp. They seem to stay where I originally placed them. And where the hand flies in and moves over the mesh, that artifact is generated. I have tried expanding the mesh and making the pre-comp layer 3d.
    It's rather frustrating, and I haven't found anybody solving this problem out here on the interwebs.
    ***OK OK. The only way I figured out to fix this was to make the illustrated hand the exact size I need it in Illustrator. Then I just don't make the layer "continuously rasterized".

  • White line disappears when I shrink the image

    Hi,
    I am working in an image that has a drawing with thin white lines over a dark background.
    When I shrink the image, the white lines disappear. I would like to know how to thicken the white lines, so that it doesn't disappear when I shrink it...
    Thank you,
    Robson

    Hi John,
    The image is attached now. I want to make an icon out of it. The image of the icon that I have got so far is attached too. This icon was achieved programatically through C#, so I guess it is messing it, there is even a loss of color.
    So I would like to do everything in Photoshop, to leave it ready to be an small bitmap with 24-bit color and all the white lines...

  • TOC Problem: Leader Lines disappeared after I've changed the font

    Hi,
    I am having a strange problem with Pages (I use the version in iWork 08). I am currently writing on my dissertation. I have used Helvetica while typing because it reads better on the screen. However, after changing the font to Georgia (for the final printout), my TOC got all messed up.
    First, I had beautiful leader lines that looked like this:
    Heading one ................. [page number]
    This was the default option. I did not change a thing. Then, after changing the font and the margins of the document, the leader lines disappeared and I could not get them back, even after setting them manually. Right now the entries look like this:
    Heading one [page number]
    ...which is very ugly.
    Any help is highly appreciated. I do not want to hand in the paper like this. (Also, switching the font back to Helvetica did not bring back the leader lines. This seems to be a strange bug in Pages.)

    Sounds to me as if the tab that the leader lines were attached to have been lost in your changed style, or have popped off the right hand margin. Leaders go with the tab which should be holding the right hand text in place. No tab, no leader.
    I have noticed a bug with tabs in Pages where if you have multiple tabs that should fit within a given space, the last one may not register and falls over to the next line.

  • Line Chart with Multiple Series

    Post Author: JayZee
    CA Forum: Charts and Graphs
    HI
    I am trying to create a line chart with multiple series for trend analysis on CR XI but not having much luck, I thought it would be so simple to do!
    My data is provided summarized on the server and is returned as 12 rows:
    Month       Year1        Year2      Year3      Year4     Year5January      100           80          75           90          120February      85           25           40           25          80etc for the rest of the months
    My problem is that I can only get the chart to accept the values to display as a summary and not just as the data pulled back from the server.  I have read an article on the support site for Crystal 6.0  but it doesn't seem to translate well into XI.
    If necessary I could redesign the table to bring back un-summarized data but that is quite a big job.
    Any help greatly appreciated.
    Jay

    Post Author: Tim Wise
    CA Forum: Charts and Graphs
    In the chart expert, put Month in the 'On change of' box and put each year in the 'Show values' box. This puts the month on the x-axis and plots each year as a line.
    Is that what you want?
    I did this in CR 2008 using your data in an Excel sheet.

  • Music notation lines disappear - PPro CS4 interlace?

    I am editing footage to include music notation added on top of video footage. - ie 5 horizontal lines with music on them. Imported as screen grabs.
    Footage is fine, and the music images are fine.
    As I position them on my window, I start losing the notation lines. Some become grey and indestinct, others get bold.
    I have been moving the vertical position in the 'motion effects and they return - but never all 5 lines, and not as clear as I can see them in the source viewer.
    I have also been creating a 'bevel edge' letterbox round them, and it also makes the lines disappear.
    I assumed it was a interlace issue, and have selected deinterlace on the drop menu for the images, but nothing really changes.
    Any ideas anyone?
    Thanks,
    Don

    Post a screen shot or two?  Maybe that will help give someone an idea.
    I wonder if this is the classic problem of thin horizontal lines and interlacing.  Are the lines with the interlacing exactly horizontal, angled, or curved?
    Another way of ruling this out: what is the pixel thickness of the lines that are showing the problem?

  • Scheduling Gantt: How to work with the "zoom-to-fit" drop-down

    I'm trying to figure out how to work with the "zoom-to-fit" drop-down on the scheduling Gantt dvt control. It has choices in the drop-down that are not appropriate for my project. The documented purpose of this drop-down is to allow the user to zoom to a level that would allow a certain time range to "fit" within the current window. The choices start at "1 Week" and go up through "2 Weeks", "1 Month" etc. The problem is that the projects I'm displaying are generally just a couple of days long, and consist of many small tasks. So even 1 Week is too big. Also, no matter what I pick in this drop down, nothing happens.
    So my questions are these:
    1. Can I change the choices in this drop-down? If so, how do I do that?
    2. If not, then how can I remove this drop-down? (I figure I probably can if I disable "zoom", but I don't want to do that.)
    3. How do I get this to actually do something? I assume maybe I have to code some listener somewhere, but if so, how do I do that.
    Thanks for any hints, tips and advice!

    Currently, we do not allow customization of zoom-to-fit. Please file an ER. We could add a param to featuresOff attribute to disable/remove zoom-to-fit from the toolbar without disabling/removing zoom.

  • While typing in an email, I can not delete or backspace a single letter. When I delete one letter, the whole line disappear.

    While typing in an email, I can not delete or backspace a single letter. When I delete one letter, the whole line disappear. I am using Window 7 and latest Firefox.
    == This happened ==
    Every time Firefox opened
    == Using Firefox on my new machine with Window 7.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Problems with this function (with big strings)

    Dear Gurus,
    I have this problem which when I run it with big input (sql_string) I'm getting :
    12:49:09 PM Execution failed: ORA-06503: PL/SQL: Function returned without value
    12:49:09 PM ORA-06512: at line 20
    Also I would prefer instead of using the INSERT INTO temp_clob_tab, to retrieve directly the XML.
    Please help, Many thanks, Marcelo.
    CREATE OR REPLACE FUNCTION F_SQL_CONVERT_TO_XML (sql_string IN VARCHAR)
    RETURN CLOB
    IS
    -- Program Data
    qryctx DBMS_XMLGEN.ctxhandle;
    RESULT CLOB;
    BEGIN
    qryctx :=
    DBMS_XMLGEN.newcontext
    (sql_string
    -- Set the row header to be EMPLOYEE
    DBMS_XMLGEN.setrowtag (qryctx, 'DEAL');
    -- Get the result
    RESULT := DBMS_XMLGEN.getxml (qryctx);
    INSERT INTO temp_clob_tab
    VALUES (RESULT);
    DBMS_OUTPUT.put_line (RESULT);
    --Close context
    DBMS_XMLGEN.closecontext (qryctx);
    RETURN RESULT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (SQLERRM);
    END;

    Did you supply a valid sql string for »:sql_string«?
    SQL>  var sql_string varchar2(100)
    SQL>  exec :sql_string := 'select * from emp where rownum <= 2'
    PL/SQL procedure successfully completed.
    SQL>  select sys_xmlagg (sys_xmlgen (value (t).extract ('ROW/*'), xmlformat ('DEAL'))) xml
    from table(xmlsequence(dbms_xmlgen.getxmltype (:sql_string).extract('ROWSET/ROW'))) t
    XML                                                                            
    <?xml version="1.0"?>                                                          
    <ROWSET>                                                                       
    <DEAL>                                                                         
      <EMPNO>7369</EMPNO>                                                          
      <ENAME>SMITH</ENAME>                                                         
      <JOB>CLERK</JOB>                                                             
      <MGR>7902</MGR>                                                              
      <HIREDATE>17.12.80</HIREDATE>                                                
      <SAL>800</SAL>                                                               
      <DEPTNO>20</DEPTNO>                                                          
    </DEAL>                                                                        
    <DEAL>                                                                         
      <EMPNO>7499</EMPNO>                                                          
      <ENAME>ALLEN</ENAME>                                                         
      <JOB>SALESMAN</JOB>                                                          
      <MGR>7698</MGR>                                                              
      <HIREDATE>20.02.81</HIREDATE>                                                
      <SAL>1600</SAL>                                                              
      <COMM>300</COMM>                                                             
      <DEPTNO>30</DEPTNO>                                                          
    </DEAL>                                                                        
    </ROWSET>                                                                      
    1 row selected.

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

  • Customer line items with balance carry forward no opening balance

    Hello FI Experts,
    We have ticket where the user is using a Z* Report for Customer line items with balance carry forward. In 31.01.2007 user has posted some legacy data, latter he was executing this Z* report then user can see the values posted on the same day (31.01.2007) as line items. But he was executing the report on 01.02.2007 then he was not able to see the line item as well as the values posted on 31.01.2007 as opening balance as on 01.02.2007. But if we run the report as on 01.01.2008 then we are able to see the values which are carry forwarded as opening balances. Did anyone have worked on this type of scenario?
    Requirement Here Is:  The values that have been posted on 31.03.2007 which are still open line items should get displayed as opening balance as on 01.02.2007.
    Thanks for helping on this issue.

    Hi,
      Any report will get data from Tables. Please check whether the table you have used to develop this report has opening balance.
    Balance will be carry forwarded only when you run the balance carry forward program. Check whether this was run for the date you have specified. This can be done in the year end.
    If you are checking in the middle of the year, then the balance will not be carry forwarded.
    Regards,
    B. Radhika.

Maybe you are looking for