 |
PK_TRANSF_transform_o_t |
|
struct PK_TRANSF_transform_o_s
{
int o_t_version; --- version number of option structure
PK_TRANSF_operation_t operation_1; --- operation to apply to 'transf_1'
--- before combining
--- (PK_TRANSF_operation_none_c)
PK_TRANSF_operation_t operation_2; --- operation to apply to 'transf_2'
--- before combining
--- (PK_TRANSF_operation_none_c)
PK_LOGICAL_t modify; --- whether to modify 'transf_1'
--- (PK_LOGICAL_false)
};
typedef struct PK_TRANSF_transform_o_s PK_TRANSF_transform_o_t;
This structure holds optional controls for transforming a transform.
Specific Errors:
PK_ERROR_wrong_transf (MILD) 'operation_1' or 'operation_2' is set
to PK_TRANSF_operation_invert_c, and
the corresponding 'transf_1' or
'transf_2' has a perspective
component
Used in:
PK_TRANSF_transform_2
The option structure has the following fields :
'operation_1' What operation to apply to 'transf_1' before combining the
transformations.
(PK_TRANSF_operation_none_c)
'operation_2' What operation to apply to 'transf_2' before combining the
transformations.
(PK_TRANSF_operation_none_c)
'modify' If set to PK_LOGICAL_false, a new transform will be returned,
and the input transforms unmodified. If set to
PK_LOGICAL_true, the received 'transf_1' will be modified.
Note that 'transf_2' will not be modified, regardless of the
value of 'operation_2'.
(PK_LOGICAL_false)