Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JakkuSakura/plotters-gpui
/ functions
Functions
75 in github.com/JakkuSakura/plotters-gpui
⨍
Functions
75
◇
Types & classes
23
↓ 9 callers
Function
coord_to_point
(origin: Point<Pixels>, coord: BackendCoord)
src/utils.rs:4
↓ 7 callers
Function
button
(text: &str, on_click: impl Fn(&mut Window, &mut App) + 'static)
examples/window.rs:10
↓ 7 callers
Method
color
(mut self, color: impl Into<Hsla>)
src/line.rs:38
↓ 7 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/stock.rs:23
↓ 6 callers
Function
color_to_hsla
(color: BackendColor)
src/utils.rs:8
↓ 3 callers
Function
parse_time
(t: &str)
examples/stock.rs:13
↓ 3 callers
Method
render_pixels
(&mut self, window: &mut Window)
src/line.rs:50
↓ 2 callers
Method
add_point
(&mut self, point: Point<Pixels>)
src/line.rs:43
↓ 2 callers
Method
draw_pixel
( &mut self, point: BackendCoord, color: BackendColor, )
src/backend.rs:39
↓ 2 callers
Method
next
(&mut self)
examples/3d-plot2.rs:64
↓ 2 callers
Method
present
(&mut self)
src/backend.rs:35
↓ 1 callers
Method
get_line
(&mut self)
examples/animation-cpu.rs:82
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/animation-cosine.rs:104
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/mandelbrot.rs:108
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/3d-plot2.rs:120
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/animation-cpu.rs:122
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/normal-dist2.rs:119
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/area-chart.rs:96
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/stock.rs:120
↓ 1 callers
Function
main_viewer
(cx: &mut App)
examples/3d-plot.rs:101
↓ 1 callers
Function
mandelbrot_set
( real: Range<f64>, complex: Range<f64>, samples: (usize, usize), max_iter: usize, )
examples/mandelbrot.rs:17
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/animation-cosine.rs:20
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/mandelbrot.rs:47
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/3d-plot2.rs:27
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/animation-cpu.rs:22
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/normal-dist2.rs:22
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/area-chart.rs:20
↓ 1 callers
Method
new
(model: Rc<RwLock<PlottersDrawAreaModel>>, cx: &mut App)
examples/3d-plot.rs:18
↓ 1 callers
Method
next_line
(&mut self, shift: f64)
examples/animation-cosine.rs:61
↓ 1 callers
Method
plot
( &self, bounds: Bounds<Pixels>, window: &mut Window, cx: &mut App, )
src/element.rs:38
↓ 1 callers
Method
should_sample
(&self)
examples/animation-cpu.rs:60
↓ 1 callers
Method
try_sample
(&mut self)
examples/animation-cpu.rs:70
↓ 1 callers
Method
width
(mut self, width: impl Into<Pixels>)
src/line.rs:33
Method
between_points
(start: Point<Pixels>, end: Point<Pixels>)
src/line.rs:26
Method
clear
(&mut self)
src/line.rs:46
Method
default
()
src/line.rs:12
Method
draw_line
( &mut self, from: BackendCoord, to: BackendCoord, style: &S, )
src/backend.rs:54
Method
draw_path
path in plotters does not close the shape
src/backend.rs:111
Method
draw_rect
( &mut self, upper_left: BackendCoord, bottom_right: BackendCoord, style: &S,
src/backend.rs:71
Method
draw_text
( &mut self, text: &str, style: &TStyle, pos: BackendCoord, )
src/backend.rs:161
Method
ensure_prepared
(&mut self)
src/backend.rs:31
Method
fill_polygon
( &mut self, vert: I, style: &S, )
src/backend.rs:135
Method
get_size
(&self)
src/backend.rs:26
Function
main
()
examples/animation-cosine.rs:112
Function
main
()
examples/mandelbrot.rs:113
Function
main
()
examples/3d-plot2.rs:125
Function
main
()
examples/window.rs:171
Function
main
()
examples/animation-cpu.rs:130
Function
main
()
examples/normal-dist2.rs:124
Function
main
()
examples/area-chart.rs:101
Function
main
()
examples/stock.rs:128
Function
main
()
examples/3d-plot.rs:106
Method
new
(chart: Box<dyn PlottersChart>)
src/element.rs:16
Method
new
()
src/line.rs:18
Method
new
Create a new embedded backend
src/backend.rs:18
Function
pdf
(x: f64, y: f64)
examples/3d-plot2.rs:13
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/animation-cosine.rs:75
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/mandelbrot.rs:69
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/3d-plot2.rs:78
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/animation-cpu.rs:94
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/normal-dist2.rs:44
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/area-chart.rs:63
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/stock.rs:88
Method
plot
( &mut self, root: &DrawingArea<GpuiBackend, Shift>, )
examples/3d-plot.rs:40
Method
render
(&mut self, _window: &mut Window, _cx: &mut Context<Self>)
src/element.rs:57
Method
render
(&mut self, window: &mut Window, cx: &mut Context<Self>)
examples/animation-cosine.rs:31
Method
render
(&mut self, _: &mut Window, _: &mut Context<Self>)
examples/mandelbrot.rs:57
Method
render
(&mut self, window: &mut Window, cx: &mut Context<Self>)
examples/3d-plot2.rs:37
Method
render
(&mut self, _window: &mut Window, _: &mut Context<Self>)
examples/window.rs:26
Method
render
(&mut self, window: &mut Window, cx: &mut Context<Self>)
examples/animation-cpu.rs:33
Method
render
(&mut self, _: &mut Window, _: &mut Context<Self>)
examples/normal-dist2.rs:32
Method
render
(&mut self, _: &mut Window, _: &mut Context<Self>)
examples/area-chart.rs:30
Method
render
(&mut self, _: &mut Window, _: &mut Context<Self>)
examples/stock.rs:34
Method
render
(&mut self, _: &mut Window, _: &mut Context<Self>)
examples/3d-plot.rs:28
Method
with_shared_model
(model: Rc<RwLock<PlottersDrawAreaModel>>)
src/element.rs:34