Dear all,
I'm quite new in 2D XML gauge building and now I'm stuck with my B733 EADI.
Main question: Is it possible to rotate a MaskImage together with the masked image? The following code does NOT work, but if it would, that's what I want:
EADI_CardScale.bmp both shifts and rotates, but EADI_bankIndicator.bmp does not move at all instead of rotating.
If this is impossible, does anybody have a hint how to solve this differently?
What you can see here is the very common standard: The surrounding is the MaskImage, the blue/brown card and the white scale are one bitmap being the masked image, and the white/transparent bank indicator triangle is on top. What I try to achieve is, that the red rectangle moves with the the bank indicator triangle and that the white scale is invisible within this rectangle. But the blue/brown card should be still visible! Of course, the rectangle will not remain, it's just to visualize my problem.
Any help is deeply appreciated.
Frank
I'm quite new in 2D XML gauge building and now I'm stuck with my B733 EADI.
Main question: Is it possible to rotate a MaskImage together with the masked image? The following code does NOT work, but if it would, that's what I want:
Code:
<Element>
<Element>
<Position X="228" Y="130"/>
<Image Name="EADI_cardScale.bmp">
<Axis X="200" Y="700"/>
</Image>
<MaskImage Name="EADI_bankIndicator.bmp">
<Axis X="60" Y="130"/>
</MaskImage>
<Shift>
<Value>(A:ATTITUDE INDICATOR PITCH DEGREES, degrees) /-/</Value>
<Scale Y="7.2"/>
</Shift>
</Element>
<Rotate>
<Value>(A:ATTITUDE INDICATOR BANK DEGREES, radians)</Value>
</Rotate>
</Element>
If this is impossible, does anybody have a hint how to solve this differently?
What you can see here is the very common standard: The surrounding is the MaskImage, the blue/brown card and the white scale are one bitmap being the masked image, and the white/transparent bank indicator triangle is on top. What I try to achieve is, that the red rectangle moves with the the bank indicator triangle and that the white scale is invisible within this rectangle. But the blue/brown card should be still visible! Of course, the rectangle will not remain, it's just to visualize my problem.
Any help is deeply appreciated.
Frank


