[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/karbon
From: Rob Buis <rwlbuis () xs4all ! nl>
Date: 2002-12-07 8:26:43
[Download RAW message or body]
CVS commit by buis:
drawRect also does fillPath, strokePath automatically now.
M +0 -1 dockers/vdocumentdocker.cc 1.29
M +2 -0 render/vkopainter.cc 1.98
M +0 -7 widgets/vstrokefillpreview.cc 1.43
--- koffice/karbon/dockers/vdocumentdocker.cc:1.28 Fri Dec 6 23:04:43 2002
@@ -169,7 +169,6 @@
VStroke stroke( c, 0L, 1.0 / scaleFactor );
p.setPen( stroke );
p.drawRect( KoRect( 2, 2, m_document->width() - 2, m_document->height() - 2 ) );
- p.strokePath();
m_document->draw( &p, &rect );
p.end();
}
--- koffice/karbon/render/vkopainter.cc:1.97 Fri Dec 6 21:55:32 2002
@@ -907,6 +907,8 @@
lineTo( r.bottomRight() );
lineTo( r.bottomLeft() );
lineTo( r.topLeft() );
+ fillPath();
+ strokePath();
}
void
--- koffice/karbon/widgets/vstrokefillpreview.cc:1.42 Fri Dec 6 21:55:32 2002
@@ -320,13 +320,6 @@
m_painter->drawRect( KoRect( FILL_TOPX, FILL_TOPY,
FILL_BOTTOMX - FILL_TOPX,
FILL_BOTTOMY - FILL_TOPY ) );
- /*m_painter->newPath();
- m_painter->moveTo( KoPoint( FILL_TOPX, FILL_TOPY ) );
- m_painter->lineTo( KoPoint( FILL_BOTTOMX, FILL_TOPY ) );
- m_painter->lineTo( KoPoint( FILL_BOTTOMX, FILL_BOTTOMY ) );
- m_painter->lineTo( KoPoint( FILL_TOPX, FILL_BOTTOMY ) );
- m_painter->lineTo( KoPoint( FILL_TOPX, FILL_TOPY ) );*/
- m_painter->fillPath();
}
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic