Home
last modified time | relevance | path

Searched refs:fG (Results 1 – 3 of 3) sorted by relevance

/AOO41X/main/oox/source/drawingml/
H A Dcolor.cxx545 double fR = 0.0, fG = 0.0, fB = 0.0; in toRgb() local
548 fR = fG = fB = static_cast< double >( mnC3 ) / MAX_PERCENT; in toRgb()
554 if( fHue <= 1.0 ) { fR = 1.0; fG = fHue; } // red...yellow in toRgb()
555 else if( fHue <= 2.0 ) { fR = 2.0 - fHue; fG = 1.0; } // yellow...green in toRgb()
556 else if( fHue <= 3.0 ) { fG = 1.0; fB = fHue - 2.0; } // green...cyan in toRgb()
557 else if( fHue <= 4.0 ) { fG = 4.0 - fHue; fB = 1.0; } // cyan...blue in toRgb()
564 fG = (fG - 0.5) * fSat + 0.5; in toRgb()
573 fG *= fShade; in toRgb()
580 fG = 1.0 - ((1.0 - fG) * fTint); in toRgb()
585 mnC2 = static_cast< sal_Int32 >( fG * 255.0 + 0.5 ); in toRgb()
[all …]
/AOO41X/main/filter/source/graphicfilter/icgm/
H A Dclass4.cxx389 …double fG = 2.0 * ( fA * ( aEndingPoint.Y - aIntermediatePoint.Y ) - fB * ( aEndingPoint.X - aInte… in ImplDoClass4() local
391 aCenterPoint.X = ( fD * fE - fB * fF ) / fG; in ImplDoClass4()
392 aCenterPoint.Y = ( fA * fF - fC * fE ) / fG; in ImplDoClass4()
394 if ( fG != 0 ) in ImplDoClass4()
406 fG = fStartAngle; in ImplDoClass4()
408 fEndAngle = fG; in ImplDoClass4()
416 fG = fStartAngle; in ImplDoClass4()
418 fEndAngle = fG; in ImplDoClass4()
434 fG = 0; in ImplDoClass4()
437 … mpOutAct->DrawEllipticalArc( aCenterPoint, aRadius, fG, 2, fStartAngle, fEndAngle ); in ImplDoClass4()
[all …]
/AOO41X/main/svgio/source/svgreader/
H A Dsvgtools.cxx884 double fG(0.0); in read_color() local
893 if(readNumber(rCandidate, nPos, fG, nLen)) in read_color()
909 rColor.setGreen(fG * fFac); in read_color()