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;
import com.tencent.smtt.sdk.TbsMediaPlayer$TbsMediaPlayerListener;

public final class la extends c {
    private final int height = TbsMediaPlayer$TbsMediaPlayerListener.MEDIA_EXTRA_SUBTITLE_INDEX;
    private final int width = TbsMediaPlayer$TbsMediaPlayerListener.MEDIA_EXTRA_SUBTITLE_INDEX;

    public final int a(int i, Object... objArr) {
        switch (i) {
            case 0:
                return TbsMediaPlayer$TbsMediaPlayerListener.MEDIA_EXTRA_SUBTITLE_INDEX;
            case 1:
                return TbsMediaPlayer$TbsMediaPlayerListener.MEDIA_EXTRA_SUBTITLE_INDEX;
            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);
                canvas.save();
                Paint a = c.a(k, looper);
                a.setColor(-1);
                g = c.a(g, 1.0f, 0.0f, -2644.0f, 0.0f, 1.0f, -2054.0f);
                h.reset();
                h.setValues(g);
                canvas.concat(h);
                canvas.save();
                Paint a2 = c.a(a, looper);
                Path l = c.l(looper);
                l.moveTo(2697.9246f, 2114.546f);
                l.lineTo(2690.5f, 2121.9705f);
                l.lineTo(2692.6213f, 2124.0918f);
                l.lineTo(2700.046f, 2116.6672f);
                l.lineTo(2707.4705f, 2124.0918f);
                l.lineTo(2709.5918f, 2121.9705f);
                l.lineTo(2702.1672f, 2114.546f);
                l.lineTo(2709.5918f, 2107.1213f);
                l.lineTo(2707.4705f, 2105.0f);
                l.lineTo(2700.046f, 2112.4246f);
                l.lineTo(2692.6213f, 2105.0f);
                l.lineTo(2690.5f, 2107.1213f);
                l.lineTo(2697.9246f, 2114.546f);
                l.close();
                l.moveTo(2695.0f, 2156.0f);
                l.cubicTo(2666.8335f, 2156.0f, 2644.0f, 2133.1665f, 2644.0f, 2105.0f);
                l.cubicTo(2644.0f, 2076.8335f, 2666.8335f, 2054.0f, 2695.0f, 2054.0f);
                l.cubicTo(2723.1665f, 2054.0f, 2746.0f, 2076.8335f, 2746.0f, 2105.0f);
                l.cubicTo(2746.0f, 2133.1665f, 2723.1665f, 2156.0f, 2695.0f, 2156.0f);
                l.close();
                l.moveTo(2695.0f, 2153.0f);
                l.cubicTo(2668.4902f, 2153.0f, 2647.0f, 2131.5098f, 2647.0f, 2105.0f);
                l.cubicTo(2647.0f, 2078.4902f, 2668.4902f, 2057.0f, 2695.0f, 2057.0f);
                l.cubicTo(2721.5098f, 2057.0f, 2743.0f, 2078.4902f, 2743.0f, 2105.0f);
                l.cubicTo(2743.0f, 2131.5098f, 2721.5098f, 2153.0f, 2695.0f, 2153.0f);
                l.close();
                l.moveTo(2674.0f, 2081.4993f);
                l.cubicTo(2674.0f, 2080.395f, 2674.8967f, 2079.5f, 2675.9976f, 2079.5f);
                l.lineTo(2714.0024f, 2079.5f);
                l.cubicTo(2715.1057f, 2079.5f, 2716.0f, 2080.396f, 2716.0f, 2081.4993f);
                l.lineTo(2716.0f, 2128.5007f);
                l.cubicTo(2716.0f, 2129.605f, 2715.1033f, 2130.5f, 2714.0024f, 2130.5f);
                l.lineTo(2675.9976f, 2130.5f);
                l.cubicTo(2674.8943f, 2130.5f, 2674.0f, 2129.604f, 2674.0f, 2128.5007f);
                l.lineTo(2674.0f, 2081.4993f);
                l.close();
                l.moveTo(2677.0f, 2082.5f);
                l.lineTo(2713.0f, 2082.5f);
                l.lineTo(2713.0f, 2127.5f);
                l.lineTo(2677.0f, 2127.5f);
                l.lineTo(2677.0f, 2082.5f);
                l.close();
                l.moveTo(2681.5f, 2087.0f);
                l.lineTo(2696.5f, 2087.0f);
                l.lineTo(2696.5f, 2090.0f);
                l.lineTo(2681.5f, 2090.0f);
                l.lineTo(2681.5f, 2087.0f);
                l.close();
                l.moveTo(2681.5f, 2094.5f);
                l.lineTo(2696.5f, 2094.5f);
                l.lineTo(2696.5f, 2097.5f);
                l.lineTo(2681.5f, 2097.5f);
                l.lineTo(2681.5f, 2094.5f);
                l.close();
                WeChatSVGRenderC2Java.setFillType(l, 2);
                canvas.drawPath(l, a2);
                canvas.restore();
                canvas.restore();
                c.j(looper);
                break;
        }
        return 0;
    }
}
