Kaydet (Commit) 348dc4bd authored tarafından Peilin's avatar Peilin Kaydeden (comit) Markus Mohrhard

add Line2D style property

Change-Id: I72d9426b6910205645bae2828ef14aaabad138c3
üst f85199dd
......@@ -501,6 +501,22 @@ void DummyLine2D::render()
else
SAL_WARN("chart2.opengl", "no line width set");
//add style and transparency
itr = maProperties.find(UNO_NAME_LINESTYLE);
if (itr != maProperties.end())
{
uno::Any cow = itr->second;
sal_Int32 nStyle = cow.get<sal_Int32>();
if (0 == nStyle)
{
pChart->m_GLRender.SetTransparency(0);
}
else
{
pChart->m_GLRender.SetTransparency(255);
}
}
sal_Int32 pointsscount = maPoints.getLength();
for(sal_Int32 i = 0; i < pointsscount; i++)
{
......
......@@ -1711,5 +1711,4 @@ void OpenGLRender::SetBackGroundColor(long color1, long color2)
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment