Home
last modified time | relevance | path

Searched refs:seg_width (Results 1 – 20 of 20) sorted by relevance

/dports/misc/gpsim/gpsim-0.31.0/extras/lcd/
H A Draw_lcd.cc200 seg_width = width_factor * w; in build_segments()
202 hskip = seg_width * 0.125; in build_segments()
238 pts[3].y = pts[4].y = seg_width; in build_segments()
263 pts[1].y = seg_width + dy2; in build_segments()
267 pts[5].y = seg_width - dy1; in build_segments()
279 pts[4].y = h - seg_width + dy2; in build_segments()
280 pts[5].y = midpt + seg_width / 2; in build_segments()
289 pts[1].y = seg_width - dy2; in build_segments()
293 pts[5].y = seg_width + dy1; in build_segments()
303 pts[2].y = h - seg_width + dy1; in build_segments()
[all …]
/dports/misc/gpsim/gpsim-0.31.0/modules/
H A Dled.cc232 seg_width = width_factor * w; in build_segments()
234 hskip = seg_width * 0.125; in build_segments()
270 pts[3].y = pts[4].y = seg_width; in build_segments()
295 pts[1].y = seg_width + dy2; in build_segments()
299 pts[5].y = seg_width - dy1; in build_segments()
311 pts[4].y = h - seg_width + dy2; in build_segments()
312 pts[5].y = midpt + seg_width / 2; in build_segments()
321 pts[1].y = seg_width - dy2; in build_segments()
325 pts[5].y = seg_width + dy1; in build_segments()
335 pts[2].y = h - seg_width + dy1; in build_segments()
[all …]
/dports/games/frogatto/frogatto-1.3.1/src/
H A Dutility_render_level.cpp55 const int seg_width = graphics::screen_width(); in UTILITY() local
60 texture_frame_buffer::init(seg_width, seg_height); in UTILITY()
63 for(int x = lvl->boundaries().x(); x < lvl->boundaries().x2(); x += seg_width) { in UTILITY()
71 lvl->draw(x, y, seg_width, seg_height); in UTILITY()
79 …graphics::surface s(SDL_CreateRGBSurface(SDL_SWSURFACE, seg_width, seg_height, 24, SURFACE_MASK_RG… in UTILITY()
80 glReadPixels(0, 0, seg_width, seg_height, GL_RGB, GL_UNSIGNED_BYTE, s->pixels); in UTILITY()
85 unsigned char* s1 = pixels + n*seg_width*3; in UTILITY()
86 unsigned char* s2 = pixels + (seg_height-n-1)*seg_width*3; in UTILITY()
87 for(int m = 0; m != seg_width*3; ++m) { in UTILITY()
92 SDL_Rect src_rect = {0, 0, seg_width, seg_height}; in UTILITY()
H A Dsolid_map.cpp237 const int seg_width = (area_.w()*1024)/(offsets.size()-1); in apply_offsets() local
240 const int segment = pos/seg_width; in apply_offsets()
244 const int partial = pos%seg_width; in apply_offsets()
245 …const int offset = (partial*offsets[segment+1]*2 + (seg_width-partial)*offsets[segment]*2)/seg_wid… in apply_offsets()
H A Dlevel.cpp559 const int seg_width = segment_width_ > 0 ? segment_width_ : boundaries_.w(); in finish_loading() local
563 for(int x = boundaries_.x(); x < boundaries_.x2(); x += seg_width) { in finish_loading()
565 const rect bounds(x, y, seg_width, seg_height); in finish_loading()
677 const int seg_width = segment_width_ > 0 ? segment_width_ : boundaries_.w(); in finish_loading() local
681 for(int x = boundaries_.x(); x < boundaries_.x2(); x += seg_width) { in finish_loading()
684 …if(!obj->is_human() && obj->midpoint().x >= x && obj->midpoint().x < x + seg_width && obj->midpoin… in finish_loading()
H A Dcustom_object.cpp4453 const int seg_width = (area.w()*1024)/(platform_offsets_.size()-1); in platform_rect_at() local
4454 const size_t segment = pos/seg_width; in platform_rect_at()
4457 const int partial = pos%seg_width; in platform_rect_at()
4459 …fset = (partial*platform_offsets_[segment+1] + (seg_width-partial)*platform_offsets_[segment])/seg… in platform_rect_at()
H A Deditor.cpp3170 const int seg_width = lvl_->segment_width() ? lvl_->segment_width() : lvl_->boundaries().w(); in draw_gui() local
3176 for(int xpos = boundaries.x(); xpos < boundaries.x2(); xpos += seg_width) { in draw_gui()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/general/
H A Dline-aa-width.c90 int seg_width = 30; in piglit_display() local
115 for (x1 = 0; x1 < piglit_width; x1 += seg_width) { in piglit_display()
116 int x2 = x1 + seg_width - 2; in piglit_display()
138 for (x1 = 2; x1 < piglit_width; x1 += seg_width) { in piglit_display()
139 int x2 = x1 + seg_width - 5; in piglit_display()
/dports/x11-clocks/dclock/dclock/
H A DDclock.c783 1 + seg_width/2, 0);
786 1 + seg_width/2, 0);
804 1 + seg_width/2, FADE_ITER);
807 1 + seg_width/2, FADE_ITER);
934 pts[1].y = seg_width + dy2;
938 pts[5].y = seg_width - dy1;
951 pts[4].y = h - seg_width + dy2;
952 pts[5].y = midpt + seg_width/2;
962 pts[1].y = seg_width - dy2;
963 pts[2].y = midpt - seg_width/2;
[all …]
/dports/math/py-PyWavelets/pywt-1.2.0/pywt/
H A D_dwt.py490 seg_width = vsize_nonpad
495 min(r_edge + 1 + seg_width, vp.size))
498 r_edge += seg_width
504 segment_slice = slice(max(0, l_edge - seg_width), l_edge)
507 l_edge -= seg_width
/dports/graphics/drawing/drawing-0.8.4/src/tools/classic_tools/brushes/
H A Dbrush_simple.py96 seg_width = 0
98 seg_width = (p2['p'] + pt['p']) / 2
101 widths.append(base_width * seg_width * 2)
/dports/x11-toolkits/lesstif/lesstif-0.95.2/lib/Xm-2.1/
H A DXmString.c2729 seg_width = log.width; in _XmStringDraw()
2825 current_x += seg_width; in _XmStringDraw()
2895 line_width += seg_width; in _XmStringDrawImage()
2999 seg_width = in _XmStringDrawImage()
3012 seg_width = log.width; in _XmStringDrawImage()
3024 seg_width = ext.width; in _XmStringDrawImage()
3193 line_width += seg_width; in _XmStringDrawUnderline()
3297 seg_width = in _XmStringDrawUnderline()
3310 seg_width = log.width; in _XmStringDrawUnderline()
3322 seg_width = ext.width; in _XmStringDrawUnderline()
[all …]
/dports/math/pspp/pspp-1.4.1/src/data/
H A Dsys-file-writer.c562 int seg_width = sfm_segment_alloc_width (width, i); in write_variable() local
563 struct fmt_spec fmt = fmt_for_output (FMT_A, MAX (seg_width, 1), 0); in write_variable()
566 write_int (w, seg_width); /* Width. */ in write_variable()
569 write_format (w, fmt, seg_width); /* Print format. */ in write_variable()
570 write_format (w, fmt, seg_width); /* Write format. */ in write_variable()
573 write_variable_continuation_records (w, seg_width); in write_variable()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Doutput.h657 const int seg_width = static_cast<int>( factor * bar_width ) - used_width; in get_labeled_bar() local
659 if( seg_width <= 0 ) { in get_labeled_bar()
662 used_width += seg_width; in get_labeled_bar()
663 result.insert( result.end(), seg_width, it->second ); in get_labeled_bar()
H A Dranged.cpp1206 const int seg_width = static_cast<int>( factor * bar_width ) - used_width; in get_colored_bar() local
1208 if( seg_width <= 0 ) { in get_colored_bar()
1211 used_width += seg_width; in get_colored_bar()
1213 result.insert( result.end(), seg_width, std::get<1>( *it ) ); in get_colored_bar()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Doutput.h657 const int seg_width = static_cast<int>( factor * bar_width ) - used_width; in get_labeled_bar() local
659 if( seg_width <= 0 ) { in get_labeled_bar()
662 used_width += seg_width; in get_labeled_bar()
663 result.insert( result.end(), seg_width, it->second ); in get_labeled_bar()
H A Dranged.cpp1206 const int seg_width = static_cast<int>( factor * bar_width ) - used_width; in get_colored_bar() local
1208 if( seg_width <= 0 ) { in get_colored_bar()
1211 used_width += seg_width; in get_colored_bar()
1213 result.insert( result.end(), seg_width, std::get<1>( *it ) ); in get_colored_bar()
/dports/science/axom/axom-0.6.1/src/axom/primal/tests/
H A Dprimal_intersect.cpp275 for(int seg_width = 1; seg_width <= NVALS; ++seg_width) in TEST() local
283 double x_val = static_cast<double>(seg_width) / NVALS; in TEST()
288 bool expect_intersect = seg_pos >= 0 && ray_offset <= seg_width; in TEST()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objects/seq/
H A Dseq_align_mapper_base.cpp639 int seg_width = 1; in x_Init() local
654 seg_width = 3; in x_Init()
666 if (have_nuc && seg_width == 3) { in x_Init()
671 alnseg.m_Len *= seg_width; in x_Init()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objects/seq/
H A Dseq_align_mapper_base.cpp639 int seg_width = 1; in x_Init() local
654 seg_width = 3; in x_Init()
666 if (have_nuc && seg_width == 3) { in x_Init()
671 alnseg.m_Len *= seg_width; in x_Init()