Drawing Sheet Editor: Assign a line width before drawing page border
This commit is contained in:
parent
70ce53112b
commit
a4b1f9187d
|
@ -292,6 +292,8 @@ void KIGFX::DS_PAINTER::draw( const DS_DRAW_ITEM_PAGE* aItem, int aLayer ) const
|
|||
// Use a gray color for the border color
|
||||
m_gal->SetStrokeColor( m_renderSettings.m_pageBorderColor );
|
||||
m_gal->SetIsFill( false );
|
||||
m_gal->SetLineWidth( m_renderSettings.GetDefaultPenWidth() );
|
||||
|
||||
m_gal->DrawRectangle( origin, end );
|
||||
|
||||
// Draw the corner marker
|
||||
|
|
Loading…
Reference in New Issue