|
|
|
|
Because of limitations that exist in both DataViews and PicsViews, some special considerations are needed when using DV-Draw to create drawings for use in PicsViews.
PicsViews uses the entry for color table found in the %DVHOME%DVCONFIG.DAT file. DV-Draw uses the same entry once and in a slightly different way. The first time DV-Draw is run, it reads the DVCONFIG.DAT file and then saves a number of the settings it found there into the registry as user preferences. These settings may be changed by using the Edit|Preferences dialog within DV-Draw.
By default, the entry for DVCOLORTABLE is commented out in DVCONFIG.DAT, causing DV-Draw and DataViews to use a default color table. For unknown reasons, the default color table that DV-Draw uses is different than that used by DV-Tools applications (such as PicsViews). DV-Tools applications use the file %DVHOME%DEFAULT.CLUT when no color table is specified. DV-Draw, however, uses a setting of '<default>' which means to use its internally compiled default colors. To ensure that DV-Draw and PicsViews are using the same color set, DV-Draw should be configured to use the same file that PicsViews will be using. There is a 'Browse' button in the dialog to make locating the file easier. Once selected, DV-Draw will retain the setting until it is changed by the user, so this should only need to be done once.
During the design phase, it was determined that a black background with colored objects was going to be standard at FPC. With this in mind, the printing portion of the program was designed to swap black and white before printing, in order to prevent 'black-out' which frequently happens when trying to print a predominantly black image, with fine white or colored lines. PicsViews has a setting to enable/disable the black and white swap (and also an unimplemented [future] option to use a color map).
Two different issues arise in the selection of colors for DataViews objects.
Two (at least) of the object dynamics supported by DataViews allow you to use a color lookup table to alter the object color(s). These color tables are NOT remapped by the PicsViews print engine. Unless you are using black and/or white in these color sets, this is not a problem because PicsViews doesn't map other colors at this time.
DataViews rules are a very power feature that would be nice to support within PicsViews. However, the rules system is capable of performing actions without PicsViews' knowledge, which would eliminate much of the special, PICS-related, functionality of PicsViews (such as mapping objects to PICS data when a view is loaded). Because of this, PicsViews does not support rules at this time. However, you may include rules in a view and use them in the DV-Draw test module if you desire, PicsViews will ignore them.
DV-Draw includes an option to test run your views. At this time, DV-Draw itself is not capable of accessing PICS data. This is a possibility for future enhancement, but that work doesn't fit into the schedule at this time.
|
|
|
|