Home
last modified time | relevance | path

Searched refs:a (Results 1 – 7 of 7) sorted by relevance

/StarryEngine/
H A DLICENSE10 The GNU General Public License is a free, copyleft license for
16 share and change all versions of a program--to make sure it remains free
34 For example, if you distribute copies of such a program, whether
35 gratis or for a fee, you must pass on to the recipients the same
64 avoid the special danger that patents applied to a free program could
84 To "modify" a work means to copy from or adapt all or part of the work
85 in a fashion requiring copyright permission, other than the making of an
86 exact copy. The resulting work is called a "modified version" of the
87 earlier work or a work "based on" the earlier work.
89 A "covered work" means either the unmodified Program or a work based
[all …]
/StarryEngine/starry_server/src/base/
H A Dimage.rs15 pub struct ImageRoiRows<'a> {
21 data: &'a [Color],
27 impl<'a> Iterator for ImageRoiRows<'a> {
28 type Item = &'a [Color];
42 pub struct ImageRoiRowsMut<'a> {
48 data: &'a mut [Color],
54 impl<'a> Iterator for ImageRoiRowsMut<'a> {
55 type Item = &'a mut [Color];
81 pub struct ImageRoi<'a> {
87 data: &'a mut [Color],
[all …]
/StarryEngine/starry_client/src/base/
H A Devent.rs31 pub a: i64, field
39 a: 0, in new()
73 a: self.character as i64, in to_event()
81 character: char::from_u32(event.a as u32).unwrap_or('\0'), in from_event()
102 a: self.dx as i64, in to_event()
110 dx: event.a as i32, in from_event()
141 a: self.left as i64 | (self.middle as i64) << 1 | (self.right as i64) << 2, in to_event()
149 left: event.a & (1 << 0) == 1, in from_event()
150 middle: event.a & (1 << 1) == 1, in from_event()
151 right: event.a & (1 << 2) == 1, in from_event()
[all …]
H A Dcolor.rs20 pub const fn rgba(r: u8, g: u8, b: u8, a: u8) -> Self { in rgba()
22 data: ((a as u32) << 24) | ((r as u32) << 16) | (g as u32) << 8 | (b as u32), in rgba()
42 pub fn a(&self) -> u8 { in a() method
51 let a = Color::value_interpolate(from_color.r(), to_color.r(), scale); in interpolate() localVariable
52 Color::rgba(r, g, b, a) in interpolate()
62 [self.r(), self.g(), self.b(), self.a()]
67 [self.b(), self.g(), self.r(), self.a()]
/StarryEngine/starry_client/src/font/
H A Dunifont-license.txt9 or (at your option) a later version.
11 See the section below for a copy of the GNU General Public License
17 As a special exception, if you create a document which uses this font,
65 For example, if you distribute copies of such a program, whether
66 gratis or for a fee, you must give the recipients all the rights that
83 patents. We wish to avoid the danger that redistributors of a free
95 a notice placed by the copyright holder saying it may be distributed
97 refers to any such program or work, and a "work based on the Program"
99 that is to say, a work containing the Program or a portion of it,
107 is covered only if its contents constitute a work based on the
[all …]
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs36 pub struct PanelRenderer<'a> {
38 window: &'a mut Window,
41 impl<'a> PanelRenderer<'a> {
42 pub fn new(window: &'a mut Window) -> Self { in new()
47 impl<'a> Renderer for PanelRenderer<'a> {
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs301 self.zbuffer.borrow_mut().sort_by(|a, b| b.1.cmp(&a.1)); in rezbuffer()