diff options
Diffstat (limited to 'third_party/rust/dwrote/src/outline_builder.rs')
-rw-r--r-- | third_party/rust/dwrote/src/outline_builder.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/rust/dwrote/src/outline_builder.rs b/third_party/rust/dwrote/src/outline_builder.rs new file mode 100644 index 0000000000..7e7716b4f0 --- /dev/null +++ b/third_party/rust/dwrote/src/outline_builder.rs @@ -0,0 +1,6 @@ +pub trait OutlineBuilder { + fn move_to(&mut self, x: f32, y: f32); + fn line_to(&mut self, x: f32, y: f32); + fn curve_to(&mut self, cp0x: f32, cp0y: f32, cp1x: f32, cp1y: f32, x: f32, y: f32); + fn close(&mut self); +} |