ColorConvertActions Class Documentation
classColorConvertActionsNamespace:datalogics_interface
Detailed Description
Class that defines color conversion actions for an object described by certain attributes.
Referenced by
Constructor & Destructor Documentation
ColorConvertActions
ColorConvertActions()Default constructor for the ColorConvertActions class. Sets default values to the members.
ColorConvertActions
ColorConvertActions(ColorConvertActions &&)Parameters
ColorConvertActions
ColorConvertActions(const ColorConvertActions &other)Parameters
other: const ColorConvertActions &
Copy constructor.
~ColorConvertActions
~ColorConvertActions()Member Function Documentation
get_action
ColorConvertActionTypeget_action()Returns:
ColorConvertActionTypeGets / sets the action, specifying what to do when an object matches this Settings record.
get_colorant_name
std::stringget_colorant_name()Returns:
std::stringFor ink actions (which describe a single colorant, whether used in Separation or DeviceN, and which are not matched using the above matching fields) this describes the colorant of the ink.
get_convert_intent
RenderIntentget_convert_intent()Returns:
RenderIntentGets / sets the intent that overrides the object's original render intent when performing color conversion. UseProfileIntent means that the intent of the object must not be overridden.
get_convert_profile
ColorProfileget_convert_profile()Returns:
ColorProfileGets / sets the target ColorProfile for the conversion. If the output intent is embedded, this should be the output intent profile.
get_convert_profile_path
std::stringget_convert_profile_path()Returns:
std::stringGets / sets the target ColorProfile for the conversion using the profile found at the path provided. If the output intent is embedded, this should be the output intent profile. NOTE: If specifying a path, ConvertProfile must be set to Null_ColorProfile.
get_embed_color_profile
boolget_embed_color_profile()Returns:
boolIf true, embed the target profile. If false, the resulting color is Device, if possible.
get_intent_to_match
RenderIntentget_intent_to_match()Returns:
RenderIntentGets / sets the rendering intent of the object. If this is UseProfileIntent this action applies to any intent.
get_is_ink_action
boolget_is_ink_action()Returns:
boolMarks this Action to be applied to inks.
get_must_match_all_attrs
ColorConvertObjAttrsget_must_match_all_attrs()Returns:
ColorConvertObjAttrsA bit field that gets / sets the attributes an element must match to be color converted. The element must match ALL these attributes to be color converted.
get_must_match_all_cs_attrs
ColorConvertSpaceTypeget_must_match_all_cs_attrs()Returns:
ColorConvertSpaceTypeA bit field that gets / sets the Color Space attributes an object must match to be color converted. The element must match ALL these Color Space attributes to be color converted.
get_must_match_any_attrs
ColorConvertObjAttrsget_must_match_any_attrs()Returns:
ColorConvertObjAttrsA bit field that gets / sets the attributes an element must match to be color converted. The element can match ONE OR MORE of these attributes to be color converted.
get_must_match_any_cs_attrs
ColorConvertSpaceTypeget_must_match_any_cs_attrs()Returns:
ColorConvertSpaceTypeA bit field that gets / sets the Color Space attributes an object must match to be color converted. The element can match ONE OR MORE Color Space attributes to be color converted.
get_preserve_black
boolget_preserve_black()Returns:
boolIf true, perform a black-preserving transform when converting.
get_use_black_point_compensation
boolget_use_black_point_compensation()Returns:
boolIf true, turn on black point compensation for color conversions.
operator=
ColorConvertActions &operator=(ColorConvertActions &&)Parameters
Returns:
ColorConvertActions &operator=
ColorConvertActions &operator=(const ColorConvertActions &other)Parameters
other: const ColorConvertActions &
Returns:
ColorConvertActions &Copy assignment.
set_action
voidset_action(ColorConvertActionTypeaction)Parameters
action: ColorConvertActionTypethe action to apply when an object matches this Settings record.
Returns:
voidset_colorant_name
voidset_colorant_name(const std::string &name)Parameters
name: const std::string &the colorant name (used for ink actions that describe a single colorant).
Returns:
voidset_convert_intent
voidset_convert_intent(RenderIntentintent)Parameters
intent: RenderIntentthe render intent that overrides the object's original render intent during color conversion. UseProfileIntent leaves the original intent in place.
Returns:
voidset_convert_profile
voidset_convert_profile(ColorProfileprofile)Parameters
profile: ColorProfilethe target ColorProfile for the conversion; if the output intent is embedded, this should be the output intent profile.
Returns:
voidset_convert_profile_path
voidset_convert_profile_path(const std::string &path)Parameters
path: const std::string &the path to the target ColorProfile for the conversion. ConvertProfile must be set to Null_ColorProfile when using a path.
Returns:
voidset_embed_color_profile
voidset_embed_color_profile(boolembed)Parameters
embed: booltrue to embed the target profile; false to leave the resulting color as Device when possible.
Returns:
voidset_intent_to_match
voidset_intent_to_match(RenderIntentintent)Parameters
intent: RenderIntentthe rendering intent to match; UseProfileIntent matches any intent.
Returns:
voidset_is_ink_action
voidset_is_ink_action(boolis_ink)Parameters
is_ink: booltrue if this Action applies to inks, false otherwise.
Returns:
voidset_must_match_all_attrs
voidset_must_match_all_attrs(ColorConvertObjAttrsattrs)Parameters
attrs: ColorConvertObjAttrsthe bit field of attributes; an element must match ALL of these to be color converted.
Returns:
voidset_must_match_all_cs_attrs
voidset_must_match_all_cs_attrs(ColorConvertSpaceTypeattrs)Parameters
attrs: ColorConvertSpaceTypethe bit field of color-space attributes; an object must match ALL of these to be color converted.
Returns:
voidset_must_match_any_attrs
voidset_must_match_any_attrs(ColorConvertObjAttrsattrs)Parameters
attrs: ColorConvertObjAttrsthe bit field of attributes; an element matching ANY of these is color converted.
Returns:
voidset_must_match_any_cs_attrs
voidset_must_match_any_cs_attrs(ColorConvertSpaceTypeattrs)Parameters
attrs: ColorConvertSpaceTypethe bit field of color-space attributes; an object matching ANY of these is color converted.
Returns:
voidset_preserve_black
voidset_preserve_black(boolpreserve)Parameters
preserve: booltrue to perform a black-preserving transform when converting, false otherwise.
Returns:
voidset_use_black_point_compensation
voidset_use_black_point_compensation(booluse)Parameters
use: booltrue to enable black point compensation for color conversions, false otherwise.
Returns:
void