stefan schippers
|
8da982999a
|
allow arbitrary widths (with ex. bus=3.5 attr) for arcs / circles
|
2025-11-28 13:31:45 +01:00 |
stefan schippers
|
7216c54f57
|
allow arbitrary widths of polygons (with attr bus=5.0)
|
2025-11-27 22:03:10 +01:00 |
stefan schippers
|
cf7a74bc99
|
transform get_attr_val() to return a double instead of an int, use -1.0 for "bus" attribute, otherwise use positive double values to indicate actual line widths. This allows specifying custom widths in the future, but still maintaining compatibility with bus=1. "bus" struct members are thus doubles now
|
2025-11-26 14:07:54 +01:00 |
stefan schippers
|
d8fb5b1480
|
added bus (cached from attr) member in Polygon struct for efficiency
|
2025-11-25 15:25:42 +01:00 |
stefan schippers
|
ba020c243e
|
propagate changes for arcs with negative b angle to svgdraw and psprint
|
2025-11-01 02:08:17 +01:00 |
stefan schippers
|
92bc9cad34
|
some fixes for gcc-15 (-std=c23), smaller threshold for click & move that will abort move, added smaller verilog cosim example (tb_counter_wrapper.sch), arbitrary top level names allowed in create_new_window() and switch_window() (no tabbed interface)
|
2025-09-19 14:18:06 +02:00 |
stefan schippers
|
649eae6ac3
|
hierarchical ps/pdf export: fix embedded images rendering in sub schematics down in hierarchy
|
2025-09-02 02:12:47 +02:00 |
stefan schippers
|
0f49e3cda7
|
Make xschem build with configure option --CFLAGS="-std=c23" (prepare for gcc-15 issues)
|
2025-05-01 23:52:53 +02:00 |
stefan schippers
|
d3b5e999f4
|
ps_embedded_graph(): variable declaration guarded inside if defined(HAS_LIBJPEG); xschem.h: avoid including ../config.h if manual Makefile used
|
2025-04-25 01:36:29 +02:00 |
stefan schippers
|
6b12969d6d
|
complete change `draw text at end as done in draw() fo preserve stacking order of objects`, in draw_symbol(), svg_draw_symbol() and ps_draw_symbol()
|
2025-04-21 11:35:18 +02:00 |
stefan schippers
|
d2e40a8605
|
fix missing label text highlights in symbols. still to handle if highlight layer set to last
|
2025-04-21 00:36:07 +02:00 |
stefan schippers
|
6af59cb3fb
|
reset alloc IDs
|
2025-04-18 02:02:15 +02:00 |
stefan schippers
|
dbac25433c
|
`/` command (show bindkeys) will use a toplevel window instead of fullscreen
|
2025-04-18 02:00:08 +02:00 |
stefan schippers
|
21dbd0e340
|
fix a small memory leak issue in waves_callback(), variable curr_sim_type, fix random clipping (due to uninitialized var instead of rect coordinates) in ps_filledrect()
|
2025-04-17 15:46:33 +02:00 |
stefan schippers
|
29ad1e06e1
|
reduce size of ps exports by avoiding redundant set_ps_colors() calls
|
2025-04-16 16:25:38 +02:00 |
stefan schippers
|
1417c05658
|
fix possible unitialized value for c_for_text in draw_symbol(), ps_draw_symbol(), svg_draw_symbol(), fix ps/pdf export full (missing / wrong resetwin() calls)
|
2025-04-16 15:01:51 +02:00 |
stefan schippers
|
328f4443b5
|
add a missing restore linewidth after a ps/pdf print full
|
2025-04-16 11:26:16 +02:00 |
stefan schippers
|
cf3fa993bd
|
fix some regressions in text bbox calculation in no cairo mode
|
2025-04-16 02:54:56 +02:00 |
stefan schippers
|
b74c0f4ac4
|
Honor `bus` attribute on lines / wires / polygons in svg and pdf exports
|
2025-04-14 12:31:59 +02:00 |
stefan schippers
|
70aed29f7f
|
fix ps/svg export of highlighted instances (text color)
|
2025-04-06 13:02:28 +02:00 |
stefan schippers
|
834d2c9757
|
draw_symbol(): draw text at end as done in draw() fo preserve stacking order of objects
|
2025-04-05 11:27:45 +02:00 |
stefan schippers
|
34fd430c13
|
svg_embedded_graph() and ps_embedded_graph() do not do a full redraw prior to graph rasterizing, draw only the current graph area. This avoid `overstrike` problems with superimposed text objects
|
2025-02-21 11:12:27 +01:00 |
stefan schippers
|
25db8b8f9a
|
ellipses rendered in ps/pdf export. Do not allow to select objects with mouse button press if a poligon insertion is ongoing. my_fopen() for read mode open, check for regular file. More checks for failed fopen()s.
|
2025-02-18 02:25:55 +01:00 |
stefan schippers
|
b0d740757a
|
fix regression in psprint.c
|
2025-02-13 20:43:39 +01:00 |
stefan schippers
|
88ee9ba0ad
|
fix wrong window size re-setting after a hierarchy ps/pdf printout (due to messing with portrait / landscape)
|
2025-02-10 17:36:10 +01:00 |
stefan schippers
|
724869638e
|
fix max size of graph bitmap calculation in svg_embedded_graph() and ps_embedded_graph()
|
2025-02-10 01:21:22 +01:00 |
stefan schippers
|
ee750099e3
|
svgdraw(): draw in grey or red ignored or shorted devices, some fixes in ps_print()
|
2025-01-29 18:52:38 +01:00 |
stefan schippers
|
40fd937d51
|
shorted_instance(): fixed a bug: lvs_ignore active disallows evaluation of spice_ignore flags; ps_draw_symbol(): draw in grey or red ignored or shorted devices
|
2025-01-29 16:22:44 +01:00 |
stefan schippers
|
c9f60ce1c8
|
clanup / better implementation of previous fix
|
2025-01-20 18:39:46 +01:00 |
stefan schippers
|
ff7c767c4d
|
propagate drawing graph Hcursor functions to SVG/PDF exports
|
2025-01-09 00:31:11 +01:00 |
stefan schippers
|
de9c40af65
|
allow file extension spec in tmpfile creation, update index.html
|
2024-11-13 12:04:56 +01:00 |
stefan schippers
|
20359ed43e
|
update license info. Remove unneeded newline saving in version line of .sch/.sym files, remove c89 flag based on lib versions
|
2024-11-12 20:23:18 +01:00 |
stefan schippers
|
c342a1c41f
|
update svgdraw and psprint to recognize svg embedded images. svgdraw exports it as embedded svg
|
2024-10-28 18:55:13 +01:00 |
stefan schippers
|
bb1a1557bc
|
svg and ps/pdf export: do not include data for offscreen graphs or images to reduce file size
|
2024-09-24 11:10:30 +02:00 |
stefan schippers
|
2372828c22
|
svgdraw and psprint: draw text after images as done in draw.c. Correct postscript / pdf image zoom factor from 0.97 to 1.0 to match scaling with other xschem elements.
|
2024-09-24 00:50:10 +02:00 |
stefan schippers
|
1dd3e28b32
|
remove memory tracking alloc IDs
|
2024-09-06 22:27:05 +02:00 |
stefan schippers
|
391464bab9
|
fix another small memory leak due to tclvareval("xschem exit...")--> use tcleval()
|
2024-09-06 22:19:36 +02:00 |
stefan schippers
|
882f7f7434
|
fix memory leaks introduced since introduction of my_expand()
|
2024-09-06 18:33:09 +02:00 |
stefan schippers
|
e122a9764e
|
ps/pdf export: use highlight colors on instances / wires that are highlighted
|
2024-06-21 14:19:11 +02:00 |
stefan schippers
|
17bf6f3efb
|
handle TABs in draw_string() (also ps and svg draw_string()), tcl var tabstop (default = 8) sets the tab positions.
|
2024-05-23 00:57:45 +02:00 |
Stefan Schippers
|
faee6bbc89
|
apply cairo_font_scale also for nocairo fonts (in addition to nocairo_[xy]_font_scale)
|
2024-03-24 20:36:19 +01:00 |
Stefan Schippers
|
3186270548
|
apply cairo_font_scale to svg and ps/pdf exports
|
2024-03-24 19:59:28 +01:00 |
stefan schippers
|
6405ac4c09
|
simplified alpha removal and inversion in ps_embedded_image()
|
2024-03-18 11:53:51 +01:00 |
stefan schippers
|
04409cc315
|
simplified ps_embedded_image(), avoid recoding jpeg if possible (no invert), error checks in edit_image() and get_surface_from_b64data()
|
2024-03-18 01:08:51 +01:00 |
stefan schippers
|
b1b2c3797b
|
rename ps_drawPNG to ps_embedded_image for consistency with svg
|
2024-03-13 16:03:27 +01:00 |
stefan schippers
|
927ef74fe1
|
include in resetwin() the call to create_memory_cairo_ctx() so it will be correctly set up fro multiple windows
|
2024-03-12 18:21:28 +01:00 |
stefan schippers
|
de4f44fd40
|
create_ps() will also use the temporary X connection for better font metrics if possible
|
2024-03-12 03:04:10 +01:00 |
stefan schippers
|
e897aee1c4
|
added bezier export in svg and postscript code
|
2024-03-01 17:23:49 +01:00 |
stefan schippers
|
e946a729f8
|
add ability to click and drag directly polygon/bezier points
|
2024-03-01 00:12:44 +01:00 |
stefan schippers
|
1cbbed77ba
|
first commit for parametric models in subckts --DO NOT USE--
|
2024-02-09 17:00:56 +01:00 |