Home
last modified time | relevance | path

Searched refs:draw_state (Results 1 – 25 of 149) sorted by relevance

123456

/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/piston2d-graphics-0.32.0/src/
H A Dgraphics.rs108 draw_state: &DrawState, in tri_list_uv()
125 r.draw_tri(rectangle, draw_state, transform, self); in rectangle()
137 draw_state: &DrawState, in polygon()
139 p.draw_tri(polygon, draw_state, transform, self); in polygon()
152 draw_state: &DrawState, in polygon_tween_lerp()
166 draw_state: &DrawState, in image()
168 image.draw_tri(texture, draw_state, transform, self); in image()
182 e.draw_tri(rectangle, draw_state, transform, self); in ellipse()
194 draw_state: &DrawState, in line()
196 l.draw_tri(line, draw_state, transform, self); in line()
[all …]
H A Dline.rs77 draw_state: &DrawState, in draw_from_to()
84 g.line(self, [from[0], from[1], to[0], to[1]], draw_state, transform); in draw_from_to()
91 draw_state: &DrawState, in draw()
96 g.line(self, line, draw_state, transform); in draw()
102 draw_state: &DrawState, in draw_tri()
110 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
119 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
128 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
146 draw_state: &DrawState, in draw_arrow()
154 self.draw(line, draw_state, transform, g); in draw_arrow()
[all …]
H A Dpolygon.rs30 draw_state: &DrawState, in draw()
35 g.polygon(self, polygon, draw_state, transform); in draw()
41 draw_state: &DrawState, in draw_tri()
46 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
56 draw_state: &DrawState, in draw_tween_lerp()
61 g.polygon_tween_lerp(self, polygons, tween_factor, draw_state, transform); in draw_tween_lerp()
68 draw_state: &DrawState, in draw_tween_lerp_tri()
76 g.tri_list(draw_state, &self.color, |f| { in draw_tween_lerp_tri()
H A Drectangle.rs166 draw_state: &DrawState, in draw_from_to()
173 … g.rectangle(self, rectangle_by_corners(from[0], from[1], to[0], to[1]), draw_state, transform); in draw_from_to()
185 draw_state: &DrawState, in draw()
190 g.rectangle(self, rectangle, draw_state, transform); in draw()
199 draw_state: &DrawState, in draw_tri()
208 g.tri_list(draw_state, in draw_tri()
213 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
222 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
239 g.tri_list(draw_state, &color, |f| { in draw_tri()
246 g.tri_list(draw_state, &color, |f| { in draw_tri()
[all …]
H A Dellipse.rs81 draw_state: &DrawState, in draw_from_to()
92 draw_state, in draw_from_to()
100 draw_state: &DrawState, in draw()
105 g.ellipse(self, rectangle, draw_state, transform); in draw()
111 draw_state: &DrawState, in draw_tri()
117 g.tri_list(draw_state, &self.color, |f| { in draw_tri()
125 g.tri_list(&draw_state, &color, |f| { in draw_tri()
H A Dimage.rs126 draw_state: &DrawState, in draw()
131 g.image(self, texture, draw_state, transform); in draw()
137 draw_state: &DrawState, in draw_tri()
151 g.tri_list_uv(draw_state, &color, texture, |f| { in draw_tri()
162 draw_state: &DrawState, in draw_many()
167 g.tri_list_uv(draw_state, &color, texture, |f| for r in rects { in draw_many()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender/src/
H A Dprofiler.rs761 draw_state: DrawState, field
795 (draw_state.x_left, draw_state.y_left) in draw_counters()
797 (draw_state.x_right, draw_state.y_right) in draw_counters()
822 current_y = if left { draw_state.y_left } else { draw_state.y_right }; in draw_counters()
1027 &mut self.draw_state in draw_full_profile()
1042 &mut self.draw_state in draw_full_profile()
1054 &mut self.draw_state in draw_full_profile()
1066 &mut self.draw_state in draw_full_profile()
1077 &mut self.draw_state in draw_full_profile()
1088 &mut self.draw_state in draw_full_profile()
[all …]
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/src/
H A Dprofiler.rs478 draw_state,
882 draw_state: DrawState, field
916 (draw_state.x_left, draw_state.y_left) in draw_counters()
918 (draw_state.x_right, draw_state.y_right) in draw_counters()
944 current_y = if left { draw_state.y_left } else { draw_state.y_right }; in draw_counters()
1153 &mut self.draw_state in draw_full_profile()
1168 &mut self.draw_state in draw_full_profile()
1182 &mut self.draw_state in draw_full_profile()
1194 &mut self.draw_state in draw_full_profile()
1205 &mut self.draw_state in draw_full_profile()
[all …]
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/indicatif-0.13.0/src/
H A Dprogress.rs149 if draw_state.finished in apply_draw_state()
156 if !draw_state.lines.is_empty() && draw_state.move_cursor { in apply_draw_state()
777 draw_state(self).ok(); in drop()
894 draw_state: None, in add()
938 let ts = draw_state.ts; in join_impl()
939 let force_draw = draw_state.finished || draw_state.force_draw; in join_impl()
942 if draw_state.finished { in join_impl()
950 let split = draw_state.lines.split_at(draw_state.orphan_lines); in join_impl()
957 ..draw_state in join_impl()
960 state.objects[idx].draw_state = Some(draw_state); in join_impl()
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/indicatif-0.14.0/src/
H A Dprogress.rs149 if draw_state.finished in apply_draw_state()
156 if !draw_state.lines.is_empty() && draw_state.move_cursor { in apply_draw_state()
814 draw_state(self).ok(); in drop()
931 draw_state: None, in add()
975 let ts = draw_state.ts; in join_impl()
976 let force_draw = draw_state.finished || draw_state.force_draw; in join_impl()
979 if draw_state.finished { in join_impl()
987 let split = draw_state.lines.split_at(draw_state.orphan_lines); in join_impl()
994 ..draw_state in join_impl()
997 state.objects[idx].draw_state = Some(draw_state); in join_impl()
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/indicatif-0.14.0/src/
H A Dprogress.rs149 if draw_state.finished in apply_draw_state()
156 if !draw_state.lines.is_empty() && draw_state.move_cursor { in apply_draw_state()
814 draw_state(self).ok(); in drop()
931 draw_state: None, in add()
975 let ts = draw_state.ts; in join_impl()
976 let force_draw = draw_state.finished || draw_state.force_draw; in join_impl()
979 if draw_state.finished { in join_impl()
987 let split = draw_state.lines.split_at(draw_state.orphan_lines); in join_impl()
994 ..draw_state in join_impl()
997 state.objects[idx].draw_state = Some(draw_state); in join_impl()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/webrender/src/
H A Dprofiler.rs749 draw_state,
1235 draw_state: DrawState, field
1305 (draw_state.x_left, draw_state.y_left) in draw_counters()
1307 (draw_state.x_right, draw_state.y_right) in draw_counters()
1345 current_y = if left { draw_state.y_left } else { draw_state.y_right }; in draw_counters()
1568 &mut self.draw_state in draw_full_profile()
1584 &mut self.draw_state in draw_full_profile()
1599 &mut self.draw_state in draw_full_profile()
1613 &mut self.draw_state in draw_full_profile()
1625 &mut self.draw_state in draw_full_profile()
[all …]
/dports/audio/drumgizmo/drumgizmo-0.9.19/plugingui/
H A Dbutton_base.cc33 , draw_state(State::Up) in ButtonBase()
52 draw_state = State::Down; in buttonEvent()
60 draw_state = State::Up; in buttonEvent()
97 draw_state = State::Up; in mouseLeaveEvent()
111 draw_state = State::Down; in mouseEnterEvent()
/dports/games/libmt_client/libmt_client-0.1.98/src/
H A Dmt_client_game.c169 player->draw_state = LIBMT_CLIENT_DRAW_OTHER_BID; in game_loop()
179 player->draw_state = LIBMT_CLIENT_DRAW_GET_BID; in game_loop()
199 player->draw_state = LIBMT_CLIENT_DRAW_MAKE_CHIEN; in game_loop()
223 player->draw_state = LIBMT_CLIENT_DRAW_GET_CHIEN; in game_loop()
234 player->draw_state = LIBMT_CLIENT_DRAW_START_PLAYING; in game_loop()
248 player->draw_state = LIBMT_CLIENT_DRAW_PAUSE_END_TURN; in game_loop()
254 player->draw_state = LIBMT_CLIENT_DRAW_OTHER_PLAY; in game_loop()
286 player->draw_state = LIBMT_CLIENT_DRAW_PAUSE_END_GAME; in game_loop()
299 player->draw_state = LIBMT_CLIENT_DRAW_NONE_TAKE; in game_loop()
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/indicatif-0.16.2/src/
H A Dstate.rs234 let draw_state = ProgressDrawState { in draw() localVariable
245 self.draw_target.apply_draw_state(draw_state) in draw()
297 pub(crate) draw_state: Option<ProgressDrawState>, field
461 pub(crate) fn apply_draw_state(&mut self, draw_state: ProgressDrawState) -> io::Result<()> { in apply_draw_state()
468 } if draw_state.finished || draw_state.force_draw || last_draw.elapsed() > rate => { in apply_draw_state()
475 .send((idx, draw_state)) in apply_draw_state()
482 if !draw_state.lines.is_empty() && draw_state.move_cursor { in apply_draw_state()
488 draw_state.draw_to_term(term)?; in apply_draw_state()
490 *last_line_count = draw_state.lines.len() - draw_state.orphan_lines; in apply_draw_state()
H A Dprogress_bar.rs258 let draw_state = ProgressDrawState { in println() localVariable
600 draw_state: None, in push()
684 force_draw |= draw_state.finished || draw_state.force_draw; in join_impl()
687 if draw_state.finished { in join_impl()
691 if draw_state.lines.is_empty() { in join_impl()
699 let split = draw_state.lines.split_at(draw_state.orphan_lines); in join_impl()
703 draw_state.lines in join_impl()
706 let draw_state = ProgressDrawState { in join_impl() localVariable
709 ..draw_state in join_impl()
713 obj.draw_state = Some(draw_state); in join_impl()
[all …]
/dports/www/xh/xh-0.14.1/cargo-crates/indicatif-0.16.2/src/
H A Dstate.rs234 let draw_state = ProgressDrawState { in draw() localVariable
245 self.draw_target.apply_draw_state(draw_state) in draw()
297 pub(crate) draw_state: Option<ProgressDrawState>, field
461 pub(crate) fn apply_draw_state(&mut self, draw_state: ProgressDrawState) -> io::Result<()> { in apply_draw_state()
468 } if draw_state.finished || draw_state.force_draw || last_draw.elapsed() > rate => { in apply_draw_state()
475 .send((idx, draw_state)) in apply_draw_state()
482 if !draw_state.lines.is_empty() && draw_state.move_cursor { in apply_draw_state()
488 draw_state.draw_to_term(term)?; in apply_draw_state()
490 *last_line_count = draw_state.lines.len() - draw_state.orphan_lines; in apply_draw_state()
H A Dprogress_bar.rs258 let draw_state = ProgressDrawState { in println() localVariable
600 draw_state: None, in push()
684 force_draw |= draw_state.finished || draw_state.force_draw; in join_impl()
687 if draw_state.finished { in join_impl()
691 if draw_state.lines.is_empty() { in join_impl()
699 let split = draw_state.lines.split_at(draw_state.orphan_lines); in join_impl()
703 draw_state.lines in join_impl()
706 let draw_state = ProgressDrawState { in join_impl() localVariable
709 ..draw_state in join_impl()
713 obj.draw_state = Some(draw_state); in join_impl()
[all …]
/dports/benchmarks/hyperfine/hyperfine-1.12.0/cargo-crates/indicatif-0.16.2/src/
H A Dstate.rs234 let draw_state = ProgressDrawState { in draw() localVariable
245 self.draw_target.apply_draw_state(draw_state) in draw()
297 pub(crate) draw_state: Option<ProgressDrawState>, field
461 pub(crate) fn apply_draw_state(&mut self, draw_state: ProgressDrawState) -> io::Result<()> { in apply_draw_state()
468 } if draw_state.finished || draw_state.force_draw || last_draw.elapsed() > rate => { in apply_draw_state()
475 .send((idx, draw_state)) in apply_draw_state()
482 if !draw_state.lines.is_empty() && draw_state.move_cursor { in apply_draw_state()
488 draw_state.draw_to_term(term)?; in apply_draw_state()
490 *last_line_count = draw_state.lines.len() - draw_state.orphan_lines; in apply_draw_state()
/dports/devel/py-hypothesmith/hypothesmith-0.2.0/src/hypothesmith/
H A Dsyntactic.py111 def draw_symbol(self, data, symbol, draw_state): # type: ignore argument
112 count = len(draw_state.result)
113 super().draw_symbol(data, symbol, draw_state)
117 source="".join(draw_state.result[count:]),
140 source_code = ascii("".join(draw_state.result[count:]))
147 def gen_ignore(self, data, draw_state): # type: ignore argument
158 super().gen_ignore(data, draw_state)
/dports/graphics/aloadimage/arcan-0.6.1/src/tools/aloadimage/
H A Daloadimage.c34 struct draw_state { struct
73 static struct draw_state* last_ds; argument
355 static void clean_queue(struct draw_state* ds) in clean_queue()
480 bool(*ptr)(struct draw_state*);
483 static bool step_next(struct draw_state* state) in step_next()
489 static bool step_prev(struct draw_state* state) in step_prev()
495 static bool source_size(struct draw_state* state) in source_size()
504 static bool server_size(struct draw_state* state) in server_size()
515 static bool pl_toggle(struct draw_state* state) in pl_toggle()
697 static void wait_for_event(struct draw_state* ds) in wait_for_event()
[all …]
/dports/sysutils/acfgfs/arcan-0.6.1/src/tools/aloadimage/
H A Daloadimage.c34 struct draw_state { struct
73 static struct draw_state* last_ds; argument
355 static void clean_queue(struct draw_state* ds) in clean_queue()
480 bool(*ptr)(struct draw_state*);
483 static bool step_next(struct draw_state* state) in step_next()
489 static bool step_prev(struct draw_state* state) in step_prev()
495 static bool source_size(struct draw_state* state) in source_size()
504 static bool server_size(struct draw_state* state) in server_size()
515 static bool pl_toggle(struct draw_state* state) in pl_toggle()
697 static void wait_for_event(struct draw_state* ds) in wait_for_event()
[all …]
/dports/x11/arcan-trayicon/arcan-0.6.1/src/tools/aloadimage/
H A Daloadimage.c34 struct draw_state { struct
73 static struct draw_state* last_ds; argument
355 static void clean_queue(struct draw_state* ds) in clean_queue()
480 bool(*ptr)(struct draw_state*);
483 static bool step_next(struct draw_state* state) in step_next()
489 static bool step_prev(struct draw_state* state) in step_prev()
495 static bool source_size(struct draw_state* state) in source_size()
504 static bool server_size(struct draw_state* state) in server_size()
515 static bool pl_toggle(struct draw_state* state) in pl_toggle()
697 static void wait_for_event(struct draw_state* ds) in wait_for_event()
[all …]
/dports/x11/aclip/arcan-0.6.1/src/tools/aloadimage/
H A Daloadimage.c34 struct draw_state { struct
73 static struct draw_state* last_ds; argument
355 static void clean_queue(struct draw_state* ds) in clean_queue()
480 bool(*ptr)(struct draw_state*);
483 static bool step_next(struct draw_state* state) in step_next()
489 static bool step_prev(struct draw_state* state) in step_prev()
495 static bool source_size(struct draw_state* state) in source_size()
504 static bool server_size(struct draw_state* state) in server_size()
515 static bool pl_toggle(struct draw_state* state) in pl_toggle()
697 static void wait_for_event(struct draw_state* ds) in wait_for_event()
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/piston2d-gfx_graphics-0.61.0/examples/
H A Ddraw_state.rs15 use graphics::draw_state::Blend;
74 .draw([0.0, 0.0, 100.0, 100.0], &c.draw_state, c.transform, g); in main()
76 let draw_state = c.draw_state.blend(blends[blend]); in main() localVariable
78 .draw([50.0, 50.0, 100.0, 100.0], &draw_state, c.transform, g); in main()
82 let clipped = c.draw_state.scissor([100, 100, 100, 100]); in main()

123456