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

Methods

impl ViewPort
[src]

[src]

Ensure all values are valid.

impl ViewPort
[src]

[src]

[src]

Trait Implementations

impl Default for ViewPort
[src]

[src]

Returns the "default value" for a type. Read more