UF_DRF_image_data_s (view source)
 
Defined in: uf_drf_types.h
 
Also known as:
 
Overview
The following structure is used to create, edit and query images on drawing
sheets.

Environment
Internal and External

See Also
Refer to the example
UF_DRF_create_image_from_file
UF_DRF_create_image
UF_DRF_init_image_data
UF_DRF_ask_image_data
UF_DRF_free_image_data
UF_DRF_set_image_align_position
UF_DRF_set_image_aspect_ratio_lock
UF_DRF_set_image_height
UF_DRF_set_image_width
UF_DRF_rotate_image
UF_DRF_flip_image_about_height
UF_DRF_flip_image_about_width

History
This structure was originally released in NX2.0.


Data Members

image_name
char *
The name of image in the part

drawing_sheet
tag_t
The drawing sheet on which to create the
image or NULL_TAG to create the image on
the current drawing sheet.

aspect_ratio_locked
logical
TRUE if the image's aspect ratio
cannot be changed

width
double
The width of the image in drawing
sheet units
0.0 to use original image length

height
double
The height of the image in drawing
sheet units
0.0 to use original image height

alignment_position
UF_DRF_align_position_t
The location to use when aligning the
image to another object

origin [ 3 ]
double
Point in drawing sheet units defining the
image origin which is located at the
image alignment_position

width_dir [ 3 ]
double
Vector defining the direction in which
the image width is displayed
Currently, images can only be rotated in
90-degree increments so this vector will
always be parallel or perpendicular to
the drawing sheet's X-axis

height_dir [ 3 ]
double
Vector defining the direction in which
the image height is displayed
Currently, images can only be rotated in
90-degree increments so this vector will
always be parallel or perpendicular to
the drawing sheet's Y-axis