1#![forbid(unsafe_code)]
25mod assembly_variant_reader;
26
27pub const ENGINE_VERSION: &str = env!("CARGO_PKG_VERSION");
29
30pub mod board_plot_contract;
31pub mod board_plotter_ir;
32pub mod compiled_schematic_graph;
33pub mod configuration;
34pub mod design_json;
35pub mod document_metadata;
36mod embedded_resource;
37pub mod schematic_annotation_source;
38pub mod schematic_connection_source;
39pub mod schematic_documentation_source;
40pub mod schematic_native_load;
41pub mod schematic_page;
42pub mod schematic_power_source;
43pub mod schematic_symbol_source;
44pub mod font_outline {
45 pub use cad_text_realization::font_outline::*;
46}
47pub mod footprint;
48pub mod footprint_plot_contract;
49mod footprint_plotter_text;
50mod footprint_text;
51mod source_arc;
52mod source_dimension;
53mod source_font;
54mod source_shape_arc;
55pub use pcb::{footprint_primary_property_name, is_standalone_footprint_custom_property};
56pub use source_arc::effective_pcb_arc_geometry;
57pub use source_dimension::{resolved_dimension_measurement_mm, resolved_dimension_points_iu};
58pub use source_font::is_builtin_stroke_font_face;
59pub use source_shape_arc::{effective_pcb_shape_arc_geometry, pcb_shape_arc_input_points};
60mod kicad_layout;
61pub use kicad_layout::prettify_kicad_source;
62pub mod kicad_netlist;
63pub mod library_edits;
64pub mod manufacturing_output_observations;
65pub mod model_host;
66pub mod model_resolution;
67pub mod pcb;
68pub mod pcb_authoring;
69mod pcb_feature_locators;
70pub use pcb_feature_locators::{
71 PcbFeatureDiagnostic, PcbFeatureDiagnosticKind, PcbFootprintFeatureSelector, PcbLocatedFeature,
72 PcbLocatedFeatures, PcbLocatedFootprint,
73};
74pub mod plot_document_contract;
75mod plotter_contract;
76pub mod plotter_ir;
77pub mod plotter_text_cache;
78pub mod plotter_types;
79pub mod project;
80pub mod schematic_bundle;
81mod schematic_bundle_indexes;
82pub mod schematic_bus;
83pub mod schematic_bus_connectivity;
84pub mod schematic_bus_source;
85pub mod schematic_compilation;
86pub mod schematic_connectivity;
87pub mod schematic_design;
88pub mod schematic_diagnostics;
89mod schematic_effective;
90#[cfg(feature = "embedded-resource-zstd")]
91pub mod schematic_embedded;
92pub mod schematic_netlist;
93mod schematic_page_plot;
94pub mod schematic_plot_contract;
95mod schematic_plot_projector;
96pub mod schematic_plotter_ir;
97mod schematic_project;
98mod schematic_segment_index;
99mod schematic_source;
100mod schematic_terminals;
101pub mod sexpr;
102pub mod sexpr_mutation;
103pub mod sexpr_projection;
104pub mod source_bundle;
105pub mod symbol_authoring;
106pub mod symbol_library;
107mod symbol_pin;
108pub mod symbol_plot_contract;
109pub mod symbol_plotter_ir;
110mod symbol_text;
111pub mod testing;
112pub mod text_bezier {
113 pub use cad_text_realization::text_bezier::*;
114}
115pub mod text_block_layout;
116pub mod text_contours {
117 pub use cad_text_realization::text_contours::*;
118}
119pub mod text_layout {
120 pub use cad_text_realization::text_layout::*;
121}
122pub mod text_linebreak;
123pub mod text_metadata;
124pub mod text_render_cache;
125pub mod text_shaping {
126 pub use cad_text_realization::text_shaping::*;
127}
128pub mod text_topology {
129 pub use cad_text_realization::text_topology::*;
130}
131pub mod worksheet;
132
133pub use board_plot_contract::{
134 BoardPlotContractLimits, ProjectedBoardPlotArtifact, project_board_plot_artifact_a0,
135 project_board_plot_document_a0, project_board_plot_document_with_metadata_a0,
136};
137pub use board_plotter_ir::{
138 BoardBoundsLimits, BoardDimensionOperation, BoardDimensionRecord, BoardFootprintBlock,
139 BoardFootprintBlockAttributes, BoardFootprintChildAttributes, BoardFootprintChildMetadata,
140 BoardFootprintOperation, BoardFootprintPlacement, BoardFootprintRecord, BoardGraphicRecord,
141 BoardGraphicRecordKind, BoardImportFacts, BoardNetClassAssignments, BoardNetClassExtras,
142 BoardPadFlashFact, BoardPlotBuildProfile, BoardPlotDocument, BoardPlotFacts,
143 BoardPlotFactsBuildProfile, BoardPlotLimits, BoardPlotRecord, BoardPlotSourceArtifact,
144 BoardRenderFacts, BoardSegmentRecord, BoardTableOperation, BoardTableRecord,
145 BoardTextBoxOperation, BoardTextBoxRecord, BoardTextHAlign, BoardTextOperation,
146 BoardTextRecord, BoardTextRenderCache, BoardTextRenderCacheCoordinateSpace,
147 BoardTextRenderCacheSource, BoardTextVAlign, BoardTextVariables, BoardTrackArcRecord,
148 BoardViaFabrication, BoardViaFlashFact, BoardViaOperation, BoardViaOperationKind,
149 BoardViaRecord, BoardViaType, BoardZoneRecord, board_import_facts_from_view,
150 board_outline_page_bounds, board_plot_artifact_with_sidecars,
151 board_plot_artifact_with_text_cache_sidecar, board_plot_document,
152 board_plot_document_with_net_classes, board_plot_document_with_primary_errors,
153 board_plot_document_with_sidecars, board_plot_document_with_text_cache_sidecar,
154 board_plot_facts_with_sidecars, board_plot_facts_with_sidecars_profiled,
155};
156pub use compiled_schematic_graph::{
157 CompiledGraphIdentityAllocator, CompiledGraphIdentityError, IdentityMapping,
158 build_compiled_schematic_graph, compiled_schematic_graph_design_scope,
159 validate_compiled_schematic_graph,
160};
161pub use design_json::{
162 KiCadDesignFacts, KiCadDesignFactsBuildProfile, KiCadDesignJsonBuildProfile,
163 KiCadDesignJsonError, KiCadDesignJsonPaths, KiCadDesignPcb, KiCadDesignSourcePath,
164 KiCadSchematicInstance, build_kicad_design_facts, build_kicad_design_facts_profiled,
165 build_kicad_design_json, build_kicad_design_json_profiled,
166};
167pub use document_metadata::{KiCadPaper, KiCadTitleBlock};
168pub use embedded_resource::{EmbeddedDataPresence, EmbeddedFile, EmbeddedFileOwner};
169pub use font_outline::{
170 FONT_OUTLINE_ENGINE, FontOutlineError, FontOutlineErrorKind, FontOutlineFace,
171 FontOutlineFaceRequest, FontOutlineOutput, FontOutlineRequest, HINTED_FONT_OUTLINE_ENGINE,
172 HintedFontOutlineFace, extract_font_outline_a0,
173};
174pub use footprint::{
175 FootprintDocument, FootprintEdit, FootprintLimits, FootprintProperty, FootprintView,
176};
177pub use footprint_plot_contract::project_footprint_plot_document_a0;
178pub use footprint_text::{
179 FootprintGraphicalProperty, FootprintText, FootprintTextBox, keep_upright_draw_angle,
180};
181pub use kicad_netlist::{
182 KiCadDesignSheet, KiCadLibPart, KiCadLibPartPin, KiCadNet, KiCadNetClass, KiCadNetlist,
183 KiCadNetlistComponent, KiCadNetlistComponentUnit, KiCadNetlistEndpoint,
184 KiCadNetlistGraphicalIds, KiCadNetlistJsonMetadata, KiCadNetlistTerminal, build_kicad_netlist,
185 build_kicad_netlist_json, emit_kicad_netlist,
186};
187pub use model_resolution::{
188 KiCadModelResolution, KiCadModelResolutionStatus, KiCadModelResolver, KiCadModelSearchContext,
189};
190pub use pcb::{
191 PcbAnnularRingStats, PcbBarcode, PcbBoardMetadata, PcbBoardText, PcbBoardVariant,
192 PcbComponentClassRef, PcbCounts, PcbDimension, PcbDocument, PcbDrillLayerSpan,
193 PcbDrillProperties, PcbEdit, PcbEmbeddedFile, PcbFamily, PcbFootprint, PcbFootprintGraphic,
194 PcbFootprintMemberOwner, PcbFootprintPrimaryBatch, PcbFootprintPrimaryFieldResults,
195 PcbFootprintProperty, PcbFootprintText, PcbFootprintTextBox, PcbFootprintTransform,
196 PcbFootprintZone, PcbFrontBackOptionalBool, PcbGeneratedItem, PcbGraphic, PcbGraphicKind,
197 PcbGroup, PcbHole, PcbHoleOwner, PcbHoleShape, PcbImage, PcbLayer, PcbLimits,
198 PcbModelReference, PcbNet, PcbNetRef, PcbPad, PcbPadCustomOptions, PcbPadCustomPrimitive,
199 PcbPadDrill, PcbPadNameGroup, PcbPadPolygonPoint, PcbPadPrimitiveGeometry, PcbPadstack,
200 PcbPadstackLayer, PcbPoint, PcbPolygonPoint, PcbPostMachiningProperties, PcbProfileOwner,
201 PcbProfilePrimitive, PcbProperty, PcbResolvedPadCopperLayer, PcbRoutingArc, PcbSegment,
202 PcbSelection, PcbSetup, PcbStackup, PcbStackupLayer, PcbStackupSubLayer, PcbTable,
203 PcbTableCell, PcbTeardropParameters, PcbVia, PcbViaStack, PcbViaStackLayer, PcbView, PcbZone,
204 PcbZoneFilledPolygon, PcbZoneKeepout, PcbZoneLayerConnections, PcbZoneLayerProperty,
205 PcbZonePlacement, PcbZonePlacementSource, PcbZonePolygon, resolve_pad_copper_layer,
206};
207pub use pcb_authoring::{
208 AuthoredBackdrill, AuthoredBarcode, AuthoredBarcodeEccLevel, AuthoredBarcodeKind,
209 AuthoredBoardText, AuthoredChamferCorner, AuthoredColor, AuthoredCustomPadClearance,
210 AuthoredDimension, AuthoredDimensionArrowDirection, AuthoredDimensionFormat,
211 AuthoredDimensionKind, AuthoredDimensionOrientation, AuthoredDimensionStyle,
212 AuthoredDimensionText, AuthoredDimensionTextFrame, AuthoredDimensionTextPosition,
213 AuthoredDimensionUnits, AuthoredDimensionUnitsFormat, AuthoredDrill, AuthoredEmbeddedFile,
214 AuthoredFootprint, AuthoredFootprintOccurrence, AuthoredFootprintProperty,
215 AuthoredFootprintScalarProperty, AuthoredFootprintText, AuthoredFrontBackPolicy,
216 AuthoredGraphic, AuthoredGraphicGeometry, AuthoredGroup, AuthoredKeepout, AuthoredLayer,
217 AuthoredModel, AuthoredNet, AuthoredNetRef, AuthoredPad, AuthoredPadAnchor, AuthoredPadKind,
218 AuthoredPadPolygonPoint, AuthoredPadPrimitive, AuthoredPadPrimitiveFill,
219 AuthoredPadPrimitiveGeometry, AuthoredPadShape, AuthoredPadstack, AuthoredPadstackLayer,
220 AuthoredPadstackLayerSelector, AuthoredPadstackMode, AuthoredPadstackZoneConnection,
221 AuthoredPcb, AuthoredPlacementConstraint, AuthoredPlacementSource, AuthoredPoint,
222 AuthoredPolygonPoint, AuthoredProperty, AuthoredResourceData, AuthoredRestriction,
223 AuthoredRoutingArc, AuthoredRuleArea, AuthoredSegment, AuthoredSetup, AuthoredStackup,
224 AuthoredStackupLayer, AuthoredStackupSubLayer, AuthoredStandaloneFootprint, AuthoredTextBox,
225 AuthoredTextBoxGeometry, AuthoredTextEffects, AuthoredTextHorizontalJustification,
226 AuthoredTextVerticalJustification, AuthoredVia, AuthoredViaKind, AuthoredViaStack,
227 AuthoredViaStackLayer, AuthoredZone, AuthoredZoneConnection, AuthoredZoneFill,
228 AuthoredZoneFilledPolygon, AuthoredZoneHatch, AuthoredZoneHatchBorder, AuthoredZoneHatchedFill,
229 AuthoredZonePadConnection, AuthoredZonePolygon, KICAD_SOURCE_VERSION_2024_12_29,
230 PcbAuthoredText, PcbAuthoringLimits, PcbAuthoringWarning, PcbAuthoringWarningCode,
231 recover_board_text_knockout_cache,
232};
233pub use plot_document_contract::{
234 PlotDocumentMetadata, PlotProjectionError, PlotProjectionErrorKind,
235};
236pub use plotter_contract::contract_plotter_operation as project_plotter_operation_a0;
237pub use plotter_ir::{
238 FootprintPlotDocument, FootprintPlotLimits, footprint_plot_document,
239 footprint_plot_document_with_primary_errors,
240};
241pub use plotter_text_cache::{PLOTTER_TEXT_MAX_ERROR, PlotterTextCacheResources, PlotterTextFont};
242pub use plotter_types::{
243 ArcThreePoint, BezierCurve, FlashPadCircle, FlashPadCustom, FlashPadOval, FlashPadRect,
244 FlashPadRoundRect, FlashPadTrapez, PlotterCircle, PlotterFill, PlotterImage, PlotterLineStyle,
245 PlotterOperation, PlotterPoly, PlotterRect, PlotterText, PlotterTextHAlign, PlotterTextVAlign,
246 ThickSegment,
247};
248pub use project::{
249 ProjectBoardDesignSettings, ProjectBusAlias, ProjectDiffPairDimensions, ProjectDocument,
250 ProjectError, ProjectErrorKind, ProjectFabricationRules, ProjectNetClass,
251 ProjectNetClassPattern, ProjectNetSettings, ProjectTuningDefaults, ProjectTuningSettings,
252 ProjectVariant, ProjectView,
253};
254pub use schematic_annotation_source::{
255 SchematicAnnotationContact, SchematicAnnotationContactIssue,
256 SchematicAnnotationContactIssueKind, SchematicAnnotationContactTarget,
257 SchematicAnnotationContacts, SchematicAnnotationProperty, SchematicAnnotationSelector,
258 SchematicAnnotationShape, SchematicAnnotationSourceLimits, SchematicAnnotationSourceView,
259 SchematicAnnotationWireContactKind, SchematicAuthoredAnnotationKind,
260 SchematicAuthoredAnnotationRecord, SchematicAuthoredSheetEntry, SchematicAuthoredSheetRecord,
261 SchematicAuthoredSheetSources, SchematicNativeAnnotation, SchematicNativeAnnotationFacts,
262 SchematicNativeWireParameter, SchematicSheetContactTarget, SchematicSheetEntryContact,
263 SchematicSheetEntrySelector, SchematicSheetPropertyFacts,
264};
265pub use schematic_bundle::{
266 KiCadAssemblyVariantContext, KiCadAuthoredVariant, KiCadVariantDiagnostic, KiCadVariantField,
267 KiCadVariantFlags, KiCadVariantFootprint, KiCadVariantInstance, KiCadVariantSheet,
268 KiCadVariantSymbol, MAX_SCHEMATIC_DEFINITION_CACHE_BYTES, ParsedSchematicDefinition,
269 SchematicBundleIndex, SchematicBundleIndexBuildProfile, SchematicDefinition,
270 SchematicDefinitionCacheError, SchematicDocument, SchematicImportRead, SchematicOccurrence,
271 SchematicPageInstance, SchematicSheet,
272};
273pub use schematic_bus::{
274 SchematicBusExpansionError, SchematicBusExpansionErrorKind, SchematicBusPattern,
275 canonical_bus_member_name, expand_schematic_bus_label, is_schematic_bus_label,
276 parse_schematic_bus_group, parse_schematic_bus_vector,
277};
278pub use schematic_bus_connectivity::{
279 SchematicBusDriver, SchematicBusDriverKind, SchematicBusSubgraph, SchematicDriverPriority,
280 build_schematic_bus_subgraphs,
281};
282pub use schematic_bus_source::{
283 SchematicAuthoredBusGroupFacts, SchematicBusAliasDeclarationRecord,
284 SchematicBusAliasDeclarations, SchematicBusContactAuthority, SchematicBusContactSite,
285 SchematicBusEntryArtworkFacts, SchematicBusEntryArtworkRole, SchematicBusGeometry,
286 SchematicBusGroupFacts, SchematicBusJunctionFacts, SchematicBusJunctionRole,
287 SchematicBusLabelFacts, SchematicBusLineContact, SchematicBusMemberNameLink,
288 SchematicBusSourceIssue, SchematicBusSourceKind, SchematicBusSourceLimits,
289 SchematicBusSourceRecord, SchematicBusSourceSelector, SchematicBusVectorFacts,
290 SchematicStandaloneBusSource,
291};
292pub use schematic_compilation::*;
293pub use schematic_connection_source::{
294 SchematicCarrierIssue, SchematicCarrierIssueKind, SchematicConnectionSourceView,
295 SchematicJunctionRecord, SchematicWireGeometryIndex, SchematicWireGeometryOmission,
296 SchematicWireGeometryOmissionReason, SchematicWireLineStyle, SchematicWireRecord,
297 SchematicWireStroke,
298};
299pub use schematic_connectivity::{
300 SchematicGraphicalIds, SchematicLabelDriver, SchematicPinDriver, SchematicSubpartSettings,
301 SchematicWireDriverKind, SchematicWireSubgraph, build_schematic_occurrence_subgraphs,
302 build_schematic_occurrence_subgraphs_with_settings,
303};
304pub use schematic_design::{
305 SchematicDesignNet, SchematicDesignNetMember, SchematicDesignNetTerminal,
306 SchematicHierarchyNetBinding, SchematicScalarDesignNetlist, build_schematic_scalar_design_nets,
307 build_schematic_scalar_design_nets_with_settings,
308};
309pub use schematic_diagnostics::{
310 KiCadDiagnostic, KiCadDiagnosticCode, KiCadDiagnosticSeverity, RepeatedUuid,
311 effective_uuid_text, increment_uuid_text, sorted_diagnostics,
312};
313pub use schematic_effective::SchematicEffectiveSymbol;
314pub use schematic_native_load::{
315 SchematicNativeLoadedJunctionRecord, SchematicNativeLoadedNumber, SchematicNativeLoadedPoint,
316 SchematicNativeLoadedPose, SchematicNativeLoadedWireRecord, SchematicNativeWireGeometryIndex,
317 native_loaded_library_pin_point,
318};
319pub use schematic_netlist::{
320 SchematicLocalNet, SchematicLocalNetTerminal, build_schematic_occurrence_nets,
321 build_schematic_occurrence_nets_with_settings,
322};
323pub use schematic_page_plot::{
324 ProjectedSchematicPagePlotArtifact, SchematicOccurrenceSelector, SchematicPageContextOverrides,
325 SchematicPagePlotError, SchematicPagePlotErrorKind, SchematicPagePlotRequest,
326 SchematicPagePlotSourceArtifact, project_schematic_page_plot_artifact_a0,
327 schematic_page_plot_document,
328};
329pub use schematic_plot_contract::{
330 SchematicPlotContractBudget, SchematicPlotContractError, schematic_plot_document_budget,
331 schematic_plot_document_json,
332};
333pub use schematic_plot_projector::project_schematic_plot_document_a0;
334pub use schematic_plotter_ir::{
335 SchematicAnnotationRecord, SchematicAnnotationRecordKind, SchematicCanvas,
336 SchematicConnectivityRecord, SchematicConnectivityRecordKind, SchematicDrawingSettings,
337 SchematicGraphicRecord, SchematicGraphicRecordKind, SchematicImageRecord,
338 SchematicPlotBuildProfile, SchematicPlotContext, SchematicPlotDocument, SchematicPlotOperation,
339 SchematicPlotRecord, SchematicPlotVariables, SchematicRuleAreaRecord, SchematicRuleAreaShape,
340 SchematicSheetHeaderRecord, SchematicSheetPinAttrs, SchematicSheetPinBlock,
341 SchematicSheetRecord, SchematicStyledThickSegment, SchematicSymbolInstanceRecord,
342 SchematicSymbolOverplotRecord, SchematicSymbolPinAttrs, SchematicSymbolPinBlock,
343 SchematicTableRecord, SchematicTextOperation, SchematicTitleBlock, schematic_plot_document,
344 schematic_plot_document_with_annotations, schematic_plot_document_with_graphics,
345 schematic_plot_document_with_sheets, schematic_plot_document_with_sheets_profiled,
346 schematic_plot_document_with_symbols,
347};
348pub use schematic_power_source::{
349 SchematicJumperGroupRecord, SchematicJumperPin, SchematicJumperPinSelector,
350 SchematicLibraryJumperGroups, SchematicNativeJumperGroup, SchematicNativePinContact,
351 SchematicNativePinContactTarget, SchematicNativePinContacts, SchematicNativePinContext,
352 SchematicNativePinContextIssue, SchematicNativePinElectricalType, SchematicNativePinSelector,
353 SchematicNativePowerKind, SchematicNativePowerPin, SchematicNativePowerPinFacts,
354 SchematicNativePowerPinRecord, SchematicPowerContactIssue, SchematicPowerContactIssueKind,
355 SchematicPowerNameSource, SchematicPowerParent, SchematicPowerPinSelection,
356 SchematicPowerPlacement, SchematicPowerSelectionInventory, SchematicPowerSourceLimits,
357 SchematicPowerSourceView,
358};
359pub use schematic_source::{
360 SCHEMATIC_IU_PER_MM, SchematicBusAlias, SchematicBusEntry, SchematicConnectivity,
361 SchematicJunction, SchematicLabel, SchematicLabelScope, SchematicLegacySymbolInstance,
362 SchematicLibraryPin, SchematicLibrarySubsymbol, SchematicLibrarySymbol, SchematicNoConnect,
363 SchematicPinShape, SchematicPlacedSymbol, SchematicPoint, SchematicPolyline, SchematicSheetPin,
364 SchematicSymbolInstance, SchematicSymbolInstanceLookupError, SchematicSymbolInstanceVariant,
365 SchematicSymbolPin, SchematicSymbolProperty, SchematicSymbolVariantField,
366};
367pub use schematic_symbol_source::{
368 SchematicFieldFrame, SchematicFieldNativeTextSize, SchematicFieldRecord,
369 SchematicFieldWithNativeTextSize, SchematicLibrarySource, SchematicPinRecord,
370 SchematicPlacedField, SchematicSourceForm, SchematicSymbolSourceView,
371};
372pub use schematic_terminals::SchematicSymbolTerminal;
373pub use source_bundle::{SourceBundle, SourceBundleError, SourceBundleErrorKind, SourceFile};
374pub use symbol_authoring::{
375 AuthoredPinAlternate, AuthoredPinElectricalType, AuthoredPinGraphicStyle,
376 AuthoredPinOrientation, AuthoredSymbol, AuthoredSymbolBodyStyles, AuthoredSymbolColor,
377 AuthoredSymbolFill, AuthoredSymbolItem, AuthoredSymbolLibrary, AuthoredSymbolLineStyle,
378 AuthoredSymbolPin, AuthoredSymbolPoint, AuthoredSymbolPowerKind, AuthoredSymbolProperty,
379 AuthoredSymbolShape, AuthoredSymbolShapeGeometry, AuthoredSymbolStroke, AuthoredSymbolText,
380 AuthoredSymbolTextBox, AuthoredSymbolTextEffects, AuthoredSymbolTextHorizontal,
381 AuthoredSymbolTextVertical, AuthoredSymbolUnit, KICAD_DEFAULT_PIN_NAME_OFFSET_NM,
382 KICAD_DEFAULT_TEXT_SIZE_NM, KICAD_SYMBOL_LIBRARY_VERSION_2025_10_24, SymbolAuthoringLimits,
383 escape_lib_item_name, unescape_lib_item_name, unescape_string,
384};
385pub use symbol_library::{SymbolBooleanField, SymbolLibraryEdit, SymbolLibraryView, SymbolSummary};
386pub use symbol_plot_contract::project_symbol_plot_document_a0;
387pub use symbol_plotter_ir::{
388 SymbolPlotDocument, SymbolPlotRecord, SymbolPlotSelectorEntry, SymbolPlotSelectors,
389 symbol_plot_document, symbol_plot_document_with_text_variables, symbol_plot_selector_inventory,
390 symbol_plot_selectors,
391};
392pub use symbol_text::SymbolTextVariables;
393pub use text_bezier::{
394 TextBezierError, TextBezierErrorKind, TextBezierOutput, TextPoint, flatten_cubic_bezier,
395 flatten_quadratic_bezier,
396};
397pub use text_block_layout::{
398 KICAD_OUTLINE_EM_PER_SIZE, KICAD_TEXT_INTERLINE_FACTOR, KICAD_TEXT_OVERBAR_HEIGHT_RATIO,
399 KICAD_TEXT_TAB_WIDTH_FACTOR, PlainTextLayoutOutput, TextBlockLayoutOutput,
400 TextBlockLayoutRequest, layout_plain_text_hinted_a0, layout_text_block_hinted_a0,
401};
402pub use text_contours::{
403 TextContour, TextContourError, TextContourErrorKind, TextContourOutput, TextContourRequest,
404 shape_text_contours_a0, shape_text_contours_hinted_a0,
405};
406pub use text_layout::{
407 TextHorizontalAlignment, TextLayoutRequest, TextVerticalAlignment, layout_single_line_text_a0,
408 layout_single_line_text_hinted_a0,
409};
410pub use text_linebreak::linebreak_text_block_hinted_a0;
411pub use text_metadata::{KiCadColor, KiCadFont, KiCadTextEffects};
412pub use text_render_cache::{
413 TextRenderCache, TextRenderCacheError, TextRenderCacheErrorKind, TextRenderCachePolygon,
414 generate_text_render_cache_a0, generate_text_render_cache_block_hinted_a0,
415 generate_text_render_cache_hinted_a0, read_text_render_cache_a0, write_text_render_cache_a0,
416};
417pub use text_shaping::{
418 TEXT_SHAPING_ENGINE, TextShapingError, TextShapingErrorKind, TextShapingOutput, shape_text_a0,
419};
420pub use text_topology::{TextTopologyOutput, fracture_text_contours_a0};
421pub use worksheet::{
422 WorksheetBitmap, WorksheetColor, WorksheetCorner, WorksheetDocument, WorksheetFont,
423 WorksheetFormat, WorksheetItem, WorksheetLine, WorksheetMetadata, WorksheetPoint,
424 WorksheetPolygon, WorksheetRect, WorksheetRepeat, WorksheetSetup, WorksheetText, WorksheetView,
425};
426
427pub use sexpr::{
428 Error, ErrorKind, ErrorPhase, FormatOptions, Lexer, Patch, Position, Sexp, Token, TokenKind,
429 apply_patches, apply_patches_with_limit, build, build_with_limit, format, lex, parse,
430 parse_bytes, utf8_text,
431};
432pub use sexpr_mutation::{
433 Walk, find_path, remove_all_elements, remove_element, replace_element, set_value,
434 transform_descendants, walk,
435};
436pub use sexpr_projection::{
437 FormSpan, Selector, StructuralIndex, parse_form, read_form_bytes, scan_form_spans,
438 scan_reader_form_spans,
439};
440#[cfg(feature = "measurement")]
441#[doc(hidden)]
442pub use sexpr_projection::{measure_form_span_sort, measure_reader_form_span_sort};