Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/Internals/CairoTextRenderer.h @ 888:6e888cf6a48b
renderers now have access to canvas width/height
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jul 2019 11:58:38 +0200 |
parents | c237e0625065 |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
871:4bc8d9609447 | 888:6e888cf6a48b |
---|---|
38 public: | 38 public: |
39 CairoTextRenderer(ICairoContextProvider& target, | 39 CairoTextRenderer(ICairoContextProvider& target, |
40 const GlyphBitmapAlphabet& alphabet, | 40 const GlyphBitmapAlphabet& alphabet, |
41 const TextSceneLayer& layer); | 41 const TextSceneLayer& layer); |
42 | 42 |
43 virtual void Render(const AffineTransform2D& transform); | 43 virtual void Render(const AffineTransform2D& transform, |
44 unsigned int canvasWidth, | |
45 unsigned int canvasHeight); | |
44 }; | 46 }; |
45 } | 47 } |
46 } | 48 } |