Mercurial > hg > orthanc-stone
comparison Framework/Layers/LineLayerRenderer.cpp @ 77:f5f54ed8d307 wasm
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 24 May 2017 21:13:29 +0200 |
parents | 28956ed68280 |
children | 53025eecbc95 |
comparison
equal
deleted
inserted
replaced
76:0aef120d7e1c | 77:f5f54ed8d307 |
---|---|
36 SetLayerStyle(style); | 36 SetLayerStyle(style); |
37 } | 37 } |
38 | 38 |
39 | 39 |
40 bool LineLayerRenderer::RenderLayer(CairoContext& context, | 40 bool LineLayerRenderer::RenderLayer(CairoContext& context, |
41 const ViewportGeometry& view) | 41 const ViewportGeometry& view, |
42 const SliceGeometry& slice) | |
42 { | 43 { |
43 if (visible_) | 44 if (visible_) |
44 { | 45 { |
45 context.SetSourceColor(color_); | 46 context.SetSourceColor(color_); |
46 | 47 |