/aoo41x/main/svx/source/svdraw/ |
H A D | gradtrns.cxx | 67 if(rG.aGradient.GetBorder()) in GradToVec() 75 if(rG.aGradient.GetAngle()) in GradToVec() 90 if(rG.aGradient.GetBorder()) in GradToVec() 98 if(rG.aGradient.GetAngle()) in GradToVec() 114 if(rG.aGradient.GetBorder()) in GradToVec() 122 if(rG.aGradient.GetAngle()) in GradToVec() 131 if(rG.aGradient.GetXOffset() || rG.aGradient.GetYOffset()) in GradToVec() 149 if(rG.aGradient.GetBorder()) in GradToVec() 157 if(rG.aGradient.GetAngle()) in GradToVec() 166 if(rG.aGradient.GetXOffset() || rG.aGradient.GetYOffset()) in GradToVec() [all …]
|
/aoo41x/main/xmloff/source/style/ |
H A D | GradientStyle.cxx | 101 awt::Gradient aGradient; in importXML() local 102 aGradient.XOffset = 0; in importXML() 103 aGradient.YOffset = 0; in importXML() 104 aGradient.StartIntensity = 100; in importXML() 105 aGradient.EndIntensity = 100; in importXML() 106 aGradient.Angle = 0; in importXML() 107 aGradient.Border = 0; in importXML() 198 aGradient.Angle = sal_Int16( nValue ); in importXML() 212 rValue <<= aGradient; in importXML() 250 awt::Gradient aGradient; in exportXML() local [all …]
|
H A D | TransGradientStyle.cxx | 96 awt::Gradient aGradient; in importXML() local 97 aGradient.XOffset = 0; in importXML() 98 aGradient.YOffset = 0; in importXML() 99 aGradient.StartIntensity = 100; in importXML() 100 aGradient.EndIntensity = 100; in importXML() 101 aGradient.Angle = 0; in importXML() 102 aGradient.Border = 0; in importXML() 191 aGradient.Angle = sal_Int16( nValue ); in importXML() 205 rValue <<= aGradient; in importXML() 243 awt::Gradient aGradient; in exportXML() local [all …]
|
/aoo41x/main/svx/source/unodraw/ |
H A D | XPropertyTable.cxx | 597 awt::Gradient aGradient; in getAny() local 603 aGradient.Border = aXGradient.GetBorder(); in getAny() 604 aGradient.XOffset = aXGradient.GetXOffset(); in getAny() 611 aAny <<= aGradient; in getAny() 617 awt::Gradient aGradient; in getEntry() local 618 if(!(rAny >>= aGradient)) in getEntry() 626 aXGradient.SetAngle( aGradient.Angle ); in getEntry() 627 aXGradient.SetBorder( aGradient.Border ); in getEntry() 628 aXGradient.SetXOffset( aGradient.XOffset ); in getEntry() 629 aXGradient.SetYOffset( aGradient.YOffset ); in getEntry() [all …]
|
/aoo41x/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | FillAndLineStyleDemo.java | 89 Gradient aGradient = new Gradient(); in main() local 90 aGradient.Style = GradientStyle.LINEAR; in main() 91 aGradient.StartColor = 0x00ff00; in main() 92 aGradient.EndColor = 0xffff00; in main() 93 aGradient.Angle = 450; in main() 94 aGradient.Border = 0; in main() 95 aGradient.XOffset = 0; in main() 96 aGradient.YOffset = 0; in main() 97 aGradient.StartIntensity = 100; in main() 98 aGradient.EndIntensity = 100; in main() [all …]
|
/aoo41x/main/oox/source/drawingml/ |
H A D | fillproperties.cxx | 212 awt::Gradient aGradient; in pushToPropMap() local 213 aGradient.Angle = 900; in pushToPropMap() 214 aGradient.StartIntensity = 100; in pushToPropMap() 215 aGradient.EndIntensity = 100; in pushToPropMap() 235 … aGradient.XOffset = getLimitedValue< sal_Int16, sal_Int32 >( nCenterX / PER_PERCENT, 30, 70 ); in pushToPropMap() 238 ::std::swap( aGradient.StartColor, aGradient.EndColor ); in pushToPropMap() 246 … bool bAxial = (nColorCount == 3) && (aGradient.StartColor == aGradient.EndColor); in pushToPropMap() 247 … aGradient.Style = bAxial ? awt::GradientStyle_AXIAL : awt::GradientStyle_LINEAR; in pushToPropMap() 252 … aGradient.StartColor = (++aIt)->second.getColor( rGraphicHelper, nPhClr ); in pushToPropMap() 257 … aGradient.Angle = static_cast< sal_Int16 >( (4500 - (nDmlAngle / (PER_DEGREE / 10))) % 3600 ); in pushToPropMap() [all …]
|
/aoo41x/test/testuno/source/fvt/uno/sd/textbox/ |
H A D | FillProperties.java | 119 Gradient aGradient = new Gradient(); in testFillGradient() local 121 aGradient.StartColor = 0x00ff00; in testFillGradient() 122 aGradient.EndColor = 0xffff00; in testFillGradient() 123 aGradient.Angle = 450; in testFillGradient() 124 aGradient.Border = 0; in testFillGradient() 125 aGradient.XOffset = 0; in testFillGradient() 126 aGradient.YOffset = 0; in testFillGradient() 127 aGradient.StartIntensity = 100; in testFillGradient() 128 aGradient.EndIntensity = 100; in testFillGradient() 129 aGradient.StepCount = 10; in testFillGradient() [all …]
|
/aoo41x/main/vbahelper/source/vbahelper/ |
H A D | vbafillformat.cxx | 49 awt::Gradient aGradient; in setFillStyle() local 55 aGradient.Style = awt::GradientStyle_LINEAR; in setFillStyle() 56 aGradient.StartColor = ForeColor()->getRGB(); in setFillStyle() 57 aGradient.EndColor = BackColor()->getRGB(); in setFillStyle() 58 aGradient.Angle = m_nGradientAngle; in setFillStyle() 59 aGradient.Border = 0; in setFillStyle() 60 aGradient.XOffset = 0; in setFillStyle() 61 aGradient.YOffset = 0; in setFillStyle() 62 aGradient.StartIntensity = 100; in setFillStyle() 63 aGradient.EndIntensity = 100; in setFillStyle() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 683 Gradient aGradient( rGradient ); in DrawGradient() local 708 aGradient.SetStartColor( aStartCol ); in DrawGradient() 709 aGradient.SetEndColor( aEndCol ); in DrawGradient() 758 if ( !aGradient.GetSteps() ) in DrawGradient() 761 if( aGradient.GetStyle() == GRADIENT_LINEAR || aGradient.GetStyle() == GRADIENT_AXIAL ) in DrawGradient() 861 Gradient aGradient( rGradient ); in DrawGradient() local 887 aGradient.SetEndColor( aEndCol ); in DrawGradient() 923 if ( !aGradient.GetSteps() ) in DrawGradient() 1016 Gradient aGradient( rGradient ); in AddGradientActions() local 1032 if ( !aGradient.GetSteps() ) in AddGradientActions() [all …]
|
H A D | gdimtf.cxx | 2159 Gradient aGradient( aWall.GetGradient() ); in ImplExchangeColors() local 2161 aGradient.SetStartColor( pFncCol( aGradient.GetStartColor(), pColParam ) ); in ImplExchangeColors() 2162 aGradient.SetEndColor( pFncCol( aGradient.GetEndColor(), pColParam ) ); in ImplExchangeColors() 2163 aWall.SetGradient( aGradient ); in ImplExchangeColors() 2240 Gradient aGradient( pAct->GetGradient() ); in ImplExchangeColors() local 2242 aGradient.SetStartColor( pFncCol( aGradient.GetStartColor(), pColParam ) ); in ImplExchangeColors() 2243 aGradient.SetEndColor( pFncCol( aGradient.GetEndColor(), pColParam ) ); in ImplExchangeColors() 2244 aMtf.Insert( new MetaGradientAction( pAct->GetRect(), aGradient ), LIST_APPEND ); in ImplExchangeColors() 2251 Gradient aGradient( pAct->GetGradient() ); in ImplExchangeColors() local 2253 aGradient.SetStartColor( pFncCol( aGradient.GetStartColor(), pColParam ) ); in ImplExchangeColors() [all …]
|
/aoo41x/main/drawinglayer/source/primitive2d/ |
H A D | fillgradientprimitive2d.cxx | 76 …texture::GeoTexSvxGradientLinear aGradient(getObjectRange(), aStart, aEnd, nSteps, getFillGradient… in generateMatricesAndColors() local 77 aGradient.appendTransformationsAndColors(rEntries, rOutmostColor); in generateMatricesAndColors() 82 …texture::GeoTexSvxGradientAxial aGradient(getObjectRange(), aStart, aEnd, nSteps, getFillGradient(… in generateMatricesAndColors() local 83 aGradient.appendTransformationsAndColors(rEntries, rOutmostColor); in generateMatricesAndColors() 88 …texture::GeoTexSvxGradientRadial aGradient(getObjectRange(), aStart, aEnd, nSteps, getFillGradient… in generateMatricesAndColors() local 89 aGradient.appendTransformationsAndColors(rEntries, rOutmostColor); in generateMatricesAndColors() 95 aGradient.appendTransformationsAndColors(rEntries, rOutmostColor); in generateMatricesAndColors() 100 …texture::GeoTexSvxGradientSquare aGradient(getObjectRange(), aStart, aEnd, nSteps, getFillGradient… in generateMatricesAndColors() local 101 aGradient.appendTransformationsAndColors(rEntries, rOutmostColor); in generateMatricesAndColors() 106 …texture::GeoTexSvxGradientRect aGradient(getObjectRange(), aStart, aEnd, nSteps, getFillGradient()… in generateMatricesAndColors() local [all …]
|
/aoo41x/main/chart2/qa/ |
H A D | TestCaseOldAPI.java | 646 Gradient aGradient = new Gradient(); in testDataSeriesAndPoints() local 647 aGradient.Style = GradientStyle.LINEAR; in testDataSeriesAndPoints() 648 aGradient.StartColor = 0xe0ffff; // light cyan in testDataSeriesAndPoints() 649 aGradient.EndColor = 0xff8c00; // dark orange in testDataSeriesAndPoints() 650 aGradient.Angle = 300; // 30 degrees in testDataSeriesAndPoints() 651 aGradient.Border = 15; in testDataSeriesAndPoints() 652 aGradient.XOffset = 0; in testDataSeriesAndPoints() 653 aGradient.YOffset = 0; in testDataSeriesAndPoints() 654 aGradient.StartIntensity = 100; in testDataSeriesAndPoints() 655 aGradient.EndIntensity = 80; in testDataSeriesAndPoints() [all …]
|
/aoo41x/main/sd/source/ui/view/ |
H A D | drviews9.cxx | 388 XGradient aGradient(pEntry->GetGradient()); in AttrExec() local 391 else aGradient.SetEndColor (aColor); in AttrExec() 402 XGradient aGradient ((rReq.GetSlot () == SID_SETGRADSTARTCOLOR) in AttrExec() local 559 XGradient aGradient(pEntry->GetGradient()); in AttrExec() local 561 aGradient.SetGradientStyle ((XGradientStyle) pStyle->GetValue ()); in AttrExec() 562 aGradient.SetAngle (pAngle->GetValue () * 10); in AttrExec() 563 aGradient.SetBorder ((short) pBorder->GetValue ()); in AttrExec() 564 aGradient.SetXOffset ((short) pCenterX->GetValue ()); in AttrExec() 565 aGradient.SetYOffset ((short) pCenterY->GetValue ()); in AttrExec() 566 aGradient.SetStartIntens ((short) pStart->GetValue ()); in AttrExec() [all …]
|
/aoo41x/test/testuno/source/fvt/uno/sd/shape/ |
H A D | ShapeProperties.java | 153 Gradient aGradient = new Gradient(); in testShapeFillGradient() local 154 aGradient.Style = GradientStyle.LINEAR; in testShapeFillGradient() 155 aGradient.StartColor = 0x00ff00; in testShapeFillGradient() 156 aGradient.EndColor = 0xffff00; in testShapeFillGradient() 157 aGradient.Angle = 450; in testShapeFillGradient() 158 aGradient.Border = 0; in testShapeFillGradient() 159 aGradient.XOffset = 0; in testShapeFillGradient() 160 aGradient.YOffset = 0; in testShapeFillGradient() 161 aGradient.StartIntensity = 100; in testShapeFillGradient() 162 aGradient.EndIntensity = 100; in testShapeFillGradient() [all …]
|
/aoo41x/main/vcl/workben/ |
H A D | svptest.cxx | 310 Gradient aGradient( GRADIENT_LINEAR, aBlack, aWhite ); in Paint() local 311 aGradient.SetAngle( 900 ); in Paint() 314 500 ) ), aGradient ); in Paint() 315 aGradient.SetStartColor( aDarkRed ); in Paint() 316 aGradient.SetEndColor( aLightBlue ); in Paint() 319 500 ) ), aGradient ); in Paint() 320 aGradient.SetStartColor( aDarkBlue ); in Paint() 321 aGradient.SetEndColor( aLightGreen ); in Paint() 324 500 ) ), aGradient ); in Paint() 325 aGradient.SetStartColor( aDarkGreen ); in Paint() [all …]
|
/aoo41x/main/oox/source/export/ |
H A D | drawingml.cxx | 187 awt::Gradient aGradient; in WriteGradientFill() local 189 aGradient = *static_cast< const awt::Gradient* >( mAny.getValue() ); in WriteGradientFill() 193 switch( aGradient.Style ) { in WriteGradientFill() 197 … WriteGradientStop( 0, ColorWithIntensity( aGradient.StartColor, aGradient.StartIntensity ) ); in WriteGradientFill() 198 … WriteGradientStop( 100, ColorWithIntensity( aGradient.EndColor, aGradient.EndIntensity ) ); in WriteGradientFill() 207 … WriteGradientStop( 0, ColorWithIntensity( aGradient.EndColor, aGradient.EndIntensity ) ); in WriteGradientFill() 208 … WriteGradientStop( 50, ColorWithIntensity( aGradient.StartColor, aGradient.StartIntensity ) ); in WriteGradientFill() 209 … WriteGradientStop( 100, ColorWithIntensity( aGradient.EndColor, aGradient.EndIntensity ) ); in WriteGradientFill() 224 … WriteGradientStop( 0, ColorWithIntensity( aGradient.EndColor, aGradient.EndIntensity ) ); in WriteGradientFill() 225 … WriteGradientStop( 100, ColorWithIntensity( aGradient.StartColor, aGradient.StartIntensity ) ); in WriteGradientFill() [all …]
|
/aoo41x/main/svx/source/xoutdev/ |
H A D | xattr.cxx | 3540 aGradient(rTheGradient) in XFillGradientItem() 3558 aGradient(rTheGradient) in XFillGradientItem() 3574 aGradient(rItem.aGradient) in XFillGradientItem() 3590 aGradient(COL_BLACK, COL_WHITE) in XFillGradientItem() 3613 aGradient.SetEndColor(aCol); in XFillGradientItem() 3634 aGradient(rTheGradient) in XFillGradientItem() 3673 aGradient == ((const XFillGradientItem&) rItem).aGradient ); in operator ==() 3719 rOut << aGradient.GetBorder(); in Store() 3720 rOut << aGradient.GetXOffset(); in Store() 3724 rOut << aGradient.GetSteps(); in Store() [all …]
|
H A D | xtable.cxx | 108 aGradient(rGradient) in XGradientEntry() 114 aGradient(rOther.aGradient) in XGradientEntry()
|
/aoo41x/main/svx/source/sidebar/area/ |
H A D | AreaTransparencyGradientControl.cxx | 247 XGradient aGradient; in InitStatus() local 258 aGradient = mrAreaPropertyPanel.GetGradient(rGradient.GetGradientStyle()); in InitStatus() 262 aGradient = rGradient; in InitStatus() 264 maMtrTrgrCenterX.SetValue(aGradient.GetXOffset()); in InitStatus() 265 maMtrTrgrCenterY.SetValue(aGradient.GetYOffset()); in InitStatus() 266 maMtrTrgrAngle.SetValue(aGradient.GetAngle() / 10); in InitStatus() 267 …maMtrTrgrStartValue.SetValue((sal_uInt16)((((sal_uInt16)aGradient.GetStartColor().GetRed() + 1) * … in InitStatus() 268 …maMtrTrgrEndValue.SetValue((sal_uInt16)((((sal_uInt16)aGradient.GetEndColor().GetRed() + 1) * 100)… in InitStatus() 269 maMtrTrgrBorder.SetValue(aGradient.GetBorder()); in InitStatus()
|
/aoo41x/main/padmin/source/ |
H A D | padialog.cxx | 528 aGradient.SetAngle( 900 ); in printPage() 531 500 ) ), aGradient ); in printPage() 532 aGradient.SetStartColor( aDarkRed ); in printPage() 533 aGradient.SetEndColor( aLightBlue ); in printPage() 536 500 ) ), aGradient ); in printPage() 537 aGradient.SetStartColor( aDarkBlue ); in printPage() 538 aGradient.SetEndColor( aLightGreen ); in printPage() 541 500 ) ), aGradient ); in printPage() 542 aGradient.SetStartColor( aDarkGreen ); in printPage() 543 aGradient.SetEndColor( aLightRed ); in printPage() [all …]
|
/aoo41x/main/toolkit/source/awt/ |
H A D | vclxgraphics.cxx | 511 Gradient aGradient((GradientStyle)rGradient.Style, rGradient.StartColor, rGradient.EndColor); in drawGradient() local 512 aGradient.SetAngle(rGradient.Angle); in drawGradient() 513 aGradient.SetBorder(rGradient.Border); in drawGradient() 514 aGradient.SetOfsX(rGradient.XOffset); in drawGradient() 515 aGradient.SetOfsY(rGradient.YOffset); in drawGradient() 516 aGradient.SetStartIntensity(rGradient.StartIntensity); in drawGradient() 517 aGradient.SetEndIntensity(rGradient.EndIntensity); in drawGradient() 518 aGradient.SetSteps(rGradient.StepCount); in drawGradient() 519 mpOutputDevice->DrawGradient( Rectangle( Point( x, y ), Size( width, height ) ), aGradient ); in drawGradient()
|
/aoo41x/main/sw/source/ui/docvw/ |
H A D | AnnotationMenuButton.cxx | 140 Gradient aGradient; in Paint() local 142 aGradient = Gradient( GRADIENT_LINEAR, in Paint() 146 aGradient = Gradient( GRADIENT_LINEAR, in Paint() 149 DrawGradient( aRect, aGradient ); in Paint()
|
/aoo41x/main/chart2/source/controller/itemsetwrapper/ |
H A D | GraphicPropertyItemConverter.cxx | 531 uno::Any aGradient; in ApplySpecialItem() local 532 rItem.QueryValue( aGradient, MID_FILLGRADIENT ); in ApplySpecialItem() 538 aGradient, m_xNamedPropertyTableFactory, aPreferredName ); in ApplySpecialItem() 640 uno::Any aGradient; in ApplySpecialItem() local 641 rItem.QueryValue( aGradient, MID_FILLGRADIENT ); in ApplySpecialItem() 645 aGradient, m_xNamedPropertyTableFactory, aPreferredName ); in ApplySpecialItem()
|
/aoo41x/main/reportdesign/source/ui/report/ |
H A D | EndMarker.cxx | 72 Gradient aGradient(GRADIENT_LINEAR,aStartColor,aEndColor); in Paint() local 73 aGradient.SetSteps(static_cast<sal_uInt16>(aSize.Height())); in Paint() 75 DrawGradient(PixelToLogic(aPoly) ,aGradient); in Paint()
|
H A D | StartMarker.cxx | 142 Gradient aGradient(GRADIENT_LINEAR,aStartColor,aEndColor); in Paint() local 143 aGradient.SetSteps(static_cast<sal_uInt16>(aSize.Height())); in Paint() 145 DrawGradient(PixelToLogic(aPoly) ,aGradient); in Paint()
|