void pxcopy_target_region(
Pint ws_id, /* workstation identifier */ Pint src_target, /* source target number */ Pxregion_src *src_region, /* source region */ Pint dst_target, /* destination target number */ Pxregion_dst *dst_region /* destination region */
)
typedef struct {
Pxregion_type region_type; /* type of region */
PXREGION_VIEW_ID PXREGION_NPC PXREGION_DC
union {
Pint view_id; /* view identifier */
Plimit rect; /* window limit (NPC or DC) */
} region;
} Pxregion_src;
typedef struct {
Pxregion_type region_type; /* type of region */
PXREGION_VIEW_ID PXREGION_NPC PXREGION_DC
union {
Pint view_id; /* view identifier */
Ppoint point; /* lower left point destination (NPC or DC) */
} region;
} Pxregion_dst;
A source region can be defined by giving a view index, or a rectangle in NPC or DC.
If a view index is given, the rectangle used is the viewport limit of the view.
If the destination target is the display target, visual effect is immediate. The display surface is set to the source target.
Set display target, see pxset_display_target
Clear target, see pxclear_target
Swap targets, see pxswap_targets
Save target region, see pxsave_target_region
Restore target region, see pxrestore_target_region