uFlags
Flags that indicate the distortion type and the distortion color. You can use a bitwise OR (|) to specify one or more flags from each group.
The following flags indicate the distortion type:
Value |
Meaning |
AGING_ADD_NOTHING |
[$0000] Do not add any distortion type. In this case, the bitmap will be changed by random changes in the color intensity. |
AGING_ADD_VSCRATCH |
[$0001] Add vertical scratch lines. |
AGING_ADD_HSCRATCH |
[$0002] Add horizontal scratch lines. |
AGING_ADD_DUST |
[$0004] Add dust. |
AGING_ADD_PITS |
[$0008] Add pits. |
The following flags indicate the distortion color:
Value |
Meaning |
AGING_SCRATCH_INV |
[$0000] Use pixel’s color inverse as scratch line color. If this flag is set, crScratch will be ignored. |
AGING_SCRATCH_CLR |
[$0010] Use the crScratch as scratch line color. |
AGING_DUST_INV |
[$0000] Use pixel’s color inverse as dust color. If this flag is set, crDust will be ignored. |
AGING_DUST_CLR |
[$0020] Use the crDust as dust color. |
AGING_PITS_INV |
[$0000] Use pixel’s color inverse as the color of the pits. If this flag is set, crPits will be ignored. |
AGING_PITS_CLR |
[$0040] Use the crPits as the color of the pits. |