NetSurf
Functions | Variables
plotters.h File Reference

Target independent plotting (BeOS interface). More...

#include <View.h>
Include dependency graph for plotters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BView * nsbeos_current_gc (void)
 
BView * nsbeos_current_gc_lock (void)
 
void nsbeos_current_gc_unlock (void)
 
void nsbeos_current_gc_set (BView *view)
 
rgb_color nsbeos_rgb_colour (colour c)
 
void nsbeos_set_colour (colour c)
 
void nsbeos_plot_caret (int x, int y, int h)
 Plot a caret. More...
 

Variables

const struct plotter_table nsbeos_plotters
 beos plotter operation table More...
 
BView * current_view
 

Detailed Description

Target independent plotting (BeOS interface).

Definition in file plotters.h.

Function Documentation

◆ nsbeos_current_gc()

BView * nsbeos_current_gc ( void  )

Definition at line 70 of file plotters.cpp.

References current_view.

Referenced by bitmap_render(), nsbeos_plot_arc(), nsbeos_plot_bbitmap(), nsbeos_plot_bitmap(), nsbeos_plot_caret(), nsbeos_plot_clip(), nsbeos_plot_disc(), nsbeos_plot_line(), nsbeos_plot_path(), nsbeos_plot_polygon(), nsbeos_plot_rectangle(), nsbeos_set_colour(), and nsfont_paint().

Here is the caller graph for this function:

◆ nsbeos_current_gc_lock()

BView * nsbeos_current_gc_lock ( void  )

Definition at line 76 of file plotters.cpp.

References current_view, and view.

◆ nsbeos_current_gc_set()

void nsbeos_current_gc_set ( BView *  view)

Definition at line 93 of file plotters.cpp.

References current_view, and view.

Referenced by bitmap_render(), gui_window_remove_caret(), nsbeos_redraw_caret(), and nsbeos_window_expose_event().

Here is the caller graph for this function:

◆ nsbeos_current_gc_unlock()

void nsbeos_current_gc_unlock ( void  )

Definition at line 85 of file plotters.cpp.

References current_view.

◆ nsbeos_plot_caret()

void nsbeos_plot_caret ( int  x,
int  y,
int  h 
)

Plot a caret.

It is assumed that the plotters have been set up.

Definition at line 194 of file plotters.cpp.

References B_DOCUMENT_TEXT_COLOR, kBlackColor, nsbeos_current_gc(), and view.

Referenced by nsbeos_window_expose_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsbeos_rgb_colour()

rgb_color nsbeos_rgb_colour ( colour  c)

Definition at line 169 of file plotters.cpp.

References NS_TRANSPARENT.

Referenced by gui_set_clipboard(), nsbeos_plot_path(), nsbeos_set_colour(), and nsfont_paint().

Here is the caller graph for this function:

◆ nsbeos_set_colour()

void nsbeos_set_colour ( colour  c)

Definition at line 181 of file plotters.cpp.

References nsbeos_current_gc(), nsbeos_rgb_colour(), and view.

Referenced by nsbeos_plot_arc(), nsbeos_plot_disc(), nsbeos_plot_line(), nsbeos_plot_polygon(), and nsbeos_plot_rectangle().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ current_view

BView* current_view
extern

◆ nsbeos_plotters

const struct plotter_table nsbeos_plotters
extern

beos plotter operation table

Definition at line 739 of file plotters.cpp.

Referenced by bitmap_render(), and nsbeos_window_expose_event().