Ejemplo n.º 1
0
        public override void Draw(DrawContext ctx)
        {
            float center = Pane.BlockSize / 2.0f;

            ctx.Push();
            ctx.Translate(Pane.GetBlockX(Column), Pane.GetBlockY(Row) + yOff);
            ctx.ScaleAroundPoint(scale, scale, center, center);
            ctx.RotateAroundPoint(rotation, center, center);
            Block.Draw(ctx, Pane, alpha);
            ctx.Pop();
        }