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 azl extends c {
    private final int height = 80;
    private final int width = 80;

    public final int a(int i, Object... objArr) {
        switch (i) {
            case 0:
                return 80;
            case 1:
                return 80;
            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);
                Paint a = c.a(k, looper);
                a.setColor(-1);
                canvas.save();
                g = c.a(g, 1.0f, 0.0f, 5.0f, 0.0f, 1.0f, 19.0f);
                h.reset();
                h.setValues(g);
                canvas.concat(h);
                canvas.save();
                k = c.a(a, looper);
                Path l = c.l(looper);
                l.moveTo(0.0f, 0.6294041f);
                l.lineTo(44.081802f, 0.6294054f);
                l.lineTo(44.081802f, 41.746845f);
                l.lineTo(0.0f, 41.74684f);
                l.lineTo(0.0f, 0.6294041f);
                l.close();
                l.moveTo(5.0f, 5.629404f);
                l.lineTo(39.0f, 5.6294045f);
                l.lineTo(39.0f, 36.629406f);
                l.lineTo(5.0f, 36.629402f);
                l.lineTo(5.0f, 5.629404f);
                l.close();
                WeChatSVGRenderC2Java.setFillType(l, 2);
                canvas.drawPath(l, k);
                canvas.restore();
                canvas.save();
                g = c.a(g, 1.0f, 0.0f, 47.88276f, 0.0f, 1.0f, 1.922839f);
                h.reset();
                h.setValues(g);
                canvas.concat(h);
                canvas.save();
                Paint a2 = c.a(a, looper);
                Path l2 = c.l(looper);
                l2.moveTo(17.238659f, 3.8456779f);
                l2.lineTo(21.276552f, 3.8456774f);
                l2.lineTo(21.276552f, 34.611103f);
                l2.lineTo(17.238659f, 34.611107f);
                l2.lineTo(17.238659f, 3.8456779f);
                l2.close();
                WeChatSVGRenderC2Java.setFillType(l2, 2);
                canvas.drawPath(l2, a2);
                canvas.restore();
                canvas.save();
                a2 = c.a(a, looper);
                l2 = c.l(looper);
                l2.moveTo(0.2687733f, 13.459874f);
                l2.lineTo(4.221509f, 13.459874f);
                l2.lineTo(4.221509f, 24.99691f);
                l2.lineTo(0.2687733f, 24.99691f);
                l2.lineTo(0.2687733f, 13.459874f);
                l2.close();
                WeChatSVGRenderC2Java.setFillType(l2, 2);
                canvas.drawPath(l2, a2);
                canvas.restore();
                canvas.save();
                a2 = c.a(a, looper);
                l2 = c.l(looper);
                l2.moveTo(0.0f, 13.459874f);
                l2.lineTo(21.388449f, 0.0f);
                l2.lineTo(21.388449f, 5.171436f);
                l2.lineTo(0.0f, 18.63131f);
                l2.lineTo(0.0f, 13.459874f);
                l2.close();
                WeChatSVGRenderC2Java.setFillType(l2, 2);
                canvas.drawPath(l2, a2);
                canvas.restore();
                canvas.save();
                a2 = c.a(a, looper);
                l2 = c.l(looper);
                l2.moveTo(21.388449f, 33.285347f);
                l2.lineTo(0.0f, 19.825474f);
                l2.lineTo(0.0f, 24.99691f);
                l2.lineTo(21.388449f, 38.456783f);
                l2.lineTo(21.388449f, 33.285347f);
                l2.close();
                WeChatSVGRenderC2Java.setFillType(l2, 2);
                canvas.drawPath(l2, a2);
                canvas.restore();
                canvas.restore();
                canvas.restore();
                c.j(looper);
                break;
        }
        return 0;
    }
}
