Home
last modified time | relevance | path

Searched refs:xcoord (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Dpoints.h92 gap.xcoord = xcoord - pt.xcoord; in pt_to_pt_sqdist()
202 xcoord = icoord.xcoord; in ELISTIZEH()
235 gap.xcoord = xcoord - pt.xcoord; in ELISTIZEH()
361 sum.xcoord = op1.xcoord + op2.xcoord;
375 op1.xcoord += op2.xcoord;
391 sum.xcoord = op1.xcoord - op2.xcoord;
405 op1.xcoord -= op2.xcoord;
561 sum.xcoord = op1.xcoord + op2.xcoord;
575 op1.xcoord += op2.xcoord;
591 sum.xcoord = op1.xcoord - op2.xcoord;
[all …]
H A Dpoints.cpp38 xcoord /= len; in normalise()
48 return f->Serialize(&xcoord) && f->Serialize(&ycoord); in Serialize()
59 xcoord = x / factor; in set_with_shrink()
80 if (!tesseract::DeSerialize(fp, &xcoord)) { in DeSerialize()
87 ReverseN(&xcoord, sizeof(xcoord)); in DeSerialize()
100 int abs_x = abs(xcoord); in setup_render()
104 major_step->xcoord = sign(xcoord); in setup_render()
106 minor_step->xcoord = 0; in setup_render()
112 major_step->xcoord = 0; in setup_render()
114 minor_step->xcoord = sign(xcoord); in setup_render()
[all …]
/dports/biology/ncbi-toolkit/ncbi/tools/
H A Durktree.c514 max = ptrNode->xcoord; in GetMaximumTreeXcoord()
673 ptrNodeThis->xcoord = ptrNodeThis->ptrLevelLeft->xcoord + Xdelta; in SetAllCoordinates()
680 if ((ptrNodeThis->xcoord >= ptrNodeThis->ptrLevelRight->xcoord) && in SetAllCoordinates()
794 xdiff = ptrNodeCheck->ptrUp->xcoord - ptrNodeCheck->xcoord - Xdelta; in SetAllCoordinates()
825 ptrNode->xcoord = xcoord; in SetTheoreticalCoordinates()
828 if (xcoord >= xroot) in SetTheoreticalCoordinates()
833 xLcoord = xcoord; in SetTheoreticalCoordinates()
854 xRcoord = xcoord; in SetTheoreticalCoordinates()
876 ptrNode->xcoord = xcoord; in SetAllTheoreticalCoordinates()
885 xcoord, xcoord-xdelta, 0, xoffmax); in SetAllTheoreticalCoordinates()
[all …]
/dports/graphics/filmulator/filmulator-gui-0.11.1/filmulator-gui/core/
H A DmergeExps.cpp45 int xcoord; in merge_exps() local
52 if(input_image(ycoord,xcoord*3)/init_exp_factor < 60000 && in merge_exps()
55 temp_image(ycoord,xcoord*3) < 60000 && in merge_exps()
56 temp_image(ycoord,xcoord*3+1) < 60000 && in merge_exps()
57 temp_image(ycoord,xcoord*3+2) < 60000) in merge_exps()
59 input_sum += double(input_image(ycoord,xcoord*3)) in merge_exps()
60 + double(input_image(ycoord,xcoord*3+1)) in merge_exps()
61 + double(input_image(ycoord,xcoord*3+2)); in merge_exps()
62 temp_sum += double(temp_image(ycoord,xcoord*3)) in merge_exps()
63 + double(temp_image(ycoord,xcoord*3+1)) in merge_exps()
[all …]
/dports/games/powermanga/powermanga-0.93.1/src/
H A Dlonely_foes.c113 Sint32 xcoord, ycoord; in lonely_foe_add_gozuky() local
117 xcoord = in lonely_foe_add_gozuky()
141 spr->xcoord = (float) (xcoord - spr->img[0]->x_gc); in lonely_foe_add_gozuky()
227 foe->spr.xcoord in lonely_foe_add()
242 foe->spr.xcoord = in lonely_foe_add()
258 foe->spr.xcoord = in lonely_foe_add()
273 foe->spr.xcoord = in lonely_foe_add()
289 foe->spr.xcoord = in lonely_foe_add()
478 foe->spr.xcoord in lonely_foe_add()
553 foe->spr.xcoord in lonely_foe_add()
[all …]
H A Dgfx_wrapper.c68 put_pixel (char *dest, Sint32 xcoord, Sint32 ycoord, Sint32 color) in put_pixel() argument
72 "not implemented", dest, xcoord, ycoord, color); in put_pixel()
75 "not implemented", dest, xcoord, ycoord, color); in put_pixel()
119 draw_sprite (image * img, Uint32 xcoord, Uint32 ycoord) in draw_sprite() argument
152 draw_bitmap (bitmap * bmp, Uint32 xcoord, Uint32 ycoord) in draw_bitmap() argument
185 draw_bitmap_in_score (bitmap * bmp, Uint32 xcoord, Uint32 ycoord) in draw_bitmap_in_score() argument
192 xcoord * bytes_per_pixel; in draw_bitmap_in_score()
219 draw_bitmap_in_options (bitmap * bmp, Uint32 xcoord, Uint32 ycoord) in draw_bitmap_in_options() argument
252 draw_image_in_score (image * img, Uint32 xcoord, Uint32 ycoord) in draw_image_in_score() argument
259 xcoord * bytes_per_pixel; in draw_image_in_score()
[all …]
H A Dgfx_wrapper.h37 void draw_sprite_mask (Uint32 color, image * img, Uint32 xcoord,
39 void draw_sprite (image * img, Uint32 xcoord, Uint32 ycoord);
40 void draw_bitmap (bitmap * bmp, Uint32 xcoord, Uint32 ycoord);
42 void put_pixel (char *dest, Sint32 xcoord, Sint32 ycoord, Sint32 color);
45 void draw_empty_rectangle (char *oscreen, Sint32 xcoord, Sint32 ycoord,
48 void draw_bitmap_in_options (bitmap * bmp, Uint32 xcoord, Uint32 ycoord);
49 void draw_image_in_score (image * img, Uint32 xcoord, Uint32 ycoord);
50 void draw_image_in_score_repeat (image * img, Uint32 xcoord, Uint32 ycoord,
52 void draw_bitmap_in_score (bitmap * bmp, Uint32 xcoord, Uint32 ycoord);
H A Denemies.c473 spr->xcoord += in enemy_curve()
486 if (((Sint16) spr->xcoord + in enemy_curve()
803 (spr->xcoord + in enemy_lonely_soukee()
817 spr->xcoord = in enemy_lonely_soukee()
864 || (Sint16) spr->xcoord > in enemy_lonely_soukee()
1038 spr->xcoord += spr->speed; in enemy_lonely_towards_left()
1048 if (((Sint16) spr->xcoord + in enemy_lonely_towards_left()
1076 spr->xcoord += spr->speed; in enemy_lonely_towards_right()
1121 spr->xcoord += in enemy_lonely_follow_curve()
1163 spr->xcoord += foe->x_speed; in enemy_lonely_meteor()
[all …]
H A Dshots.c332 spr->xcoord = in shot_moving()
359 spr->xcoord += in shot_moving()
518 bullet->spr.xcoord += in shot_display()
577 bullet->spr.xcoord = in shot_guardian_add()
578 guard->spr.xcoord + in shot_guardian_add()
664 bullet->spr.xcoord = in shot_enemy_add()
665 foe->spr.xcoord + in shot_enemy_add()
841 bullet->spr.xcoord = in shot_satellite_add()
896 spr->xcoord = in shot_spaceship_add()
897 ship->spr.xcoord + in shot_spaceship_add()
[all …]
/dports/math/concorde/concorde/TOOLS/
H A Dfconvert.c73 &xcoord, &ycoord)) in main()
102 if (dumpdat (ncount, xcoord, ycoord)) in main()
111 if (xcoord) { in main()
112 CC_FREE (xcoord, double); in main()
191 *xcoord = (double *) NULL; in getgraph()
302 if (!(*xcoord)) { in getgraph()
315 CC_FREE(*xcoord, double); in getgraph()
332 (*xcoord)[i] = (double) xi; in getgraph()
345 (*xcoord)[i] = (double) xi; in getgraph()
372 if (!(*xcoord)) { in getgraph()
[all …]
/dports/print/ttf2pt1/ttf2pt1-3.4.4/
H A Dttf.c617 (xcoord[cs] + 2.0 * xcoord[cs + 1]) / 3.0, in draw_simple_glyf()
619 (2.0 * xcoord[cs + 1] + xcoord[ce]) / 3.0, in draw_simple_glyf()
631 (-xcoord[cs] + 4.0 * xcoord[cs + 1]) / 3.0, in draw_simple_glyf()
633 (4.0 * xcoord[cs + 2] - xcoord[ce]) / 3.0, in draw_simple_glyf()
648 (xcoord[cs + 1] + xcoord[cs + 2]) / 2.0, in draw_simple_glyf()
657 (xcoord[cs + 3] + xcoord[cs + 2]) / 2.0, in draw_simple_glyf()
681 (xcoord[cs + 1] + xcoord[cs + 2]) / 2.0, in draw_simple_glyf()
687 (xcoord[k - 1] + 5.0 * xcoord[k]) / 6.0, in draw_simple_glyf()
689 (5.0 * xcoord[k] + xcoord[k + 1]) / 6.0, in draw_simple_glyf()
691 (xcoord[k] + xcoord[k + 1]) / 2.0, in draw_simple_glyf()
[all …]
/dports/editors/yudit/yudit-3.0.7/doc/notinstalled/
H A Dttf2pfa.c634 xcoord[k] = xrel[k] + xcoord[k-1]; in draw_glyf()
696 (xcoord[cs]+2*xcoord[cs+1])/3, in draw_glyf()
698 (2*xcoord[cs+1]+xcoord[ce])/3, in draw_glyf()
707 (4*xcoord[cs+2]-xcoord[ce])/3, in draw_glyf()
714 (xcoord[cs]+2*xcoord[cs+1])/3, in draw_glyf()
718 (xcoord[cs+1]+xcoord[cs+2])/2, in draw_glyf()
725 (xcoord[cs+3]+xcoord[cs+2])/2, in draw_glyf()
730 (2*xcoord[cs+3]+xcoord[ce])/3, in draw_glyf()
739 (xcoord[cs]+2*xcoord[cs+1])/3, in draw_glyf()
743 (xcoord[cs+1]+xcoord[cs+2])/2, in draw_glyf()
[all …]
/dports/math/plplot-ada/plplot-5.15.0/examples/d/
H A Dx27d.d138 PLFLT[] xcoord, ycoord; in spiro()
153 xcoord.length = windings * steps + 1; in spiro()
159 xcoord[i] = ( params[0] - params[1] ) * cos( phi ) + params[2] * cos( phiw ); in spiro()
164 xmin = xcoord[i]; in spiro()
165 xmax = xcoord[i]; in spiro()
169 if ( xmin > xcoord[i] ) in spiro()
170 xmin = xcoord[i]; in spiro()
171 if ( xmax < xcoord[i] ) in spiro()
172 xmax = xcoord[i]; in spiro()
191 plfill( xcoord, ycoord ); in spiro()
[all …]
/dports/math/plplot-ada/plplot-5.15.0/examples/java/
H A Dx27.java152 double xcoord[];
179 xcoord = new double[windings * steps + 1];
186 xcoord[i] = ( params[0] - params[1] ) * Math.cos( phi ) + params[2] * Math.cos( phiw );
191 xmin = xcoord[i];
192 xmax = xcoord[i];
196 if ( xmin > xcoord[i] ) xmin = xcoord[i];
197 if ( xmax < xcoord[i] ) xmax = xcoord[i];
214 pls.fill( xcoord, ycoord );
216 pls.line( xcoord, ycoord );
/dports/math/plplot/plplot-5.15.0/examples/d/
H A Dx27d.d138 PLFLT[] xcoord, ycoord; in spiro()
153 xcoord.length = windings * steps + 1; in spiro()
159 xcoord[i] = ( params[0] - params[1] ) * cos( phi ) + params[2] * cos( phiw ); in spiro()
164 xmin = xcoord[i]; in spiro()
165 xmax = xcoord[i]; in spiro()
169 if ( xmin > xcoord[i] ) in spiro()
170 xmin = xcoord[i]; in spiro()
171 if ( xmax < xcoord[i] ) in spiro()
172 xmax = xcoord[i]; in spiro()
191 plfill( xcoord, ycoord ); in spiro()
[all …]
/dports/math/plplot/plplot-5.15.0/examples/java/
H A Dx27.java152 double xcoord[]; in spiro() local
179 xcoord = new double[windings * steps + 1]; in spiro()
186 xcoord[i] = ( params[0] - params[1] ) * Math.cos( phi ) + params[2] * Math.cos( phiw ); in spiro()
191 xmin = xcoord[i]; in spiro()
192 xmax = xcoord[i]; in spiro()
196 if ( xmin > xcoord[i] ) xmin = xcoord[i]; in spiro()
197 if ( xmax < xcoord[i] ) xmax = xcoord[i]; in spiro()
214 pls.fill( xcoord, ycoord ); in spiro()
216 pls.line( xcoord, ycoord ); in spiro()
/dports/math/plplot/plplot-5.15.0/examples/lua/
H A Dx27.lua49 xcoord = {}
63 xcoord[i] = (params[1]-params[2])*math.cos(phi) + params[3]*math.cos(phiw)
67 xmin = xcoord[i]
68 xmax = xcoord[i]
72 if xmin>xcoord[i] then xmin = xcoord[i] end
73 if xmax<xcoord[i] then xmax = xcoord[i] end
89 pl.fill(xcoord, ycoord)
91 pl.line(xcoord, ycoord)
/dports/math/plplot-ada/plplot-5.15.0/examples/lua/
H A Dx27.lua49 xcoord = {}
63 xcoord[i] = (params[1]-params[2])*math.cos(phi) + params[3]*math.cos(phiw)
67 xmin = xcoord[i]
68 xmax = xcoord[i]
72 if xmin>xcoord[i] then xmin = xcoord[i] end
73 if xmax<xcoord[i] then xmax = xcoord[i] end
89 pl.fill(xcoord, ycoord)
91 pl.line(xcoord, ycoord)
/dports/games/tecnoballz/tecnoballz-0.93.1/src/
H A Dsurface_sdl.cc125 surface_sdl::get_pixel_data (Sint32 xcoord, Sint32 ycoord) in get_pixel_data() argument
127 Sint32 offset = ycoord * surface->pitch + xcoord * bytes_per_pixel; in get_pixel_data()
149 surface_sdl::get_offset (Sint32 xcoord, Sint32 ycoord) in get_offset() argument
151 return ycoord * surface->pitch + xcoord * bytes_per_pixel; in get_offset()
181 { (Sint16) xcoord, (Sint16) ycoord, (Uint16) w, (Uint16) h }; in clear()
263 surface_sdl::blit_to_surface (surface_sdl * dest, Uint32 xcoord, in blit_to_surface() argument
268 { (Sint16) xcoord, (Sint16) ycoord, (Uint16) w, (Uint16) h }; in blit_to_surface()
384 surface_sdl::fill_shadow_rect (Uint32 xcoord, Uint32 ycoord, Uint32 w, in fill_shadow_rect() argument
392 char *data = get_pixel_data (xcoord, y); in fill_shadow_rect()
412 cut_to_surface (dest, xcoord, ycoord, w, h); in cut_to_surface()
[all …]
/dports/biology/phyml/phyml-3.3.20200621/src/
H A Ddraw.c149 draw->xcoord[n_root->num] = 0.0; in DR_Print_Tree_Postscript()
173 PhyML_Fprintf(fp,"%.1f %.1f mt\n",w->xcoord[a->num],w->ycoord[a->num]); in DR_Print_Tree_Postscript_Pre()
227 phydbl xa = w->xcoord[a->num]; in DR_Print_Tree_Postscript_Pre()
228 phydbl xd = MIN(w->xcoord[a->num] + 5,w->xcoord[d->num]); in DR_Print_Tree_Postscript_Pre()
237 PhyML_Fprintf(fp,"%.1f %.1f lt\n",w->xcoord[d->num],w->ycoord[d->num]); in DR_Print_Tree_Postscript_Pre()
279 …PhyML_Fprintf(fp,"%.1f %.1f mt\n",w->xcoord[d->num] - (w->xcoord[d->num] - w->xcoord[a->num])/2.,w… in DR_Print_Tree_Postscript_Pre()
328 …PhyML_Fprintf(fp,"%.1f %.1f mt\n",w->xcoord[d->num] - (w->xcoord[d->num] - w->xcoord[a->num])/2.,w… in DR_Print_Tree_Postscript_Pre()
381 w->xcoord[tree->n_root->num] = 0; in DR_Get_X_Coord()
443 w->xcoord = (phydbl *)mCalloc(2*tree->n_otu-1,sizeof(phydbl)); in DR_Make_Tdraw_Struct()
519 if(w->xcoord[i] > max_x) max_x = w->xcoord[i]; in DR_Get_Tree_Coord_Scaled()
[all …]
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/demos/
H A Dgamma.c117 GLfloat xcoord = (-1.0 + d*0.4); in gamma_ramp() local
121 glRectf(xcoord, yoffs, xcoord+0.4, yoffs + 0.5); in gamma_ramp()
124 glRectf(xcoord + 0.1, yoffs + 0.125, xcoord + 0.3, yoffs + 0.375); in gamma_ramp()
129 glRectf(xcoord + 0.1, yoffs + 0.125, xcoord + 0.3, yoffs + 0.375); in gamma_ramp()
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/demos/
H A Dgamma.c117 GLfloat xcoord = (-1.0 + d*0.4); in gamma_ramp() local
121 glRectf(xcoord, yoffs, xcoord+0.4, yoffs + 0.5); in gamma_ramp()
124 glRectf(xcoord + 0.1, yoffs + 0.125, xcoord + 0.3, yoffs + 0.375); in gamma_ramp()
129 glRectf(xcoord + 0.1, yoffs + 0.125, xcoord + 0.3, yoffs + 0.375); in gamma_ramp()
/dports/math/plplot-ada/plplot-5.15.0/examples/c/
H A Dx27c.c155 static PLFLT xcoord[NPNT + 1]; in spiro() local
184 xcoord[i] = ( params[0] - params[1] ) * cos( phi ) + params[2] * cos( phiw ); in spiro()
188 xmin = xcoord[i]; in spiro()
189 xmax = xcoord[i]; in spiro()
193 if ( xmin > xcoord[i] ) in spiro()
194 xmin = xcoord[i]; in spiro()
195 if ( xmax < xcoord[i] ) in spiro()
196 xmax = xcoord[i]; in spiro()
215 plfill( 1 + steps * windings, xcoord, ycoord ); in spiro()
219 plline( 1 + steps * windings, xcoord, ycoord ); in spiro()
/dports/math/plplot-ada/plplot-5.15.0/examples/tcl/
H A Dx27.tcl130 matrix xcoord f $n
136 xcoord $i = [expr {($param1-$param2)*cos($phi)+$param3*cos($phiw)}]
140 set xmin [xcoord 0]
141 set xmax [xcoord 0]
145 if { $xmin > [xcoord $i] } { set xmin [xcoord $i] }
146 if { $xmax < [xcoord $i] } { set xmax [xcoord $i] }
163 $w cmd plfill xcoord ycoord
165 $w cmd plline xcoord ycoord
/dports/math/plplot/plplot-5.15.0/examples/tcl/
H A Dx27.tcl130 matrix xcoord f $n
136 xcoord $i = [expr {($param1-$param2)*cos($phi)+$param3*cos($phiw)}]
140 set xmin [xcoord 0]
141 set xmax [xcoord 0]
145 if { $xmin > [xcoord $i] } { set xmin [xcoord $i] }
146 if { $xmax < [xcoord $i] } { set xmax [xcoord $i] }
163 $w cmd plfill xcoord ycoord
165 $w cmd plline xcoord ycoord

12345678910>>...22