- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to create a graphics file having a resolution greater than my screen? How about a vector-based line drawing (say wmf or emf) instead of bitmapped?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to create a graphics file having a resolution greater than my screen? How about a vector-based line drawing (say wmf or emf) instead of bitmapped?
Yes. Create eps figures via gnuplot.
Gerry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, but I really need tighter integration with the code. My (limited) understanding of gnuplot is that my Fortran code needs to save the data "somewhere" and then call gnuplot to make the plot--or do I have to do that myself? At any rate, my perusal of the Fortran manual says nothing about gnuplot.
On the other hand, I read in a CVF book that it is very easy to "record" the various graphics calls to an emf file. All that is apparently necessary is to create the file, then call the very same routines that were used to draw on the screen, and Presto! you have an emf file that can be inserted in many Windows applications (Word etc.). This is exactly what I need. Unfortunately, the CVF book described this only in the context of a Win32 application, but not for a QuickWin application or if I am using OpenGl graphics calls.
Does anyone out there know if this emf method works in those cases? And if you have experience with this, how well does it work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to create a graphics file having a resolution greater than my screen? How about a vector-based line drawing (say wmf or emf) instead of bitmapped?
To make a drawing in Win32, you first create a Device Context, which usually defaults to match the current screen resolution. However, a DC can be given arbitrary size, and you can thus create and write to bitmaps on the (virtual, in memory) DC of any extents you need. Here is some chat from the MSDN discussion of the CreateCompatibleDC function:
"A memory DC exists only in memory. When the memory DC is created, its display surface is exactly one monochrome pixel wide and one monochrome pixel high. Before an application can use a memory DC for drawing operations, it must select a bitmap of the correct width and height into the DC. To select a bitmap into a DC, use the CreateCompatibleBitmap function, specifying the height, width, and color organization required"
I would not recommend trying this from within the confines of Quickwin (ie, you need a real Win32 app. for this).

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page