NetSurf
Data Fields
s_view Struct Reference
Collaboration diagram for s_view:
[legend]

Data Fields

short x
 drawing (screen) offset x
More...
 
short y
 drawing (screen) offset y
More...
 
short w
 width of buffer, not in sync with vis_w
More...
 
short h
 height of buffer, not in sync with vis_w More...
 
short vis_x
 visible rectangle of the screen buffer
More...
 
short vis_y
 coords are relative to plot location
More...
 
short vis_w
 clipped to screen dimensions
More...
 
short vis_h
 visible width
More...
 
struct rect abs_clipping
 The toplevel clipping rectangle
More...
 
struct rect clipping
 actual clipping rectangle
More...
 
float scale
 

Detailed Description

Definition at line 47 of file plot.c.

Field Documentation

◆ abs_clipping

struct rect s_view::abs_clipping

The toplevel clipping rectangle

Definition at line 56 of file plot.c.

Referenced by plot_get_abs_clipping(), plot_get_abs_clipping_grect(), and plot_set_abs_clipping().

◆ clipping

struct rect s_view::clipping

actual clipping rectangle

Definition at line 57 of file plot.c.

Referenced by plot_blit_bitmap(), plot_clip(), plot_get_clip(), and plot_rectangle().

◆ h

short s_view::h

height of buffer, not in sync with vis_w

Definition at line 51 of file plot.c.

Referenced by fbrect_to_screen(), plot_get_dimensions(), plot_init(), plot_line(), plot_set_dimensions(), and update_visible_rect().

◆ scale

float s_view::scale

Definition at line 58 of file plot.c.

Referenced by plot_bitmap(), plot_get_scale(), plot_set_scale(), and plot_text().

◆ vis_h

short s_view::vis_h

visible width

Definition at line 55 of file plot.c.

Referenced by plot_get_visible_grect(), plot_rectangle(), and update_visible_rect().

◆ vis_w

short s_view::vis_w

clipped to screen dimensions

Definition at line 54 of file plot.c.

Referenced by plot_get_visible_grect(), plot_rectangle(), and update_visible_rect().

◆ vis_x

short s_view::vis_x

visible rectangle of the screen buffer

Definition at line 52 of file plot.c.

Referenced by plot_get_visible_grect(), and update_visible_rect().

◆ vis_y

short s_view::vis_y

coords are relative to plot location

Definition at line 53 of file plot.c.

Referenced by plot_get_visible_grect(), and update_visible_rect().

◆ w

short s_view::w

width of buffer, not in sync with vis_w

Definition at line 50 of file plot.c.

Referenced by fbrect_to_screen(), plot_get_dimensions(), plot_init(), plot_set_dimensions(), and update_visible_rect().

◆ x

short s_view::x

◆ y

short s_view::y

The documentation for this struct was generated from the following file: