Struct dxf::tables::ViewPort
[−]
[src]
pub struct ViewPort { pub name: String, pub handle: u32, pub extension_data_groups: Vec<ExtensionGroup>, pub x_data: Vec<XData>, pub lower_left: Point, pub upper_right: Point, pub view_center: Point, pub snap_base_point: Point, pub snap_spacing: Vector, pub grid_spacing: Vector, pub view_direction: Vector, pub target_view_point: Point, pub view_height: f64, pub view_port_aspect_ratio: f64, pub lens_length: f64, pub front_clipping_plane: f64, pub back_clipping_plane: f64, pub snap_rotation_angle: f64, pub view_twist_angle: f64, pub view_mode: ViewMode, pub circle_sides: i32, pub fast_zoom: bool, pub ucs_icon: i16, pub snap_on: bool, pub grid_on: bool, pub snap_style: SnapStyle, pub snap_isometric_plane: SnapIsometricPlane, pub plot_style_sheet: String, pub render_mode: ViewRenderMode, pub has_own_ucs: bool, pub ucs_origin: Point, pub ucs_x_axis: Vector, pub ucs_y_axis: Vector, pub orthographic_view_type: OrthographicViewType, pub ucs_elevation: f64, pub shade_plot_setting: ShadeEdgeMode, pub major_grid_lines: bool, pub is_default_lighting_on: bool, pub default_lighting_type: DefaultLightingType, pub brightness: f64, pub contrast: f64, pub ambient_color: Color, pub ambient_color_i32: i32, pub ambient_color_name: String, // some fields omitted }
Fields
name: String
handle: u32
extension_data_groups: Vec<ExtensionGroup>
x_data: Vec<XData>
lower_left: Point
upper_right: Point
view_center: Point
snap_base_point: Point
snap_spacing: Vector
grid_spacing: Vector
view_direction: Vector
target_view_point: Point
view_height: f64
view_port_aspect_ratio: f64
lens_length: f64
front_clipping_plane: f64
back_clipping_plane: f64
snap_rotation_angle: f64
view_twist_angle: f64
view_mode: ViewMode
circle_sides: i32
fast_zoom: bool
ucs_icon: i16
snap_on: bool
grid_on: bool
snap_style: SnapStyle
snap_isometric_plane: SnapIsometricPlane
plot_style_sheet: String
render_mode: ViewRenderMode
has_own_ucs: bool
ucs_origin: Point
ucs_x_axis: Vector
ucs_y_axis: Vector
orthographic_view_type: OrthographicViewType
ucs_elevation: f64
shade_plot_setting: ShadeEdgeMode
major_grid_lines: bool
is_default_lighting_on: bool
default_lighting_type: DefaultLightingType
brightness: f64
contrast: f64
ambient_color: Color
ambient_color_i32: i32
ambient_color_name: String
Methods
impl ViewPort
[src]
impl ViewPort
[src]
fn get_owner<'a>(&self, drawing: &'a Drawing) -> Option<DrawingItem<'a>>
[src]
fn set_owner<'a>(
&mut self,
item: &'a mut DrawingItemMut,
drawing: &'a mut Drawing
)
[src]
&mut self,
item: &'a mut DrawingItemMut,
drawing: &'a mut Drawing
)