package com.tencent.mm.boot.svg.a.a;

import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Paint.Cap;
import android.graphics.Paint.Join;
import android.graphics.Paint.Style;
import android.graphics.Path;
import android.os.Looper;
import com.tencent.mm.svg.WeChatSVGRenderC2Java;
import com.tencent.mm.svg.c;

public final class art extends c {
    private final int height = 71;
    private final int width = 71;

    public final int a(int i, Object... objArr) {
        switch (i) {
            case 0:
                return 71;
            case 1:
                return 71;
            case 2:
                Canvas canvas = (Canvas) objArr[0];
                Looper looper = (Looper) objArr[1];
                Matrix h = c.h(looper);
                float[] g = c.g(looper);
                Paint k = c.k(looper);
                k.setFlags(385);
                k.setStyle(Style.FILL);
                Paint k2 = c.k(looper);
                k2.setFlags(385);
                k2.setStyle(Style.STROKE);
                k.setColor(-16777216);
                k2.setStrokeWidth(1.0f);
                k2.setStrokeCap(Cap.BUTT);
                k2.setStrokeJoin(Join.MITER);
                k2.setStrokeMiter(4.0f);
                k2.setPathEffect(null);
                c.a(k2, looper).setStrokeWidth(1.0f);
                Path l = c.l(looper);
                l.moveTo(85.5f, 0.0f);
                l.cubicTo(132.72035f, 0.0f, 171.0f, 38.27965f, 171.0f, 85.5f);
                l.cubicTo(171.0f, 132.72035f, 132.72035f, 171.0f, 85.5f, 171.0f);
                l.cubicTo(38.27965f, 171.0f, 0.0f, 132.72035f, 0.0f, 85.5f);
                l.cubicTo(0.0f, 38.27965f, 38.27965f, 0.0f, 85.5f, 0.0f);
                l.close();
                k = c.a(k, looper);
                k.setColor(-11119016);
                canvas.save();
                Paint a = c.a(k, looper);
                l = c.l(looper);
                l.moveTo(0.0f, 6.99323f);
                l.cubicTo(0.0f, 5.8923993f, 0.89770234f, 5.0f, 1.9917458f, 5.0f);
                l.lineTo(69.008255f, 5.0f);
                l.cubicTo(70.10827f, 5.0f, 71.0f, 5.8954434f, 71.0f, 6.99323f);
                l.lineTo(71.0f, 69.00677f);
                l.cubicTo(71.0f, 70.1076f, 70.102295f, 71.0f, 69.008255f, 71.0f);
                l.lineTo(1.9917458f, 71.0f);
                l.cubicTo(0.89173496f, 71.0f, 0.0f, 70.10455f, 0.0f, 69.00677f);
                l.lineTo(0.0f, 6.99323f);
                l.close();
                l.moveTo(3.0f, 8.0f);
                l.lineTo(68.0f, 8.0f);
                l.lineTo(68.0f, 68.0f);
                l.lineTo(3.0f, 68.0f);
                l.lineTo(3.0f, 8.0f);
                l.close();
                WeChatSVGRenderC2Java.setFillType(l, 2);
                canvas.drawPath(l, a);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                Path l2 = c.l(looper);
                l2.moveTo(0.0f, 26.0f);
                l2.lineTo(71.0f, 26.0f);
                l2.lineTo(71.0f, 29.0f);
                l2.lineTo(0.0f, 29.0f);
                l2.lineTo(0.0f, 26.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                l2 = c.l(looper);
                l2.moveTo(12.0f, 39.0f);
                l2.lineTo(23.0f, 39.0f);
                l2.lineTo(23.0f, 42.0f);
                l2.lineTo(12.0f, 42.0f);
                l2.lineTo(12.0f, 39.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                canvas.save();
                a = c.a(k, looper);
                float[] a2 = c.a(g, -1.8369701E-16f, -1.0f, 22.60606f, 1.0f, -1.8369701E-16f, -8.621212f);
                h.reset();
                h.setValues(a2);
                canvas.concat(h);
                l2 = c.l(looper);
                l2.moveTo(8.621212f, 5.6060605f);
                l2.lineTo(22.621212f, 5.6060605f);
                l2.lineTo(22.621212f, 8.60606f);
                l2.lineTo(8.621212f, 8.60606f);
                l2.lineTo(8.621212f, 5.6060605f);
                l2.close();
                canvas.drawPath(l2, a);
                canvas.restore();
                canvas.save();
                Paint a3 = c.a(k, looper);
                a2 = c.a(a2, -1.8369701E-16f, -1.0f, 62.60606f, 1.0f, -1.8369701E-16f, -48.621212f);
                h.reset();
                h.setValues(a2);
                canvas.concat(h);
                l = c.l(looper);
                l.moveTo(48.621212f, 5.6060605f);
                l.lineTo(62.621212f, 5.6060605f);
                l.lineTo(62.621212f, 8.60606f);
                l.lineTo(48.621212f, 8.60606f);
                l.lineTo(48.621212f, 5.6060605f);
                l.close();
                canvas.drawPath(l, a3);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                l2 = c.l(looper);
                l2.moveTo(12.0f, 53.0f);
                l2.lineTo(23.0f, 53.0f);
                l2.lineTo(23.0f, 56.0f);
                l2.lineTo(12.0f, 56.0f);
                l2.lineTo(12.0f, 53.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                l2 = c.l(looper);
                l2.moveTo(30.0f, 39.0f);
                l2.lineTo(41.0f, 39.0f);
                l2.lineTo(41.0f, 42.0f);
                l2.lineTo(30.0f, 42.0f);
                l2.lineTo(30.0f, 39.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                l2 = c.l(looper);
                l2.moveTo(30.0f, 53.0f);
                l2.lineTo(41.0f, 53.0f);
                l2.lineTo(41.0f, 56.0f);
                l2.lineTo(30.0f, 56.0f);
                l2.lineTo(30.0f, 53.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                l2 = c.l(looper);
                l2.moveTo(48.0f, 39.0f);
                l2.lineTo(59.0f, 39.0f);
                l2.lineTo(59.0f, 42.0f);
                l2.lineTo(48.0f, 42.0f);
                l2.lineTo(48.0f, 39.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                canvas.save();
                k2 = c.a(k, looper);
                l2 = c.l(looper);
                l2.moveTo(48.0f, 53.0f);
                l2.lineTo(59.0f, 53.0f);
                l2.lineTo(59.0f, 56.0f);
                l2.lineTo(48.0f, 56.0f);
                l2.lineTo(48.0f, 53.0f);
                l2.close();
                canvas.drawPath(l2, k2);
                canvas.restore();
                c.j(looper);
                break;
        }
        return 0;
    }
}
