Home
last modified time | relevance | path

Searched refs:i (Results 1 – 6 of 6) sorted by relevance

/StarryEngine/starry_server/src/base/
H A Dimage.rs23 i: i32, field
30 if self.i < self.rect.height() { in next()
31 let start = (self.rect.top() + self.i) * self.w + self.rect.left(); in next()
33 self.i += 1; in next()
50 i: i32, field
57 if self.i < self.rect.height() { in next()
61 if self.i == 0 { in next()
72 self.i += 1; in next()
104 i: 0, in into_iter()
116 i: 0, in rows()
[all …]
/StarryEngine/starry_client/src/base/
H A Drenderer.rs199 for i in begin..end { in image_fast()
200 if i < image_data.len() { in image_fast()
201 let new = image_data[i].data; in image_fast()
416 for i in 0..points.len() - 1 {
418 points[i][0],
419 points[i][1],
420 points[i + 1][0],
421 points[i + 1][1],
479 for i in start..end { in rect()
481 *data_ptr.offset(i) = color; in rect()
[all …]
/StarryEngine/starry_client/src/font/
H A Dunifont.rs26 for i in 0..data.len() { in main()
27 let string = data_part.get(i * 2 .. i * 2 + 2).unwrap_or("00"); in main()
28 data[i] = u8::from_str_radix(string, 16).unwrap(); in main()
H A Dunifont-license.txt7 files (i.e., everything except the fonts) is released under
/StarryEngine/starry_server/src/core/input/
H A Dmod.rs73 for i in 0..count { in polling()
74 let events = self.handle(buf[i]); in polling()
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs324 for i in 0..count { in polling_tty()
326 character: Some(bufffer[i] as char), in polling_tty()