File tree 1 file changed +23
-20
lines changed
1 file changed +23
-20
lines changed Original file line number Diff line number Diff line change @@ -1168,29 +1168,32 @@ impl<'a> BatchBuilder<'a> {
1168
1168
/// The following diagram attempts to explain the parameters to this function. It's an enlarged
1169
1169
/// version of a border corner that looks like this:
1170
1170
///
1171
- /// ╭─
1172
- /// │
1171
+ /// ```
1172
+ /// ╭─
1173
+ /// │
1174
+ /// ```
1173
1175
///
1174
1176
/// The parameters are as follows:
1175
1177
///
1176
- /// ⤹ corner_bounds.origin
1177
- /// ∙┈┈┈┈┈┬┈┈┈┈┈┬┈┈┈┈┈
1178
- /// ┊ ╱ ┊ ┊
1179
- /// ┊ ╱ ┊ ┊
1180
- /// ┊ ╱╲ ┊ ←─┼── color1
1181
- /// ┊╱ ╲ ┊ ┊
1182
- /// ┊ ╲┊ ┊
1183
- /// ├┈┈┈┈┈∙←────┼── radius_extent
1184
- /// ┊ ┊╲ ┊
1185
- /// ┊ ┊ ╲ ┊
1186
- /// ┊ ┊ ╲ ┊
1187
- /// ┊ ↑ ┊ ╲ ┊
1188
- /// ┊ │ ┊ ╲┊
1189
- /// ├┈┈┼┈┈┴┈┈┈┈┈∙┈┈┈┈┈
1190
- /// ┊ │ ┊↖︎
1191
- /// ┊ ┊ corner_bounds.bottom_right()
1192
- /// ┊color0 ┊
1193
- ///
1178
+ /// ```
1179
+ /// ⤹ corner_bounds.origin
1180
+ /// ∙┈┈┈┈┈┬┈┈┈┈┈┬┈┈┈┈┈
1181
+ /// ┊ ╱ ┊ ┊
1182
+ /// ┊ ╱ ┊ ┊
1183
+ /// ┊ ╱╲ ┊ ←─┼── color1
1184
+ /// ┊╱ ╲ ┊ ┊
1185
+ /// ┊ ╲┊ ┊
1186
+ /// ├┈┈┈┈┈∙←────┼── radius_extent
1187
+ /// ┊ ┊╲ ┊
1188
+ /// ┊ ┊ ╲ ┊
1189
+ /// ┊ ┊ ╲ ┊
1190
+ /// ┊ ↑ ┊ ╲ ┊
1191
+ /// ┊ │ ┊ ╲┊
1192
+ /// ├┈┈┼┈┈┴┈┈┈┈┈∙┈┈┈┈┈
1193
+ /// ┊ │ ┊↖︎
1194
+ /// ┊ ┊ corner_bounds.bottom_right()
1195
+ /// ┊color0 ┊
1196
+ /// ```
1194
1197
fn add_border_corner ( & mut self ,
1195
1198
border_style : BorderStyle ,
1196
1199
corner_bounds : & Rect < f32 > ,
You can’t perform that action at this time.
0 commit comments