All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pdftron::PDF::DiffOptions Class Reference

#include <DiffOptions.h>

Public Member Functions

 DiffOptions ()
 
 ~DiffOptions ()
 
bool GetAddGroupAnnots ()
 
DiffOptionsSetAddGroupAnnots (bool value)
 
GState::BlendMode GetBlendMode ()
 
DiffOptionsSetBlendMode (GState::BlendMode value)
 
ColorPt GetColorA ()
 
DiffOptionsSetColorA (ColorPt value)
 
ColorPt GetColorB ()
 
DiffOptionsSetColorB (ColorPt value)
 
double GetLuminosityCompression ()
 
DiffOptionsSetLuminosityCompression (double value)
 

Detailed Description

Definition at line 10 of file DiffOptions.h.

Constructor & Destructor Documentation

pdftron::PDF::DiffOptions::DiffOptions ( )
pdftron::PDF::DiffOptions::~DiffOptions ( )

Member Function Documentation

bool pdftron::PDF::DiffOptions::GetAddGroupAnnots ( )

Gets the value AddGroupAnnots from the options object Whether we should add an annot layer indicating the difference regions

Returns
a bool, the current value for AddGroupAnnots.
GState::BlendMode pdftron::PDF::DiffOptions::GetBlendMode ( )

Gets the value BlendMode from the options object How the two colors should be blended.

Returns
a GState::BlendMode, the current value for BlendMode.
ColorPt pdftron::PDF::DiffOptions::GetColorA ( )

Gets the value ColorA from the options object The difference color for the first page.

Returns
a ColorPt, the current value for ColorA.
ColorPt pdftron::PDF::DiffOptions::GetColorB ( )

Gets the value ColorB from the options object The difference color for the second page

Returns
a ColorPt, the current value for ColorB.
double pdftron::PDF::DiffOptions::GetLuminosityCompression ( )

Gets the value LuminosityCompression from the options object. Allows for a more or less binary comparison. High values will cause the visual comparison to behave in a strict difference/no difference fashion, while values closer to one will produce more nuanced diffs. Note: This is a special-purpose API for very specific advanced use cases. Most users can safely ignore it.

Returns
The current value for LuminosityCompression.
DiffOptions& pdftron::PDF::DiffOptions::SetAddGroupAnnots ( bool  value)

Sets the value for AddGroupAnnots in the options object Whether we should add an annot layer indicating the difference regions

Parameters
value,:the new value for AddGroupAnnots
Returns
this object, for call chaining
DiffOptions& pdftron::PDF::DiffOptions::SetBlendMode ( GState::BlendMode  value)

Sets the value for BlendMode in the options object How the two colors should be blended.

Parameters
value,:the new value for BlendMode
Returns
this object, for call chaining
DiffOptions& pdftron::PDF::DiffOptions::SetColorA ( ColorPt  value)

Sets the value for ColorA in the options object The difference color for the first page.

Parameters
value,:the new value for ColorA
Returns
this object, for call chaining
DiffOptions& pdftron::PDF::DiffOptions::SetColorB ( ColorPt  value)

Sets the value for ColorB in the options object The difference color for the second page

Parameters
value,:the new value for ColorB
Returns
this object, for call chaining
DiffOptions& pdftron::PDF::DiffOptions::SetLuminosityCompression ( double  value)

Sets the value for LuminosityCompression in the options object. Allows for a more or less binary comparison. High values will cause the visual comparison to behave in a strict difference/no difference fashion, while values closer to one will produce more nuanced diffs. Note: This is a special-purpose API for very specific advanced use cases. Most users can safely ignore it.

Parameters
valueThe new value for LuminosityCompression.
Returns
This object, for call chaining.

The documentation for this class was generated from the following file: