Drawing Sheet Editor: Assign a line width before drawing page border

This commit is contained in:
Jonathan Haas 2021-03-07 13:20:03 +01:00 committed by jean-pierre charras
parent 70ce53112b
commit a4b1f9187d
1 changed files with 2 additions and 0 deletions

View File

@ -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