#include "camtypes.h"
#include "camconfig.h"
#include "bitmpinf.h"
#include "camelot.h"
#include "camview.h"
#include "colormgr.h"
#include "devcolor.h"
#include "f16spec.h"
#include "fuzzclip.h"
#include "gbrush.h"
#include "XaDraw.h"
#include "gdrawcon.h"
#include "gradtbl.h"
#include "cstroke.h"
#include "grndprnt.h"
#include "grndrgn.h"
#include "moldpers.h"
#include "osrndrgn.h"
#include "palman.h"
#include "princomp.h"
#include "printctl.h"
#include "qualattr.h"
#include "oilbitmap.h"
#include "fillramp.h"
#include "bubbleid.h"
#include "grndclik.h"
#include <math.h>
#include "offattr.h"
#include "offscrn.h"
#include "clipattr.h"
#include "maskedrr.h"
#include "prdlgctl.h"
#include "camprofile.h"
#include "fillattr2.h"
Go to the source code of this file.
Defines | |
#define | new CAM_DEBUG_NEW |
#define | DIB_PAL_INDICES (2) |
#define | FILL_BITMAP 0 |
#define | REMEMBER_GDRAW 0 |
To tell GDraw whether there is a real FPU in the machine, or whether it is emulated. It uses less FPU and more integer when this is 0, giving better performance on SX machines. Default value to suit hardware.Allows the user to determine whether gdraw is used or not. Default to on.Allows the user to determine the depth of the off-screen bitmap used in GDraw rendering. Defaults to 0 which means 'same as screen'.Allows the user to determine whether 32-bit DIBs are used or not, to control transparency. Will vanish at some point when this can be determined algorithmically. GDrawDepth must be zero for this to work.Allows the user to determine type of transpanrency used.Allows the user to use WinG (if available).Allows the user to stop changing the Windows palette. Defaults to 0 which means will use palette if available. Setting to 1 allows debugging of code as if it was a fixed-palete device (although such devices usually misbehave in the GetSystemPaletteUse call among others so the emulation isn't perfect).Specified which blit method to use, defaults to 0 which is 1 for Win32s, 2 for Windows NT. One day might be able to work out best method by trying out the video driver. Value of 3 is iffy.Makes high-colour bitmaps get plotted directly, instead of being converted into 256 colours first. Is very much slower than conversion. Defaults to 0.Determines which of Gavin's dither algorithms are used when converting high colour bitmaps down to lower colour ones. Defaults to 2 (greyscale corrected), 1=error diffused, 0=ordered dither. | |
#define | RememberMe(name) |
#define | RememberDump() |
#define | DEBUG_BORDER 0 |
#define | TEST16BIT 0 |
Enumerations | |
enum | BlitModeType { BLITMODE_STRETCH, BLITMODE_SETDIBS, BLITMODE_BITBLT, BLITMODE_BADDDB } |
Functions | |
DECLARE_SOURCE ("$Revision: 1699 $") | |
INT32 | PixelsPerMeterAtCurrentViewScale (FIXED16 Scale) |
Variables | |
static RealLogPalette | StandardPalette |
static BYTE | NoTransTable [256] |
static BOOL | ClippedPathIsValid |
enum BlitModeType | BlitMode |
static INT32 | LargeGradTables = 0 |
|
Definition at line 826 of file grndrgn.cpp. |
|
Definition at line 210 of file grndrgn.cpp. |
|
Definition at line 286 of file grndrgn.cpp. |
|
Definition at line 205 of file grndrgn.cpp. |
|
To tell GDraw whether there is a real FPU in the machine, or whether it is emulated. It uses less FPU and more integer when this is 0, giving better performance on SX machines. Default value to suit hardware.Allows the user to determine whether gdraw is used or not. Default to on.Allows the user to determine the depth of the off-screen bitmap used in GDraw rendering. Defaults to 0 which means 'same as screen'.Allows the user to determine whether 32-bit DIBs are used or not, to control transparency. Will vanish at some point when this can be determined algorithmically. GDrawDepth must be zero for this to work.Allows the user to determine type of transpanrency used.Allows the user to use WinG (if available).Allows the user to stop changing the Windows palette. Defaults to 0 which means will use palette if available. Setting to 1 allows debugging of code as if it was a fixed-palete device (although such devices usually misbehave in the GetSystemPaletteUse call among others so the emulation isn't perfect).Specified which blit method to use, defaults to 0 which is 1 for Win32s, 2 for Windows NT. One day might be able to work out best method by trying out the video driver. Value of 3 is iffy.Makes high-colour bitmaps get plotted directly, instead of being converted into 256 colours first. Is very much slower than conversion. Defaults to 0.Determines which of Gavin's dither algorithms are used when converting high colour bitmaps down to lower colour ones. Defaults to 2 (greyscale corrected), 1=error diffused, 0=ordered dither. Preference: WhichDither Section: Debugflags Range: 0-n (not range checked).
Definition at line 449 of file grndrgn.cpp. |
|
Definition at line 495 of file grndrgn.cpp. |
|
Definition at line 494 of file grndrgn.cpp. |
|
|
|
Definition at line 274 of file grndrgn.cpp. 00275 { 00276 BLITMODE_STRETCH, 00277 BLITMODE_SETDIBS, 00278 BLITMODE_BITBLT, 00279 BLITMODE_BADDDB 00280 } BlitMode;
|
|
|
|
Definition at line 2809 of file grndrgn.cpp. 02810 { 02811 double PixPerMetre = PIXELS_PER_INCH * INCHES_PER_METRE; 02812 PixPerMetre *= Scale.MakeDouble(); 02813 02814 return (INT32) (PixPerMetre + 0.5); 02815 }
|
|
|
|
Definition at line 272 of file grndrgn.cpp. |
|
Definition at line 283 of file grndrgn.cpp. |
|
Definition at line 270 of file grndrgn.cpp. |
|
Initial value: { 0x300, 256 } Definition at line 264 of file grndrgn.cpp. |