comparison Framework/Scene2D/Internals/CairoInfoPanelRenderer.cpp @ 848:80829436ce0c am-mainline

starting to re-implement radiography editor with latest framework
author Alain Mazy <alain@mazy.be>
date Thu, 13 Jun 2019 16:47:02 +0200
parents 9e51fb773bbd
children 6e79e8c9021c
comparison
equal deleted inserted replaced
842:2b245953b44b 848:80829436ce0c
40 void CairoInfoPanelRenderer::Render(const AffineTransform2D& transform) 40 void CairoInfoPanelRenderer::Render(const AffineTransform2D& transform)
41 { 41 {
42 int dx, dy; 42 int dx, dy;
43 InfoPanelSceneLayer::ComputeAnchorLocation( 43 InfoPanelSceneLayer::ComputeAnchorLocation(
44 dx, dy, anchor_, texture_.GetWidth(), texture_.GetHeight(), 44 dx, dy, anchor_, texture_.GetWidth(), texture_.GetHeight(),
45 target_.GetCairoWidth(), target_.GetCairoHeight()); 45 target_.GetWidth(), target_.GetHeight());
46 46
47 cairo_t* cr = target_.GetCairoContext(); 47 cairo_t* cr = target_.GetCairoContext();
48 48
49 cairo_save(cr); 49 cairo_save(cr);
50 50