Home
last modified time | relevance | path

Searched refs:centery (Results 1 – 25 of 716) sorted by relevance

12345678910>>...29

/dports/math/abs/abs-src-0.908/Fig/
H A Dfig.c265 centery = y1 + h;
274 y3 = centery;
280 y1 = centery;
294 y3 = centery;
300 y1 = centery;
313 y2 = centery;
366 centery = y1 + h;
375 y3 = centery;
381 y1 = centery;
395 y3 = centery;
[all …]
/dports/net-mgmt/nagvis/nagvis-1.9.29/share/userfiles/gadgets/
H A Dstd_speedometer.php138 $centery = $imgheight - 20; 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.php184 $centery = $offY + $imgheight - 20; // center of graph, y-axis variable
214 imagefilledrectangle ($img, $offX,$offY,$offX+$imgwidth-1,$centery+20,$colour);
252 imagefilledarc($img,$centerx, $centery, $outerdia, $outerdia, 180, 0, $oGreen, IMG_ARC_EDGED);
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/graphics/cfdg/cfdg-3.3_1/src-common/
H A Dast.cpp707 centery = data[2]; in processSymmSpec()
725 centery = data[3]; in processSymmSpec()
738 … double cy = fabs(centery + 0.25 * tile.sy) < fabs(centery - 0.25 * tile.sy) ? in processSymmSpec()
739 centery + 0.25 * tile.sy : centery - 0.25 * tile.sy; in processSymmSpec()
821 centery = data[2]; in processSymmSpec()
828 double cy = centery; in processSymmSpec()
830 double cy2 = centery; in processSymmSpec()
861 double cy = fabs(centery + 0.25 * tile.sy) < fabs(centery - 0.25 * tile.sy) ? in processSymmSpec()
862 centery + 0.25 * tile.sy : centery - 0.25 * tile.sy; in processSymmSpec()
885 centery = data[2]; in processSymmSpec()
[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
183 centery = height/2 + y + 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
242 centery = height/2 + y + 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/games/exult/exult-snapshot-v1.7.0.20211128/gamemgr/
H A Dbggame.cc876 centery - Eyes_Dist - s2->get_yabove()); in scene_guardian()
879 centery - Eyes_Dist - s2->get_yabove()); in scene_guardian()
930 centery - dist - fra->get_yabove()); in scene_guardian()
1060 int y = centery + rand() % 3 - 1; in scene_guardian()
1114 int centerx, centery; member in __anon4b53c8e10811::Hand_Handler
1141 centery + 78 - fra->get_yabove()); in backup_shape_bkgnd()
1146 centery + 78 - fra->get_yabove()); in restore_shape_bkgnd()
1346 sman->paint_shape(centerx, centery + 50, 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()
[all …]
H A Dsigame.cc553 sifont->draw_text(ibuf, topx + 40, centery + 74, get_text_msg(iree)); in play_intro()
555 sifont->draw_text(ibuf, topx + 40, centery + 74, get_text_msg(indeed)); in play_intro()
644 sman->paint_shape(centerx - 36, centery, sf); in play_intro()
653 sifont->center_text(ibuf, centerx, centery + 74, get_text_msg(soon_i)); in play_intro()
676 sman->paint_shape(centerx - 36, centery, sf); in play_intro()
749 sifont->center_text(ibuf, centerx, centery + 74, zot); in play_intro()
953 void show_sub(Image_buffer8 *ibuf, int centerx, int centery) { in show_sub()
957 suby = centery + 87; in show_sub()
960 suby = centery + 74; in show_sub()
963 suby = centery + 61; in show_sub()
[all …]
/dports/graphics/py-pycha/pycha-0.8.1/pycha/
H A Dpie.py32 self.centery = 0
88 cx.move_to(self.centerx, self.centery)
89 cx.arc(self.centerx + 1, self.centery + 2,
91 cx.line_to(self.centerx, self.centery)
179 def draw(self, cx, centerx, centery, radius): argument
181 cx.move_to(centerx, centery)
235 centery = self.chart.y + self.chart.h * 0.5
269 return centerx + (centery - y) / tan
272 return centery - tan * (x - centerx)
285 min_radius = abs((y + height) - centery)
[all …]
H A Dring.py32 self.centery = 0
114 cx.move_to(self.centerx, self.centery)
115 cx.arc(self.centerx + 1, self.centery + 2,
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)
301 min_radius = abs((y + height) - centery)
[all …]
/dports/games/abuse_sdl/abuse-0.8/src/
H A Dautomap.cpp28 window_xend,window_yend,centerx,centery, in draw() local
41 centery=(window_ystart+window_yend)/2; in draw()
58 draw_ystart=centery-(y*AUTOTILE_HEIGHT/f_hi); in draw()
61 draw_ystart=centery-(y*AUTOTILE_HEIGHT/f_hi-sy*AUTOTILE_HEIGHT); 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);
130 $centery+($c1y-$my)/$len1*($centery-1),
131 $centerx, $centery,
138 $w->createLine($centerx, $centery,
140 $centery+($c2y-$my)/$len2*($centery-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()
81 dy = Things[cur->objnum].ypos - centery; in RotateAndScaleObjects()
84 Things[cur->objnum].ypos = centery + dy; in RotateAndScaleObjects()
90 centre_of_vertices (obj, &centerx, &centery); in RotateAndScaleObjects()
94 dy = Vertices[cur->objnum].y - centery; in RotateAndScaleObjects()
97 Vertices[cur->objnum].y = (centery + dy + /*4*/ 2) & ~/*7*/3; in RotateAndScaleObjects()
/dports/databases/sqlite3/sqlite-src-3350500/src/
H A Dtest_rtree.c40 double centery; member
96 pCircle->centery = p->aParam[1]; in circle_geom()
116 pCircle->aBox[1].ymin = pCircle->centery; in circle_geom()
117 pCircle->aBox[1].ymax = pCircle->centery; in circle_geom()
131 d2 += (y-pCircle->centery)*(y-pCircle->centery); in circle_geom()
204 pCircle->centery = p->aParam[1]; in circle_query_func()
210 pCircle->centery = 0.0; in circle_query_func()
219 pCircle->centery = atof(&z[2]); in circle_query_func()
252 pCircle->aBox[1].ymin = pCircle->centery; in circle_query_func()
253 pCircle->aBox[1].ymax = pCircle->centery; in circle_query_func()
[all …]
/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Dtest_rtree.c40 double centery; member
96 pCircle->centery = p->aParam[1]; in circle_geom()
116 pCircle->aBox[1].ymin = pCircle->centery; in circle_geom()
117 pCircle->aBox[1].ymax = pCircle->centery; in circle_geom()
131 d2 += (y-pCircle->centery)*(y-pCircle->centery); in circle_geom()
204 pCircle->centery = p->aParam[1]; in circle_query_func()
210 pCircle->centery = 0.0; in circle_query_func()
219 pCircle->centery = atof(&z[2]); in circle_query_func()
252 pCircle->aBox[1].ymin = pCircle->centery; in circle_query_func()
253 pCircle->aBox[1].ymax = pCircle->centery; 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.c40 double centery; member
96 pCircle->centery = p->aParam[1]; in circle_geom()
116 pCircle->aBox[1].ymin = pCircle->centery; in circle_geom()
117 pCircle->aBox[1].ymax = pCircle->centery; in circle_geom()
131 d2 += (y-pCircle->centery)*(y-pCircle->centery); in circle_geom()
204 pCircle->centery = p->aParam[1]; in circle_query_func()
210 pCircle->centery = 0.0; in circle_query_func()
219 pCircle->centery = atof(&z[2]); in circle_query_func()
252 pCircle->aBox[1].ymin = pCircle->centery; in circle_query_func()
253 pCircle->aBox[1].ymax = pCircle->centery; in circle_query_func()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/
H A Dtest_rtree.c40 double centery; member
96 pCircle->centery = p->aParam[1]; in circle_geom()
116 pCircle->aBox[1].ymin = pCircle->centery; in circle_geom()
117 pCircle->aBox[1].ymax = pCircle->centery; in circle_geom()
131 d2 += (y-pCircle->centery)*(y-pCircle->centery); in circle_geom()
204 pCircle->centery = p->aParam[1]; in circle_query_func()
210 pCircle->centery = 0.0; in circle_query_func()
219 pCircle->centery = atof(&z[2]); in circle_query_func()
252 pCircle->aBox[1].ymin = pCircle->centery; in circle_query_func()
253 pCircle->aBox[1].ymax = pCircle->centery; in circle_query_func()
[all …]
/dports/games/libkdegames/libkdegames-21.12.3/src/carddecks/svg-xskat-german/
H A Dxskat.generator38 my $centery = $height / 2 - 1;
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" />
258 <use x="$centerx" y="$centery" xlink:href="#shield" />
408 <use x="$centerx" y="$centery" xlink:href="#img_jack_$suit" />
415 <use x="$centerx" y="$centery" xlink:href="#img_queen_$suit" />
422 <use x="$centerx" y="$centery" xlink:href="#img_king_$suit" />
879 <use xlink:href="#bell-s1" transform="rotate(180,$centerx,$centery)"/>
[all …]
/dports/devel/p5-SDL/SDL-2.548/t/
H A Dsdlgamerect.t20 centery
30 w h bottom right centerx centery)
74 is( $rect->centery, 155, 'checking vertical center' );
75 is( $rect->centery(154), 154, 'changing centery value' );
76 is( $rect->centery, 154, 'checking centery value again' );
78 'top value should have been updated after centery change'
117 is( $rect->centery, 154, 'center() does nothing when passed undef' );
120 is( $rect->centery, 200, 'center() works on one-parameter (y)' );
126 is( $rect->centery, 154, 'center() can be used as an acessor for y' );
144 is( $rect->centery, 154, 'midleft() does nothing when passed undef' );
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/contrib/
H A Dcircle_cannon_dodgers_generate.cpp9 const int centery = 512 * 64; variable
84 y = static_cast<int>(cannonradius * sin(a) + centery); in main()
96 y = static_cast<int>(sin(a)*cannonx[i] + cos(a)*cannony[i] + centery); in main()
110 y = static_cast<int>(radius * sin(a) + centery + 0.5); in main()
127 << static_cast<int>(centery) << "\" dir = \"64\"/>" << endl; in main()
129 << static_cast<int>(centery + 350*64) << "\" dir = \"32\"/>" << endl; in main()
131 << static_cast<int>(centery) << "\" dir = \"0\"/>" << endl; in main()
133 << static_cast<int>(centery - 350*64) << "\" dir = \"96\"/>" << endl; 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 …y = 0, double z = 0, double aa = 0.3, double cc = 1.0 ) : centerx ( x ), centery ( y ), centerz ( … in torus()
99 … double transfer[3] = {oldcoords[0] - centerx, oldcoords[1] - centery, oldcoords[2] - centerz}; in project_points2geom()
101 … tubecenter[3] = {c* transfer[0] / twodnrm + centerx, c* transfer[1] / twodnrm + centery, centerz}; 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.pm34 my $centery = abs($y2 - $y1) + $miny;
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/devel/p5-SDL/SDL-2.548/lib/SDLx/
H A DRect.pm74 sub centery { subroutine
112 my ( $self, $centery, $x ) = (@_);
118 unless ( defined $centery or defined $x );
123 if ( defined $centery ) {
124 $self->top( $centery - ( $self->height >> 1 ) ); # y = centery - (height/2)
145 my ( $self, $centerx, $centery ) = (@_);
150 ) unless ( defined $centerx or defined $centery );
155 if ( defined $centery ) {
177 my ( $self, $centery, $right ) = (@_);
183 unless ( defined $centery or defined $right );
[all …]
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dcl_netgraph.cpp77 const int centery = y + NetGraph::MAX_WORLD_INDEX * NetGraph::BAR_HEIGHT_WORLD_INDEX; in drawWorldIndexSync() local
82 NetGraphDrawBar(x, centery, graphwidth, 1, 0); in drawWorldIndexSync()
94 starty = centery - mWorldIndexSync[index] * NetGraph::BAR_HEIGHT_WORLD_INDEX; in drawWorldIndexSync()
99 starty = centery - (mWorldIndexSync[index] + 1) * NetGraph::BAR_HEIGHT_WORLD_INDEX; in drawWorldIndexSync()
109 int liney = centery - NetGraph::BAR_HEIGHT_WORLD_INDEX * mInterpolation; in drawWorldIndexSync()
118 const int centery = y + NetGraph::BAR_HEIGHT_MISPREDICTION; in drawMispredictions() local
122 NetGraphDrawBar(x, centery, graphwidth, 1, 0); in drawMispredictions()
/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.cpp56 centery = y; in Start()
84 rel_y = (star->centery - map.displayed_yscroll); in Draw()
200 int centery = (SCREEN_HEIGHT/2)-8; in Draw() local
206 for(y=0;y<centery+16;y+=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()

12345678910>>...29