Results 1 to 10 of 10

Thread: How to achieve Uniformity...!!!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to achieve Uniformity...!!!

    Mr Marcel, can i embedd ghostviewer into my application so that the user can view the file with in my apllication window itself. If so please tell me how; if possible with a piece of code.
    It is not simple to do this.
    If you just want to display the PS file, you can make ghostscript give you a flattened version of the document ( an image, pixmap ) and you just paint it in your window.
    If you want to interact with the objects inside the file (texts, vectors), you will have to parse the PS with GhostScript and construct the objects yourself.

    A code snippet will not help you in this case.
    I suggest taking a good look at the GhostView sources. It also displays a rasterized version of the postscript file. Most application are not even concerned with the ghostscript sources. They just take gs32dll.lib and link with it. The API is decently documented on their site.You can use Google to find out more details.

    Regards

  2. The following user says thank you to marcel for this useful post:

    deepusrp (7th May 2007)

Similar Threads

  1. failing to achieve desired size of a BitField structure
    By nass in forum General Programming
    Replies: 8
    Last Post: 13th February 2007, 13:29

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
  •  
Qt is a trademark of The Qt Company.