Lines Matching refs:rG

36 void GradTransformer::GradToVec(GradTransGradient& rG, GradTransVector& rV, const SdrObject* pObj)  in GradToVec()  argument
39 rV.aCol1 = rG.aGradient.GetStartColor(); in GradToVec()
40 if(100 != rG.aGradient.GetStartIntens()) in GradToVec()
42 const double fFact((double)rG.aGradient.GetStartIntens() / 100.0); in GradToVec()
47 rV.aCol2 = rG.aGradient.GetEndColor(); in GradToVec()
48 if(100 != rG.aGradient.GetEndIntens()) in GradToVec()
50 const double fFact((double)rG.aGradient.GetEndIntens() / 100.0); in GradToVec()
60 switch(rG.aGradient.GetGradientStyle()) in GradToVec()
67 if(rG.aGradient.GetBorder()) in GradToVec()
70 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec()
75 if(rG.aGradient.GetAngle()) in GradToVec()
77 const double fAngle = (double)rG.aGradient.GetAngle() * (F_PI180 / 10.0); in GradToVec()
90 if(rG.aGradient.GetBorder()) in GradToVec()
93 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec()
98 if(rG.aGradient.GetAngle()) in GradToVec()
100 const double fAngle = (double)rG.aGradient.GetAngle() * (F_PI180 / 10.0); in GradToVec()
114 if(rG.aGradient.GetBorder()) in GradToVec()
117 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec()
122 if(rG.aGradient.GetAngle()) in GradToVec()
124 const double fAngle = (double)rG.aGradient.GetAngle() * (F_PI180 / 10.0); in GradToVec()
131 if(rG.aGradient.GetXOffset() || rG.aGradient.GetYOffset()) in GradToVec()
134 (aRange.getWidth() * rG.aGradient.GetXOffset()) / 100.0, in GradToVec()
135 (aRange.getHeight() * rG.aGradient.GetYOffset()) / 100.0); in GradToVec()
149 if(rG.aGradient.GetBorder()) in GradToVec()
152 const double fLen = (aFullVec.getLength() * (100.0 - (double)rG.aGradient.GetBorder())) / 100.0; in GradToVec()
157 if(rG.aGradient.GetAngle()) in GradToVec()
159 const double fAngle = (double)rG.aGradient.GetAngle() * (F_PI180 / 10.0); in GradToVec()
166 if(rG.aGradient.GetXOffset() || rG.aGradient.GetYOffset()) in GradToVec()
169 (aRange.getWidth() * rG.aGradient.GetXOffset()) / 100.0, in GradToVec()
170 (aRange.getHeight() * rG.aGradient.GetYOffset()) / 100.0); in GradToVec()
187 void GradTransformer::VecToGrad(GradTransVector& rV, GradTransGradient& rG, GradTransGradient& rGOl… in VecToGrad() argument
191 rG = rGOld; in VecToGrad()
196 rG.aGradient.SetStartColor(rV.aCol1); in VecToGrad()
197 rG.aGradient.SetStartIntens(100); in VecToGrad()
201 rG.aGradient.SetEndColor(rV.aCol2); in VecToGrad()
202 rG.aGradient.SetEndIntens(100); in VecToGrad()
212 switch(rG.aGradient.GetGradientStyle()) in VecToGrad()
248 rG.aGradient.SetAngle(nNewAngle); in VecToGrad()
275 if(nNewBorder != rG.aGradient.GetBorder()) in VecToGrad()
277 rG.aGradient.SetBorder((sal_uInt16)nNewBorder); in VecToGrad()
306 if(nNewBorder != rG.aGradient.GetBorder()) in VecToGrad()
308 rG.aGradient.SetBorder((sal_uInt16)nNewBorder); in VecToGrad()
333 rG.aGradient.SetAngle(nNewAngle); in VecToGrad()
370 rG.aGradient.SetXOffset((sal_uInt16)nNewXOffset); in VecToGrad()
371 rG.aGradient.SetYOffset((sal_uInt16)nNewYOffset); in VecToGrad()
400 if(nNewBorder != rG.aGradient.GetBorder()) in VecToGrad()
402 rG.aGradient.SetBorder((sal_uInt16)nNewBorder); in VecToGrad()
429 rG.aGradient.SetAngle(nNewAngle); in VecToGrad()
466 rG.aGradient.SetXOffset((sal_uInt16)nNewXOffset); in VecToGrad()
467 rG.aGradient.SetYOffset((sal_uInt16)nNewYOffset); in VecToGrad()
496 if(nNewBorder != rG.aGradient.GetBorder()) in VecToGrad()
498 rG.aGradient.SetBorder((sal_uInt16)nNewBorder); in VecToGrad()
525 rG.aGradient.SetAngle(nNewAngle); in VecToGrad()