Home
last modified time | relevance | path

Searched refs:centerx (Results 1 – 25 of 707) sorted by relevance

12345678910>>...29

/dports/math/abs/abs-src-0.908/Fig/
H A Dfig.c264 centerx = x1 + w;
269 x1 = centerx;
283 x3 = centerx;
289 x1 = centerx;
303 x3 = centerx;
312 x2 = centerx;
365 centerx = x1 + w;
370 x1 = centerx;
384 x3 = centerx;
390 x1 = centerx;
[all …]
/dports/net-mgmt/nagvis/nagvis-1.9.29/share/userfiles/gadgets/
H A Dstd_speedometer.php137 $centerx = $imgwidth / 2; variable
161 imagefilledarc($img,$centerx, $centery, $outerdia, $outerdia, 180, 0, $oGreen, IMG_ARC_EDGED);
166 …imagefilledarc($img, $centerx, $centery, $outerdia, $outerdia, 360 + $warnp, 0, $oYellow, IMG_ARC_…
171 …imagefilledarc($img,$centerx, $centery, $outerdia, $outerdia, 360 + $critp, 0, $oRed, IMG_ARC_EDGE…
175 imagearc($img, $centerx, $centery+1, $outerdia+2, $outerdia+2, 180, 0, $oBlack);
176 imagefilledarc($img, $centerx, $centery, $outerdia/10, $outerdia/10,180, 0, $oBlue, IMG_ARC_EDGED);
192 imageline($img, ($centerx-$outerdia/2-5), ($centery+1), ($centerx+$outerdia/2+5), ($centery+1), $oB…
193 imagestring($img, 1, ($centerx-$outerdia/2-15), ($centery-6), $min , $oBlack);
194 imagestring($img, 1, ($centerx+$outerdia/2+8), ($centery-6), $max, $oBlack);
204 …imageline($img, ($centerx-$bediffx), ($centery+$bediffy),($centerx-$bediffx1), ($centery+$bediffy1…
[all …]
H A Dstd_speedometer2.php183 $centerx = $offX + $imgwidth / 2; // center of graph, x-axis variable
252 imagefilledarc($img,$centerx, $centery, $outerdia, $outerdia, 180, 0, $oGreen, IMG_ARC_EDGED);
258 …imagefilledarc($img, $centerx, $centery, $outerdia, $outerdia, 360 + $warnp, 0, $oYellow, IMG_ARC_…
268 …imagefilledarc($img,$centerx, $centery, $outerdia, $outerdia, 360 + $critp, 0, $oRed, IMG_ARC_EDGE…
271 …imagefilledarc($img,$centerx, $centery, $outerdia, $outerdia, 180, 360 + $critp, $oRed, IMG_ARC_ED…
276 imagearc($img, $centerx, $centery+1, $outerdia+2, $outerdia+2, 180, 0, $oBlack);
277 imagefilledarc($img, $centerx, $centery, $innerrad, $innerrad, 180, 0, $oBlue, IMG_ARC_EDGED);
294 …imageline($img, ($centerx-$outerrad-5), ($centery+1), ($centerx+$outerrad+5), ($centery+1), $oBlac…
295 imagestring($img, 1, ($centerx-$outerrad-15), ($centery-6), 0, $oBlack);
296 imagestring($img, 1, ($centerx+$outerrad+8), ($centery-6), "$limit $uom", $oBlack);
[all …]
/dports/games/exult/exult-snapshot-v1.7.0.20211128/gamemgr/
H A Dbggame.cc849 FLASH_SHAPE2(centerx, centery, 0x23, i, 70); in scene_guardian()
931 sman->paint_shape(centerx, centery - dist, in scene_guardian()
1059 int x = centerx + rand() % 3 - 1; in scene_guardian()
1114 int centerx, centery; member in __anon4b53c8e10811::Hand_Handler
1346 sman->paint_shape(centerx, centery + 50, in scene_desk()
1356 sman->paint_shape(centerx - 194, centery - i, in scene_desk()
1358 sman->paint_shape(centerx - 194, centery - i, in scene_desk()
1414 sman->paint_shape(centerx + 1, centery + 1, in scene_moongate()
1416 sman->paint_shape(centerx + 1, centery + 1, in scene_moongate()
1418 sman->paint_shape(centerx + 1, centery + 1, in scene_moongate()
[all …]
/dports/graphics/cfdg/cfdg-3.3_1/src-common/
H A Dast.cpp706 centerx = data[1]; in processSymmSpec()
724 centerx = data[2]; in processSymmSpec()
752 … double cx = fabs(centerx + 0.25 * tile.sx) < fabs(centerx - 0.25 * tile.sx) ? in processSymmSpec()
753 centerx + 0.25 * tile.sx : centerx - 0.25 * tile.sx; in processSymmSpec()
820 centerx = data[1]; in processSymmSpec()
835 cx2 = centerx; in processSymmSpec()
841 cx2 = centerx; in processSymmSpec()
859 double cx = fabs(centerx + 0.25 * tile.sx) < fabs(centerx - 0.25 * tile.sx) ? in processSymmSpec()
860 centerx + 0.25 * tile.sx : centerx - 0.25 * tile.sx; in processSymmSpec()
884 centerx = data[1]; in processSymmSpec()
[all …]
/dports/games/libkdegames/libkdegames-21.12.3/src/carddecks/svg-xskat-german/
H A Dxskat.generator37 my $centerx = $width / 2;
56 $centerx - 2 * ($suitsize + 3) - $off,
57 $centerx - ($suitsize - 2) - $off,
58 $centerx - $off,
59 $centerx + ($suitsize - 2)- $off,
60 $centerx + 2 * ($suitsize + 3) - $off);
131 <use x="$centerx" y="$centery" xlink:href="#shield" />
234 <use x="$centerx" y="$centery" xlink:href="#img_jack_$suit" />
241 <use x="$centerx" y="$centery" xlink:href="#img_queen_$suit" />
248 <use x="$centerx" y="$centery" xlink:href="#img_king_$suit" />
[all …]
/dports/x11-themes/gtk-engines2/gtk-engines-2.20.2/engines/thinice/src/
H A Dthinice_misc.c179 gdouble centerx, centery, thick; in thinice_slash_two() local
182 centerx = width/2 + x + 0.5; in thinice_slash_two()
198 cairo_move_to(cr, centerx - thick + ax1, centery + thick + ay1); in thinice_slash_two()
199 cairo_line_to(cr, centerx + thick + ax1, centery - thick + ay1); in thinice_slash_two()
220 cairo_line_to(cr, centerx + thick + ax1, centery - thick + ay1); in thinice_slash_two()
239 gint centerx, centery, thick; in thinice_slash_one() local
241 centerx = width/2 + x + 0.5; in thinice_slash_one()
249 cairo_move_to(cr, centerx - thick, centery + thick); in thinice_slash_one()
250 cairo_line_to(cr, centerx + thick, centery - thick); in thinice_slash_one()
254 cairo_move_to(cr, centerx - thick, centery + thick - 1); in thinice_slash_one()
[all …]
/dports/graphics/py-pycha/pycha-0.8.1/pycha/
H A Dpie.py31 self.centerx = 0
88 cx.move_to(self.centerx, self.centery)
91 cx.line_to(self.centerx, self.centery)
179 def draw(self, cx, centerx, centery, radius): argument
181 cx.move_to(centerx, centery)
234 centerx = self.chart.x + self.chart.w * 0.5
269 return centerx + (centery - y) / tan
272 return centery - tan * (x - centerx)
295 min_radius = abs(centerx - (x + width))
315 min_radius = abs((x - width) - centerx)
[all …]
H A Dring.py31 self.centerx = 0
114 cx.move_to(self.centerx, self.centery)
117 cx.line_to(self.centerx, self.centery)
145 cx.move_to(self.centerx, self.centery)
219 def draw(self, cx, centerx, centery, radius): argument
221 cx.move_to(centerx, centery)
285 return centerx + (centery - y) / tan
288 return centery - tan * (x - centerx)
311 min_radius = abs(centerx - (x + width))
331 min_radius = abs((x - width) - centerx)
[all …]
/dports/games/abuse_sdl/abuse-0.8/src/
H A Dautomap.cpp28 window_xend,window_yend,centerx,centery, in draw() local
40 centerx=(window_xstart+window_xend)/2; in draw()
50 draw_xstart=centerx-(x*AUTOTILE_WIDTH/f_wid); in draw()
53 draw_xstart=centerx-(x*AUTOTILE_WIDTH/f_wid-sx*AUTOTILE_WIDTH); in draw()
67 automap_window->screen->AddDirty(centerx,centery,centerx + 1,centery + 1); in draw()
69 automap_window->screen->PutPixel(vec2i(centerx,centery),255); in draw()
71 automap_window->screen->PutPixel(vec2i(centerx,centery),27); in draw()
147 automap_window->screen->PutPixel(vec2i(centerx,centery),255); in draw()
149 automap_window->screen->PutPixel(vec2i(centerx,centery),27); in draw()
/dports/german/BBBike/BBBike-3.18/lib/Tk/
H A DArrow.pm116 my($centerx, $centery) = ($w->cget(-width)/2, $w->cget(-height)/2);
129 $w->createLine($centerx+($c1x-$mx)/$len1*($centerx-1),
131 $centerx, $centery,
138 $w->createLine($centerx, $centery,
139 $centerx+($c2x-$mx)/$len2*($centerx-1),
148 $w->createLine($centerx, $centery, $centerx, $centery,
/dports/games/yadex/yadex-1.7.0/src/
H A Dx_rotate.cc67 int centerx, centery; in RotateAndScaleObjects() local
77 centre_of_things (obj, &centerx, &centery); in RotateAndScaleObjects()
80 dx = Things[cur->objnum].xpos - centerx; in RotateAndScaleObjects()
83 Things[cur->objnum].xpos = centerx + dx; in RotateAndScaleObjects()
90 centre_of_vertices (obj, &centerx, &centery); in RotateAndScaleObjects()
93 dx = Vertices[cur->objnum].x - centerx; in RotateAndScaleObjects()
96 Vertices[cur->objnum].x = (centerx + dx + /*4*/ 2) & ~/*7*/3; in RotateAndScaleObjects()
/dports/databases/sqlite3/sqlite-src-3350500/src/
H A Dtest_rtree.c39 double centerx; member
95 pCircle->centerx = p->aParam[0]; in circle_geom()
110 pCircle->aBox[0].xmin = pCircle->centerx; in circle_geom()
111 pCircle->aBox[0].xmax = pCircle->centerx; in circle_geom()
130 d2 = (x-pCircle->centerx)*(x-pCircle->centerx); in circle_geom()
203 pCircle->centerx = p->aParam[0]; in circle_query_func()
209 pCircle->centerx = 0.0; in circle_query_func()
217 pCircle->centerx = atof(&z[2]); in circle_query_func()
246 pCircle->aBox[0].xmin = pCircle->centerx; in circle_query_func()
247 pCircle->aBox[0].xmax = pCircle->centerx; in circle_query_func()
[all …]
/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Dtest_rtree.c39 double centerx; member
95 pCircle->centerx = p->aParam[0]; in circle_geom()
110 pCircle->aBox[0].xmin = pCircle->centerx; in circle_geom()
111 pCircle->aBox[0].xmax = pCircle->centerx; in circle_geom()
130 d2 = (x-pCircle->centerx)*(x-pCircle->centerx); in circle_geom()
203 pCircle->centerx = p->aParam[0]; in circle_query_func()
209 pCircle->centerx = 0.0; in circle_query_func()
217 pCircle->centerx = atof(&z[2]); in circle_query_func()
246 pCircle->aBox[0].xmin = pCircle->centerx; in circle_query_func()
247 pCircle->aBox[0].xmax = pCircle->centerx; in circle_query_func()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/src/
H A Dtest_rtree.c39 double centerx; member
95 pCircle->centerx = p->aParam[0]; in circle_geom()
110 pCircle->aBox[0].xmin = pCircle->centerx; in circle_geom()
111 pCircle->aBox[0].xmax = pCircle->centerx; in circle_geom()
130 d2 = (x-pCircle->centerx)*(x-pCircle->centerx); in circle_geom()
203 pCircle->centerx = p->aParam[0]; in circle_query_func()
209 pCircle->centerx = 0.0; in circle_query_func()
217 pCircle->centerx = atof(&z[2]); in circle_query_func()
246 pCircle->aBox[0].xmin = pCircle->centerx; in circle_query_func()
247 pCircle->aBox[0].xmax = pCircle->centerx; in circle_query_func()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/
H A Dtest_rtree.c39 double centerx; member
95 pCircle->centerx = p->aParam[0]; in circle_geom()
110 pCircle->aBox[0].xmin = pCircle->centerx; in circle_geom()
111 pCircle->aBox[0].xmax = pCircle->centerx; in circle_geom()
130 d2 = (x-pCircle->centerx)*(x-pCircle->centerx); in circle_geom()
203 pCircle->centerx = p->aParam[0]; in circle_query_func()
209 pCircle->centerx = 0.0; in circle_query_func()
217 pCircle->centerx = atof(&z[2]); in circle_query_func()
246 pCircle->aBox[0].xmin = pCircle->centerx; in circle_query_func()
247 pCircle->aBox[0].xmax = pCircle->centerx; in circle_query_func()
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/contrib/
H A Dcircle_cannon_dodgers_generate.cpp8 const int centerx = 512 * 64; variable
83 x = static_cast<int>(cannonradius * cos(a) + centerx); in main()
95 x = static_cast<int>(cos(a)*cannonx[i] - sin(a)*cannony[i] + centerx); in main()
109 x = static_cast<int>(radius * cos(a) + centerx + 0.5); in main()
126 cout << "<Base team=\"2\" x=\"" << static_cast<int>(centerx - 350*64) << "\" y=\"" in main()
128 cout << "<Base team=\"2\" x=\"" << static_cast<int>(centerx) << "\" y=\"" in main()
130 cout << "<Base team=\"2\" x=\"" << static_cast<int>(centerx + 350*64) << "\" y=\"" in main()
132 cout << "<Base team=\"2\" x=\"" << static_cast<int>(centerx) << "\" y=\"" in main()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/
H A DgeomObject.cpp47 …sphere ( double x = 0, double y = 0, double z = 0, double r = 1 ) : centerx ( x ), centery ( y ), … in sphere()
54 … direction.push_back ( oldcoords[0] - centerx ); direction.push_back ( oldcoords[1] - centery ); in project_points2geom()
62 … newcoords[0] = centerx + direction[0] * radius; newcoords[1] = centery + direction[1] * radius; in project_points2geom()
88 double centerx, centery, centerz, radius; member in sphere
94 … x = 0, double y = 0, double z = 0, double aa = 0.3, double cc = 1.0 ) : centerx ( x ), centery ( … in torus()
99 … double transfer[3] = {oldcoords[0] - centerx, oldcoords[1] - centery, oldcoords[2] - centerz}; in project_points2geom()
101 …double tubecenter[3] = {c* transfer[0] / twodnrm + centerx, c* transfer[1] / twodnrm + centery, ce… in project_points2geom()
114 double centerx, centery, centerz, a, c; member in torus
/dports/biology/p5-Bio-Graphics/Bio-Graphics-2.40/lib/Bio/Graphics/Glyph/
H A Dex.pm32 my $centerx = abs($x2 - $x1) + $minx;
35 $gd->line($centerx-$arm, $centery-$arm, $centerx+$arm, $centery+$arm, $fg);
36 $gd->line($centerx-$arm, $centery+$arm, $centerx+$arm, $centery-$arm, $fg);
/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Dexultmenu.cc82 ignore_unused_variable_warning(centerx); in maximum_size()
139 centerx = gwin->get_width() / 2; in calc_win()
237 xpos = centerx - max_width * (num_entries - 1) / 2; in create_main_menu()
288 xpos = centerx - max_width * (num_entries - 1) / 2; in create_mods_menu()
323 logox = centerx - exultlogo->get_width() / 2; in show_mods_menu()
372 centerx, topy + 20, "WARNING"); in run()
383 centerx, topy + 60, games_missing_msg); in run()
385 centerx, topy + 70, "and restart Exult."); in run()
388 centerx, topy + 100, "Touch screen for help!"); in run()
425 int logox = centerx - exultlogo->get_width() / 2; in run()
[all …]
/dports/devel/p5-SDL/SDL-2.548/lib/SDLx/
H A DRect.pm66 sub centerx { subroutine
145 my ( $self, $centerx, $centery ) = (@_);
150 ) unless ( defined $centerx or defined $centery );
152 if ( defined $centerx ) {
153 $self->left( $centerx - ( $self->width >> 1 ) ); # x = centerx - (width/2)
213 my ( $self, $centerx, $y ) = (@_);
216 unless ( defined $centerx or defined $y );
221 if ( defined $centerx ) {
228 my ( $self, $centerx, $bottom ) = (@_);
234 unless ( defined $centerx or defined $bottom );
[all …]
/dports/games/openbor3482/openbor-2c1ecd7/engine/source/gamelib/
H A Dtransform.h11 void gfx_draw_rotate(s_screen* dest, gfx_entry* src, int x, int y, int centerx, int centery, s_draw…
12 void gfx_draw_scale(s_screen *dest, gfx_entry* src, int x, int y, int centerx, int centery, s_drawm…
13 void gfx_draw_water(s_screen *dest, gfx_entry* src, int x, int y, int centerx, int centery, s_drawm…
14 void gfx_draw_plane(s_screen *dest, gfx_entry* src, int x, int y, int centerx, int centery, s_drawm…
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/
H A Dscreeneffect.cpp55 centerx = x; in Start()
83 rel_x = (star->centerx - map.displayed_xscroll); in Draw()
199 int centerx = (SCREEN_WIDTH/2)-8; in Draw() local
202 for(x=0;x<centerx+16;x+=16) in Draw()
212 draw_sprite(centerx+x, centery+y, fade.sprite, frame); in Draw()
213 draw_sprite(centerx-x, centery+y, fade.sprite, frame); in Draw()
214 draw_sprite(centerx+x, centery-y, fade.sprite, frame); in Draw()
215 draw_sprite(centerx-x, centery-y, fade.sprite, frame); in Draw()
/dports/x11/xlockmore/xlockmore-5.67/modes/
H A Drotor.c96 int centerx, centery; member
138 rp->prevcenterx = rp->centerx; in init_rotor()
141 rp->centerx = MI_WIDTH(mi) / 2; in init_rotor()
164 rp->prevcenterx = rp->centerx * 12; in init_rotor()
192 rp->save[x].x = rp->centerx; in init_rotor()
213 rp->lastx = rp->centerx; in init_rotor()
247 thisx = rp->centerx; in draw_rotor()
293 x_1 = x_1 * rp->centerx / rp->prevcenterx; in draw_rotor()
294 x_2 = x_2 * rp->centerx / rp->prevcenterx; in draw_rotor()
313 x_1 = x_1 * rp->centerx / rp->prevcenterx; in draw_rotor()
[all …]
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/
H A Drotor.c97 int centerx, centery; member
140 rp->prevcenterx = rp->centerx; in init_rotor()
143 rp->centerx = MI_WIDTH(mi) / 2; in init_rotor()
166 rp->prevcenterx = rp->centerx * 12; in init_rotor()
194 rp->save[x].x = rp->centerx; in init_rotor()
215 rp->lastx = rp->centerx; in init_rotor()
249 thisx = rp->centerx; in draw_rotor()
295 x_1 = x_1 * rp->centerx / rp->prevcenterx; in draw_rotor()
296 x_2 = x_2 * rp->centerx / rp->prevcenterx; in draw_rotor()
315 x_1 = x_1 * rp->centerx / rp->prevcenterx; in draw_rotor()
[all …]

12345678910>>...29