1#![warn(missing_docs)]
22
23mod builder;
24mod draw;
25mod flex;
26mod graph;
27mod handles;
28mod icon;
29mod image;
30#[cfg(feature = "math")]
31mod math;
32pub mod node_api;
33mod passes;
34mod place;
35pub mod post;
36mod shader;
37mod sim;
38mod svg;
39mod text;
40mod theme;
41mod trim;
42pub mod video;
43pub use video::{VideoInfo, VideoSource, set_video_opener};
44
45pub use builder::{
46 BaseProps, CameraBuilder, CircleBuilder, CodeBuilder, CustomBuilder, EffectBuilder,
47 GridBuilder, GroupBuilder, ImgBuilder, LayoutBuilder, LineBuilder, NodeBuilder,
48 ParticlesBuilder, PathBuilder, PolygonBuilder, RectBuilder, ShaderBuilder, StarBuilder,
49 TxtBuilder, VideoBuilder,
50};
51pub use builder::{lens_drops, ripple, waves};
52pub use draw::{
53 DrawCtx, DrawItem, DrawRng, Layer, LineCap, LineJoin, Paint, Pen, Primitive, Shadow,
54 StrokeStyle,
55};
56pub use graph::{
57 Direction, InspectNode, Justify, LayoutAlign, NodeData, NodeId, NodeKind, SceneGraph, add_site,
58};
59pub use handles::{
60 Camera, Circle, Code, CodeText, CodeTween, Custom, Effect, Grid, Group, Img, Layout, Line,
61 Node, Particles, Path, Polygon, Rect, SLIDE_DISTANCE, Shader, Star, Svg, Txt, Video, View,
62};
63pub use icon::{Icon, IconBuilder, IconStyle};
64pub use image::{ImageSource, RasterImage, VectorImage, VectorShape};
65#[cfg(feature = "math")]
66pub use math::{Math, MathBuilder};
67pub use node_api::Draw;
68pub use passes::{Pass, PassKind, layer_fingerprint, pass_graph, shadow_fingerprint};
69pub use place::{Edge, Percent, Place, SafeArea, Side, Span, pct};
70pub use post::{Input, Shade, ShadeOp, apply as apply_shade};
71pub use shader::{ShaderDiag, draft_shaders, set_shader_budget_ms};
72pub use trim::trim;
73
74pub use oxframe_core::{BlendMode, Color, Gradient, GradientKind, Signal};
75pub use oxframe_text::{Align as TextAlign, Lang, MONO, SANS};
76pub use text::{CodeTheme, RichSpan, span};
77pub use theme::current as current_theme;
79pub use theme::enter as enter_theme;
80pub use theme::{
81 Corner, Ink,
82 Ink::{Accent, Background, Danger, Muted, OnAccent, Success, Surface, Text, Warning},
83 IntoPaint, Len, Motion, Pace,
84 Pace::{Fast, Normal, Slow},
85 Scale, ShadowSpec, Step,
86 Step::{Lg, Md, Sm, Xl, Xs},
87 Theme, TypeRole, TypeScale, TypeStyle,
88};