comparison Framework/Scene2D/Internals/CairoFloatTextureRenderer.cpp @ 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 b8dfd966b5f4
children 6e79e8c9021c
comparison
equal deleted inserted replaced
871:4bc8d9609447 888:6e888cf6a48b
86 } 86 }
87 } 87 }
88 } 88 }
89 89
90 90
91 void CairoFloatTextureRenderer::Render(const AffineTransform2D& transform) 91 void CairoFloatTextureRenderer::Render(const AffineTransform2D& transform,
92 unsigned int canvasWidth,
93 unsigned int canvasHeight)
92 { 94 {
93 CairoColorTextureRenderer::RenderColorTexture(target_, transform, texture_, 95 CairoColorTextureRenderer::RenderColorTexture(target_, transform, texture_,
94 textureTransform_, isLinearInterpolation_); 96 textureTransform_, isLinearInterpolation_);
95 } 97 }
96 } 98 }