Home
last modified time | relevance | path

Searched refs:sin_rot (Results 1 – 25 of 41) sorted by relevance

12

/dports/graphics/photivo/photivo/Sources/
H A DptImage_Cimg.cpp265 sin_rot = sinf(angle_rot), in ptCIPerspective() local
284 …+m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)+m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective()
285 …-m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)+m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective()
286 …+m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)-m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective()
287 …-m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)-m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective()
295 height1 = (m_Height/sc2/2.0f*cos_hor*cos_rot*r-cos_hor*sin_rot*r*(m_Width/sc1/2.0f))/denom1, in ptCIPerspective()
299 …width1 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_hor… in ptCIPerspective()
300 …width2 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(-m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_ho… in ptCIPerspective()
301 …width3 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_hor… in ptCIPerspective()
302 …width4 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(-m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_ho… in ptCIPerspective()
[all …]
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/Renderer/
H A DTransformation.hpp42 float sin_rot = sinf(angle); in Rotate() local
44 p.x = u2*cos_rot - v2*sin_rot + cx; in Rotate()
45 p.y = u2*sin_rot + v2*cos_rot + cy; in Rotate()
H A DMilkdropWaveform.cpp178 float sin_rot; in WaveformMath() local
308 sin_rot = sinf(context.time*0.3f); in WaveformMath()
315 …wavearray[i][0]=((x0*cos_rot - y0*sin_rot)*scale*0.5*(context.aspectCorrect ? context.aspectRatio … in WaveformMath()
316 wavearray[i][1]=( (x0*sin_rot + y0*cos_rot)*scale*0.5 + temp_y); in WaveformMath()
/dports/graphics/libprojectm/projectm-3.1.12/src/libprojectM/Renderer/
H A DTransformation.hpp42 float sin_rot = sinf(angle); in Rotate() local
44 p.x = u2*cos_rot - v2*sin_rot + cx; in Rotate()
45 p.y = u2*sin_rot + v2*cos_rot + cy; in Rotate()
H A DMilkdropWaveform.cpp206 float sin_rot; in WaveformMath() local
323 sin_rot = sinf(context.time*0.3f); in WaveformMath()
330 …wavearray[i][0]=((x0*cos_rot - y0*sin_rot)*scale*0.5f*(context.aspectCorrect ? context.aspectRatio… in WaveformMath()
331 wavearray[i][1]=( (x0*sin_rot + y0*cos_rot)*scale*0.5f + temp_y); in WaveformMath()
/dports/astro/xplanet/xplanet-1.3.1/src/
H A DView.cpp53 const double sin_rot = sin(rotate_angle); in View() local
58 rotate[0][i] = Rx[i] * cos_rot + Ry[i] * sin_rot; in View()
59 rotate[1][i] = -Rx[i] * sin_rot + Ry[i] * cos_rot; in View()
/dports/math/plplot/plplot-5.15.0/drivers/
H A Ddeprecated_wxwidgets_dc.cpp345 m_dc->DrawRotatedText( str, (wxCoord) ( posX - yOffset / scaley * sin_rot ), in PSDrawTextToDC()
349 posY += (PLINT) ( w * sin_rot ); in PSDrawTextToDC()
469 sin_rot = sin( rotation ); in ProcessString()
519 …extWidth ) * cos_rot - ( 0.5 * textHeight - paraHeight * lineSpacing ) * sin_rot ); //move to set … in ProcessString()
520 …posY = (PLINT) ( args->y / scaley - ( args->just * textWidth ) * sin_rot + ( 0.5 * textHeight - pa… in ProcessString()
H A Dpdf.c810 HPDF_REAL cos_rot, sin_rot, cos_shear, sin_shear;
838 sin_rot = (HPDF_REAL) sin( rotation );
847 HPDF_Page_Concat( dev->page, cos_rot, sin_rot,
848 -cos_rot * sin_shear - sin_rot * cos_shear,
849 -sin_rot * sin_shear + cos_rot * cos_shear,
H A Ddeprecated_wxwidgets_gc.cpp510 sin_rot = sin( rotation ); in ProcessString()
559 cos_rot * stride, -sin_rot * stride, in ProcessString()
560 cos_rot * sin_shear + sin_rot * cos_shear, in ProcessString()
561 -sin_rot * sin_shear + cos_rot * cos_shear, in ProcessString()
H A Dsvg.c572 PLFLT rotation, shear, stride, cos_rot, sin_rot, sin_shear, cos_shear; in proc_str() local
683 sin_rot = -sin( rotation ); in proc_str()
687 t[1] = -sin_rot * stride; in proc_str()
688 t[2] = cos_rot * sin_shear + sin_rot * cos_shear; in proc_str()
689 t[3] = -sin_rot * sin_shear + cos_rot * cos_shear; in proc_str()
H A Dcairo.c776 PLFLT rotation, shear, stride, cos_rot, sin_rot, cos_shear, sin_shear; in text_end_cairo() local
835 sin_rot = sin( rotation ); in text_end_cairo()
842 -sin_rot * stride, in text_end_cairo()
843 cos_rot * sin_shear + sin_rot * cos_shear, in text_end_cairo()
844 -sin_rot * sin_shear + cos_rot * cos_shear, in text_end_cairo()
878 PLFLT rotation, shear, stride, cos_rot, sin_rot, cos_shear, sin_shear; in proc_str() local
952 sin_rot = sin( rotation ); in proc_str()
959 -sin_rot * stride, in proc_str()
960 cos_rot * sin_shear + sin_rot * cos_shear, in proc_str()
961 -sin_rot * sin_shear + cos_rot * cos_shear, in proc_str()
/dports/math/plplot-ada/plplot-5.15.0/drivers/
H A Ddeprecated_wxwidgets_dc.cpp345 m_dc->DrawRotatedText( str, (wxCoord) ( posX - yOffset / scaley * sin_rot ), in PSDrawTextToDC()
349 posY += (PLINT) ( w * sin_rot ); in PSDrawTextToDC()
469 sin_rot = sin( rotation ); in ProcessString()
519 …extWidth ) * cos_rot - ( 0.5 * textHeight - paraHeight * lineSpacing ) * sin_rot ); //move to set … in ProcessString()
520 …posY = (PLINT) ( args->y / scaley - ( args->just * textWidth ) * sin_rot + ( 0.5 * textHeight - pa… in ProcessString()
H A Dpdf.c810 HPDF_REAL cos_rot, sin_rot, cos_shear, sin_shear; in process_string() local
838 sin_rot = (HPDF_REAL) sin( rotation ); in process_string()
847 HPDF_Page_Concat( dev->page, cos_rot, sin_rot, in process_string()
848 -cos_rot * sin_shear - sin_rot * cos_shear, in process_string()
849 -sin_rot * sin_shear + cos_rot * cos_shear, in process_string()
H A Ddeprecated_wxwidgets_gc.cpp510 sin_rot = sin( rotation );
559 cos_rot * stride, -sin_rot * stride,
560 cos_rot * sin_shear + sin_rot * cos_shear,
561 -sin_rot * sin_shear + cos_rot * cos_shear,
H A Dsvg.c572 PLFLT rotation, shear, stride, cos_rot, sin_rot, sin_shear, cos_shear; in proc_str() local
683 sin_rot = -sin( rotation ); in proc_str()
687 t[1] = -sin_rot * stride; in proc_str()
688 t[2] = cos_rot * sin_shear + sin_rot * cos_shear; in proc_str()
689 t[3] = -sin_rot * sin_shear + cos_rot * cos_shear; in proc_str()
H A Dcairo.c776 PLFLT rotation, shear, stride, cos_rot, sin_rot, cos_shear, sin_shear; in text_end_cairo() local
835 sin_rot = sin( rotation ); in text_end_cairo()
842 -sin_rot * stride, in text_end_cairo()
843 cos_rot * sin_shear + sin_rot * cos_shear, in text_end_cairo()
844 -sin_rot * sin_shear + cos_rot * cos_shear, in text_end_cairo()
878 PLFLT rotation, shear, stride, cos_rot, sin_rot, cos_shear, sin_shear; in proc_str() local
952 sin_rot = sin( rotation ); in proc_str()
959 -sin_rot * stride, in proc_str()
960 cos_rot * sin_shear + sin_rot * cos_shear, in proc_str()
961 -sin_rot * sin_shear + cos_rot * cos_shear, in proc_str()
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/projection/
H A DossimFcsiModel.cpp896 double sin_rot = ossim::sind(theScanRotation); in updateModel() local
899 double a = theScanScaleMatrix[0]*(sin_rot*tan_skew + cos_rot) + in updateModel()
900 theScanScaleMatrix[1]*(cos_rot*tan_skew - sin_rot); in updateModel()
901 double b = theScanScaleMatrix[0]*sin_rot + theScanScaleMatrix[1]*cos_rot; in updateModel()
902 double c = theScanScaleMatrix[2]*(sin_rot*tan_skew + cos_rot) + in updateModel()
903 theScanScaleMatrix[3]*(cos_rot*tan_skew - sin_rot); in updateModel()
904 double d = theScanScaleMatrix[2]*sin_rot + theScanScaleMatrix[3]*cos_rot; in updateModel()
/dports/graphics/libprojectm/projectm-3.1.12/src/libprojectM/MilkdropPresetFactory/
H A DPresetFrameIO.cpp229 const float sin_rot = sinf(rot2); in PerPixelMath_c() local
231 this->x_mesh[x][y] = u2 * cos_rot - v2 * sin_rot + this->cx_mesh[x][y] - this->dx_mesh[x][y]; in PerPixelMath_c()
232 this->y_mesh[x][y] = u2 * sin_rot + v2 * cos_rot + this->cy_mesh[x][y] - this->dy_mesh[x][y]; in PerPixelMath_c()
428 __m128 sin_rot, cos_rot; in PerPixelMath_sse() local
429 _mm_sincosf(_mm_load_ps(&this->rot_mesh[x][y]), sin_rot, cos_rot); in PerPixelMath_sse()
434 _mm_sub_ps(_mm_mul_ps(u2, cos_rot), _mm_mul_ps(v2,sin_rot)), in PerPixelMath_sse()
440 _mm_add_ps(_mm_mul_ps(u2, sin_rot), _mm_mul_ps(v2,cos_rot)), in PerPixelMath_sse()
/dports/astro/xearth/xearth-1.2/
H A Dxearth.h151 _s_ = vpi.sin_rot; \
207 double cos_rot, sin_rot; /* cos/sin of view_rot */ member
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/pds/
H A Dpdsdataset.cpp666 const double sin_rot = rotation == 90 ? 1.0 : sin(rotation / 180 * M_PI); in ParseSRS() local
668 const double gt_1 = cos_rot * adfGeoTransform[1] - sin_rot * adfGeoTransform[4]; in ParseSRS()
669 const double gt_2 = cos_rot * adfGeoTransform[2] - sin_rot * adfGeoTransform[5]; in ParseSRS()
670 const double gt_0 = cos_rot * adfGeoTransform[0] - sin_rot * adfGeoTransform[3]; in ParseSRS()
671 const double gt_4 = sin_rot * adfGeoTransform[1] + cos_rot * adfGeoTransform[4]; in ParseSRS()
672 const double gt_5 = sin_rot * adfGeoTransform[2] + cos_rot * adfGeoTransform[5]; in ParseSRS()
673 const double gt_3 = sin_rot * adfGeoTransform[0] + cos_rot * adfGeoTransform[3]; in ParseSRS()
/dports/graphics/gdal/gdal-3.3.3/frmts/pds/
H A Dpdsdataset.cpp666 const double sin_rot = rotation == 90 ? 1.0 : sin(rotation / 180 * M_PI); in ParseSRS() local
668 const double gt_1 = cos_rot * adfGeoTransform[1] - sin_rot * adfGeoTransform[4]; in ParseSRS()
669 const double gt_2 = cos_rot * adfGeoTransform[2] - sin_rot * adfGeoTransform[5]; in ParseSRS()
670 const double gt_0 = cos_rot * adfGeoTransform[0] - sin_rot * adfGeoTransform[3]; in ParseSRS()
671 const double gt_4 = sin_rot * adfGeoTransform[1] + cos_rot * adfGeoTransform[4]; in ParseSRS()
672 const double gt_5 = sin_rot * adfGeoTransform[2] + cos_rot * adfGeoTransform[5]; in ParseSRS()
673 const double gt_3 = sin_rot * adfGeoTransform[0] + cos_rot * adfGeoTransform[3]; in ParseSRS()
/dports/graphics/py-gdal/gdal-3.3.3/frmts/pds/
H A Dpdsdataset.cpp666 const double sin_rot = rotation == 90 ? 1.0 : sin(rotation / 180 * M_PI); in ParseSRS() local
668 const double gt_1 = cos_rot * adfGeoTransform[1] - sin_rot * adfGeoTransform[4]; in ParseSRS()
669 const double gt_2 = cos_rot * adfGeoTransform[2] - sin_rot * adfGeoTransform[5]; in ParseSRS()
670 const double gt_0 = cos_rot * adfGeoTransform[0] - sin_rot * adfGeoTransform[3]; in ParseSRS()
671 const double gt_4 = sin_rot * adfGeoTransform[1] + cos_rot * adfGeoTransform[4]; in ParseSRS()
672 const double gt_5 = sin_rot * adfGeoTransform[2] + cos_rot * adfGeoTransform[5]; in ParseSRS()
673 const double gt_3 = sin_rot * adfGeoTransform[0] + cos_rot * adfGeoTransform[3]; in ParseSRS()
/dports/devel/directfb/DirectFB-1.4.17/interfaces/IDirectFBFont/
H A Didirectfbfont_lino.c968 float sin_rot = 0.0; in Construct() local
1190 sin_rot = sin(rot_radians); in Construct()
1192 err = FS_set_scale (state, fw*cos_rot, -fh*sin_rot, fw*sin_rot, fh*cos_rot ); in Construct()
1258 font->up_unit_x = -sin_rot; in Construct()
H A Didirectfbfont_ft2.c811 float sin_rot = 0.0; in Construct() local
863 sin_rot = sin(rot_radians); in Construct()
866 int sin_rot_fx = (int)(sin_rot*65536.0); in Construct()
1010 font->up_unit_x = -sin_rot; in Construct()
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/MilkdropPresetFactory/
H A DPresetFrameIO.cpp255 float sin_rot = sinf(this->rot_mesh[x][y]); in PerPixelMath() local
257 this->x_mesh[x][y] = u2 * cos_rot - v2 * sin_rot + this->cx_mesh[x][y]; in PerPixelMath()
258 this->y_mesh[x][y] = u2 * sin_rot + v2 * cos_rot + this->cy_mesh[x][y]; in PerPixelMath()

12