Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/Internals/OpenGLColorTextureRenderer.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 | 9807ed3d3e03 |
children | 1091b2adeb5a |
comparison
equal
deleted
inserted
replaced
871:4bc8d9609447 | 888:6e888cf6a48b |
---|---|
42 public: | 42 public: |
43 OpenGLColorTextureRenderer(OpenGL::IOpenGLContext& context, | 43 OpenGLColorTextureRenderer(OpenGL::IOpenGLContext& context, |
44 OpenGLColorTextureProgram& program, | 44 OpenGLColorTextureProgram& program, |
45 const ColorTextureSceneLayer& layer); | 45 const ColorTextureSceneLayer& layer); |
46 | 46 |
47 virtual void Render(const AffineTransform2D& transform); | 47 virtual void Render(const AffineTransform2D& transform, |
48 unsigned int canvasWidth, | |
49 unsigned int canvasHeight); | |
48 | 50 |
49 virtual void Update(const ISceneLayer& layer); | 51 virtual void Update(const ISceneLayer& layer); |
50 }; | 52 }; |
51 } | 53 } |
52 } | 54 } |