Home
last modified time | relevance | path

Searched refs:ycentre (Results 1 – 17 of 17) sorted by relevance

/dports/games/flightgear/flightgear-2020.3.11/src/Instrumentation/HUD/
H A DHUD_tape.cxx147 float ycentre, ypoint, xpoint; in draw_vertical() local
151 ycentre = _y; in draw_vertical()
153 ycentre = _center_y; in draw_vertical()
163 ypoint = ycentre + ((value - 1.0) * range / _val_span); in draw_vertical()
165 ypoint = ycentre + (value * range / _val_span); in draw_vertical()
168 draw_line(xpoint, ycentre, xpoint, ypoint); in draw_vertical()
195 float ycentre, ypoint, xpoint; in draw_vertical() local
199 ycentre = _y; in draw_vertical()
201 ycentre = _center_y; in draw_vertical()
212 ypoint = ycentre + (value * range / _val_span); in draw_vertical()
[all …]
/dports/www/moodle310/moodle/question/type/ddmarker/
H A Dshapes.php264 protected $ycentre; variable in qtype_ddmarker_shape_circle
286 $this->ycentre = trim($xy[1]);
289 if (!$this->is_only_numbers($this->xcentre, $this->ycentre, $this->radius)) {
294 $this->ycentre = (int) $this->ycentre;
300 return [[$this->xcentre - $this->radius, $this->ycentre - $this->radius],
301 [$this->xcentre + $this->radius, $this->ycentre + $this->radius]];
305 … $distancefromcentre = sqrt(pow(($xy[0] - $this->xcentre), 2) + pow(($xy[1] - $this->ycentre), 2));
310 return array($this->xcentre, $this->ycentre);
/dports/www/moodle311/moodle/question/type/ddmarker/
H A Dshapes.php264 protected $ycentre; variable in qtype_ddmarker_shape_circle
286 $this->ycentre = trim($xy[1]);
289 if (!$this->is_only_numbers($this->xcentre, $this->ycentre, $this->radius)) {
294 $this->ycentre = (int) $this->ycentre;
300 return [[$this->xcentre - $this->radius, $this->ycentre - $this->radius],
301 [$this->xcentre + $this->radius, $this->ycentre + $this->radius]];
305 … $distancefromcentre = sqrt(pow(($xy[0] - $this->xcentre), 2) + pow(($xy[1] - $this->ycentre), 2));
310 return array($this->xcentre, $this->ycentre);
/dports/www/moodle39/moodle/question/type/ddmarker/
H A Dshapes.php264 protected $ycentre; variable in qtype_ddmarker_shape_circle
286 $this->ycentre = trim($xy[1]);
289 if (!$this->is_only_numbers($this->xcentre, $this->ycentre, $this->radius)) {
294 $this->ycentre = (int) $this->ycentre;
300 return [[$this->xcentre - $this->radius, $this->ycentre - $this->radius],
301 [$this->xcentre + $this->radius, $this->ycentre + $this->radius]];
305 … $distancefromcentre = sqrt(pow(($xy[0] - $this->xcentre), 2) + pow(($xy[1] - $this->ycentre), 2));
310 return array($this->xcentre, $this->ycentre);
/dports/games/warzone2100/warzone2100/lib/ivis_opengl/
H A Dpiematrix.cpp93 …dSurface.xcentre != perspectiveCache._rendSurface_xcentre || rendSurface.ycentre != perspectiveCac… in pie_PerspectiveGet()
98 …3((2.f * rendSurface.xcentre - width) / width, (height - 2.f * rendSurface.ycentre) / height, 0.f)) in pie_PerspectiveGet()
103 perspectiveCache._rendSurface_ycentre = rendSurface.ycentre; in pie_PerspectiveGet()
123 rendSurface.ycentre = y; in pie_SetGeometricOffset()
H A Dpiemode.cpp55 rendSurface.ycentre = pie_GetVideoBufferHeight() / 2; in pie_UpdateSurfaceGeometry()
79 debug(LOG_3D, "xcentre %d; ycentre %d", rendSurface.xcentre, rendSurface.ycentre); in pie_Initialise()
H A Divisdef.h54 int ycentre; member
/dports/science/minc2/minc-release-2.2.00/conversion/mri_to_minc/
H A Dsiemens_magnetom_vision_to_minc.pl116 local($xcentre, $ycentre, $zcentre) =
119 $ycentre * $slc_dircos[1] + $zcentre * $slc_dircos[2];
122 $ycentre * $col_dircos[1] +
127 $ycentre * $row_dircos[1] +
H A Dsiemens_to_minc.pl482 local($xcentre, $ycentre, $zcentre) =
487 $ycentre * $slc_dircos[1] + $zcentre * $slc_dircos[2];
490 $ycentre * $col_dircos[1] +
495 $ycentre * $row_dircos[1] +
708 local($xcentre, $ycentre, $zcentre) =
711 $ycentre * $slc_dircos[1] + $zcentre * $slc_dircos[2];
714 $ycentre * $col_dircos[1] +
719 $ycentre * $row_dircos[1] +
H A Dge5_to_minc.pl225 local($xcentre, $ycentre, $zcentre) =
241 $xcentre * $xnorm + $ycentre * $ynorm + $zcentre * $znorm;
244 $ycentre * $y_col_dircos +
249 $ycentre * $y_row_dircos +
/dports/graphics/pngwriter/pngwriter-0.7.0/src/
H A Dpngwriter.h108 void circle_aux(int xcentre, int ycentre, int x, int y, int red, int green, int blue);
109 …void circle_aux_blend(int xcentre, int ycentre, int x, int y, double opacity, int red, int green, …
325 void circle(int xcentre, int ycentre, int radius, int red, int green, int blue);
326 void circle(int xcentre, int ycentre, int radius, double red, double green, double blue);
328 void filledcircle(int xcentre, int ycentre, int radius, int red, int green, int blue);
329 void filledcircle(int xcentre, int ycentre, int radius, double red, double green, double blue);
588 …void circle_blend(int xcentre, int ycentre, int radius, double opacity, int red, int green, int bl…
589 …void circle_blend(int xcentre, int ycentre, int radius, double opacity, double red, double green, …
591 …void filledcircle_blend(int xcentre, int ycentre, int radius, double opacity, int red, int green, …
592 …void filledcircle_blend(int xcentre, int ycentre, int radius, double opacity, double red, double g…
H A Dpngwriter.cc1101 circle_aux(xcentre, ycentre, x, y, red, green, blue); in circle()
1116 this->plot( xcentre, ycentre + y, red, green, blue); in circle_aux()
1117 this->plot( xcentre, ycentre - y, red, green, blue); in circle_aux()
1118 this->plot( xcentre + y, ycentre, red, green, blue); in circle_aux()
1119 this->plot( xcentre - y, ycentre, red, green, blue); in circle_aux()
1147 for(int jjj = ycentre-radius; jjj< ycentre+radius+1; jjj++) in filledcircle()
1149 this->line(xcentre - int(sqrt((double)(radius*radius) - (-ycentre + jjj)*(-ycentre + jjj ))), jjj, in filledcircle()
1150 …xcentre + int(sqrt((double)(radius*radius) - (-ycentre + jjj)*(-ycentre + jjj ))),jjj,red,green,bl… in filledcircle()
3605 for(int jjj = ycentre-radius; jjj< ycentre+radius+1; jjj++) in filledcircle_blend()
3607 …this->line_blend(xcentre - int(sqrt((double)(radius*radius) - (-ycentre + jjj)*(-ycentre + jjj )))… in filledcircle_blend()
[all …]
/dports/science/yoda/YODA-1.9.1/src/
H A DReaderAIDA.cc102 double xcentre, xerrplus, xerrminus, ycentre, yerrplus, yerrminus; in _readDoc() local
104 yssC >> ycentre; yssP >> yerrplus; yssM >> yerrminus; in _readDoc()
105 dps->addPoint(xcentre, ycentre, xerrminus, xerrplus, yerrminus, yerrplus); in _readDoc()
/dports/math/octave-forge-image/image-2.12.0/inst/
H A Dimshear.m69 ycentre = ( ydim_new + 1 ) / 2; variable
84 #M = imtranslate(fft(imtranslate(m, -xcentre, ycentre, "wrap")), xcentre, -ycentre, "wrap");
114 …#g = abs(imtranslate( ifft( imtranslate(Ms, -xcentre, ycentre, "wrap") ), xcentre, -ycentre, "wrap…
/dports/biology/emboss/EMBOSS-6.6.0/ajax/graphics/
H A Dajgraph.h159 PLFLT *ajGraphicsCalcCoord(PLFLT xcentre, PLFLT ycentre, PLFLT Radius,
170 void ajGraphicsDrawarcArc(PLFLT xcentre, PLFLT ycentre, PLFLT radius,
178 void ajGraphicsDrawposCircle(PLFLT xcentre, PLFLT ycentre,
191 void ajGraphicsDrawarcRect(PLFLT xcentre, PLFLT ycentre, PLFLT radius,
194 void ajGraphicsDrawarcRectFill(PLFLT xcentre, PLFLT ycentre,
205 void ajGraphicsDrawarcTextJustify(PLFLT xcentre, PLFLT ycentre,
505 __deprecated PLFLT *ajComputeCoord(PLFLT xcentre, PLFLT ycentre,
582 __deprecated void ajGraphDrawTextOnCurve(PLFLT xcentre, PLFLT ycentre,
588 PLFLT ycentre,
599 __deprecated void ajGraphPartCircle(PLFLT xcentre, PLFLT ycentre,
[all …]
H A Dajgraph.c114 static void GraphDrawarcText(PLFLT xcentre, PLFLT ycentre,
2045 y[i] = ycentre + ( radius*(float)sin(ajCvtDegToRad(angle)) ); in ajGraphicsDrawarcArc()
2156 y[2]=ycentre + ( r2Blocks*(float)sin(ajCvtDegToRad(angle)) ); in ajGraphicsDrawarcRectFill()
2158 y[3]=ycentre + ( r1Blocks*(float)sin(ajCvtDegToRad(angle)) ); in ajGraphicsDrawarcRectFill()
2214 GraphDrawarcText(xcentre, ycentre, radius, startangle, in ajGraphicsDrawarcTextJustify()
2216 else GraphDrawarcText(xcentre, ycentre, radius, endangle, in ajGraphicsDrawarcTextJustify()
9917 static void GraphDrawarcText(PLFLT xcentre, PLFLT ycentre, in GraphDrawarcText() argument
10510 ajGraphicsDrawarcRect(xcentre, ycentre, Radius, in ajGraphRectangleOnCurve()
10528 ajGraphicsDrawarcRectFill(xcentre, ycentre, Radius, in ajGraphFillRectangleOnCurve()
10546 ajGraphicsDrawarcTextJustify(xcentre, ycentre, Radius, in ajGraphDrawTextOnCurve()
[all …]
/dports/graphics/pngwriter/pngwriter-0.7.0/doc/
H A DPNGwriterQuickReference.rtf395 void circle_blend( int xcentre, int ycentre, int radius, \
397 void circle_blend( int xcentre, int ycentre, int radius,\
400 void filledcircle_blend( int xcentre, int ycentre, int radius, \
403 void filledcircle_blend( int xcentre, int ycentre, int radius, \