You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function fn (ctx &Context) draw_line_with_config(x f32, y f32, x2 f32, y2 f32, config PenConfig) in module gg is very useful for drawing custom lines.
Currently, there exists only fn (c &CanvasLayout) draw_device_line(d DrawDevice, ..., color gx.Color) which accepts only color as a config param.
A new function fn (c &CanvasLayout) draw_device_line_with_config(d DrawDevice, ..., config LineConfig) that accepts a similar PenConfig struct as an argument would be very helpful.
The text was updated successfully, but these errors were encountered:
The function
fn (ctx &Context) draw_line_with_config(x f32, y f32, x2 f32, y2 f32, config PenConfig)
in modulegg
is very useful for drawing custom lines.Currently, there exists only
fn (c &CanvasLayout) draw_device_line(d DrawDevice, ..., color gx.Color)
which accepts only color as a config param.A new function
fn (c &CanvasLayout) draw_device_line_with_config(d DrawDevice, ..., config LineConfig)
that accepts a similar PenConfig struct as an argument would be very helpful.The text was updated successfully, but these errors were encountered: