Example #1
0
 protected final int h(int paramInt, Object... paramVarArgs) {
   switch (paramInt) {
   }
   for (; ; ) {
     return 0;
     return 46;
     return 46;
     Canvas localCanvas = (Canvas) paramVarArgs[0];
     paramVarArgs = (Looper) paramVarArgs[1];
     c.e(paramVarArgs);
     c.d(paramVarArgs);
     Object localObject = c.h(paramVarArgs);
     ((Paint) localObject).setFlags(385);
     ((Paint) localObject).setStyle(Paint.Style.FILL);
     Paint localPaint1 = c.h(paramVarArgs);
     localPaint1.setFlags(385);
     localPaint1.setStyle(Paint.Style.STROKE);
     ((Paint) localObject).setColor(-16777216);
     localPaint1.setStrokeWidth(1.0F);
     localPaint1.setStrokeCap(Paint.Cap.BUTT);
     localPaint1.setStrokeJoin(Paint.Join.MITER);
     localPaint1.setStrokeMiter(4.0F);
     localPaint1.setPathEffect(null);
     Paint localPaint2 = c.a(localPaint1, paramVarArgs);
     localPaint2.set(localPaint1);
     localPaint2.setStrokeWidth(1.0F);
     localCanvas.save();
     localPaint1 = c.a((Paint) localObject, paramVarArgs);
     localPaint1.set((Paint) localObject);
     localPaint1.setColor(-8744017);
     localObject = c.i(paramVarArgs);
     ((Path) localObject).moveTo(30.430653F, 34.178318F);
     ((Path) localObject).cubicTo(27.249908F, 36.57749F, 23.291077F, 38.0F, 19.0F, 38.0F);
     ((Path) localObject).cubicTo(8.50659F, 38.0F, 0.0F, 29.49341F, 0.0F, 19.0F);
     ((Path) localObject).cubicTo(0.0F, 8.50659F, 8.50659F, 0.0F, 19.0F, 0.0F);
     ((Path) localObject).cubicTo(29.49341F, 0.0F, 38.0F, 8.50659F, 38.0F, 19.0F);
     ((Path) localObject)
         .cubicTo(38.0F, 23.291077F, 36.57749F, 27.249908F, 34.178318F, 30.430653F);
     ((Path) localObject).lineTo(45.619164F, 41.8715F);
     ((Path) localObject).lineTo(41.8715F, 45.619164F);
     ((Path) localObject).lineTo(30.430653F, 34.178318F);
     ((Path) localObject).close();
     ((Path) localObject).moveTo(27.062714F, 30.44662F);
     ((Path) localObject).cubicTo(24.783264F, 32.055153F, 22.001972F, 33.0F, 19.0F, 33.0F);
     ((Path) localObject).cubicTo(11.268014F, 33.0F, 5.0F, 26.731987F, 5.0F, 19.0F);
     ((Path) localObject).cubicTo(5.0F, 11.268014F, 11.268014F, 5.0F, 19.0F, 5.0F);
     ((Path) localObject).cubicTo(26.731987F, 5.0F, 33.0F, 11.268014F, 33.0F, 19.0F);
     ((Path) localObject)
         .cubicTo(33.0F, 22.001972F, 32.055153F, 24.783264F, 30.44662F, 27.062714F);
     ((Path) localObject).lineTo(27.062714F, 30.44662F);
     ((Path) localObject).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject, 2);
     localCanvas.drawPath((Path) localObject, localPaint1);
     localCanvas.restore();
     c.g(paramVarArgs);
   }
 }
Example #2
0
  /** Initializes the {@code Paint} objects with the appropriate styles. */
  protected void initPaints() {
    mCirclePaint = new Paint();
    mCirclePaint.setAntiAlias(true);
    mCirclePaint.setDither(true);
    mCirclePaint.setColor(mCircleColor);
    mCirclePaint.setStrokeWidth(mCircleStrokeWidth);
    mCirclePaint.setStyle(Paint.Style.STROKE);
    mCirclePaint.setStrokeJoin(Paint.Join.ROUND);
    mCirclePaint.setStrokeCap(Paint.Cap.ROUND);

    mCircleFillPaint = new Paint();
    mCircleFillPaint.setAntiAlias(true);
    mCircleFillPaint.setDither(true);
    mCircleFillPaint.setColor(mCircleFillColor);
    mCircleFillPaint.setStyle(Paint.Style.FILL);

    mCircleProgressPaint = new Paint();
    mCircleProgressPaint.setAntiAlias(true);
    mCircleProgressPaint.setDither(true);
    mCircleProgressPaint.setColor(mCircleProgressColor);
    mCircleProgressPaint.setStrokeWidth(mCircleStrokeWidth);
    mCircleProgressPaint.setStyle(Paint.Style.STROKE);
    mCircleProgressPaint.setStrokeJoin(Paint.Join.ROUND);
    mCircleProgressPaint.setStrokeCap(Paint.Cap.ROUND);

    mCircleProgressGlowPaint = new Paint();
    mCircleProgressGlowPaint.set(mCircleProgressPaint);
    mCircleProgressGlowPaint.setMaskFilter(
        new BlurMaskFilter((5f * DPTOPX_SCALE), BlurMaskFilter.Blur.NORMAL));

    mPointerPaint = new Paint();
    mPointerPaint.setAntiAlias(true);
    mPointerPaint.setDither(true);
    mPointerPaint.setStyle(Paint.Style.FILL);
    mPointerPaint.setColor(mPointerColor);
    mPointerPaint.setStrokeWidth(mPointerRadius);

    mPointerHaloPaint = new Paint();
    mPointerHaloPaint.set(mPointerPaint);
    mPointerHaloPaint.setColor(mPointerHaloColor);
    mPointerHaloPaint.setAlpha(mPointerAlpha);
    mPointerHaloPaint.setStrokeWidth(mPointerRadius + mPointerHaloWidth);

    mPointerHaloBorderPaint = new Paint();
    mPointerHaloBorderPaint.set(mPointerPaint);
    mPointerHaloBorderPaint.setStrokeWidth(mPointerHaloBorderWidth);
    mPointerHaloBorderPaint.setStyle(Paint.Style.STROKE);
  }
Example #3
0
File: Unit.java Project: talah/BBTH
  public void drawHealthBar(Canvas canvas, boolean serverDraw) {
    if (isDead()) return;

    tempPaint.set(paint);
    paint.setStyle(Style.FILL);

    float radius = getRadius();
    float border = 1f;

    float left = getX() - radius;
    float top = (serverDraw) ? getY() + (radius * 2f) : getY() - (radius * 2f);
    float right = left + 2f * radius;
    float bottom = top + radius / 2f;

    paint.setColor(Color.WHITE);
    canvas.drawRect(left - border, top - border, right + border, bottom + border, paint);

    paint.setColor(Color.RED);
    canvas.drawRect(left, top, right, bottom, paint);

    paint.setColor(Color.GREEN);
    float greenStopX = MathUtils.scale(0f, getStartingHealth(), left, right, getHealth(), true);
    canvas.drawRect(left, top, greenStopX, bottom, paint);

    paint.set(tempPaint);
  }
Example #4
0
  /* Re size the font so the specified text fits in the text box
   * assuming the text box is the specified width.
   */
  private void refitText(String text, int textWidth) {

    if (textWidth <= 0 || text.length() == 0) return;

    int targetWidth = textWidth - this.getPaddingLeft() - this.getPaddingRight();

    // this is most likely a non-relevant call
    if (targetWidth <= 2) return;

    // text already fits with the xml-defined font size?
    mTestPaint.set(this.getPaint());
    mTestPaint.setTextSize(defaultTextSize);
    if (mTestPaint.measureText(text) <= targetWidth) {
      this.setTextSize(TypedValue.COMPLEX_UNIT_PX, defaultTextSize);
      return;
    }

    // adjust text size using binary search for efficiency
    float hi = defaultTextSize;
    float lo = 2;
    final float threshold = 0.5f; // How close we have to be
    while (hi - lo > threshold) {
      float size = (hi + lo) / 2;
      mTestPaint.setTextSize(size);
      if (mTestPaint.measureText(text) >= targetWidth) hi = size; // too big
      else lo = size; // too small
    }

    // Use lo so that we undershoot rather than overshoot
    this.setTextSize(TypedValue.COMPLEX_UNIT_PX, lo);
  }
Example #5
0
 private void drawArcsEdges(final Canvas canvas) {
   for (int row = 0; row < numNode - 1; ++row) {
     for (int col = row + 1; col < numNode; ++col) {
       int typeLine = matrix[row][col] - matrix[col][row];
       if (matrix[row][col] + matrix[col][row] != 0) {
         switch (typeLine) {
           case -1:
             start = coordNodes.get(col);
             end = coordNodes.get(row);
             paintArc.setShader(
                 new LinearGradient(
                     start.x,
                     start.y,
                     end.x,
                     end.y,
                     Color.BLUE,
                     Color.CYAN,
                     Shader.TileMode.MIRROR));
             paint.set(paintArc);
             break;
           case 0:
             start = coordNodes.get(row);
             end = coordNodes.get(col);
             paint.set(paintEdge);
             break;
           case 1:
             start = coordNodes.get(row);
             end = coordNodes.get(col);
             paintArc.setShader(
                 new LinearGradient(
                     start.x,
                     start.y,
                     end.x,
                     end.y,
                     Color.BLUE,
                     Color.CYAN,
                     Shader.TileMode.REPEAT));
             paint.set(paintArc);
             break;
         }
         drawLine(canvas, paint);
       }
     }
   }
 }
Example #6
0
  /** Copy the fields from tp into this TextPaint, including the fields inherited from Paint. */
  public void set(TextPaint tp) {
    super.set(tp);

    bgColor = tp.bgColor;
    baselineShift = tp.baselineShift;
    linkColor = tp.linkColor;
    drawableState = tp.drawableState;
    density = tp.density;
    underlineColor = tp.underlineColor;
    underlineThickness = tp.underlineThickness;
  }
  private void initialise() {
    testPaint = new Paint();
    testPaint.set(this.getPaint());

    maxTextSize = this.getTextSize();

    if (maxTextSize <= DEFAULT_MIN_TEXT_SIZE) {
      maxTextSize = DEFAULT_MAX_TEXT_SIZE;
    }

    minTextSize = DEFAULT_MIN_TEXT_SIZE;
  };
Example #8
0
 private void initialize() {
   mTestPaint = new Paint();
   mTestPaint.set(this.getPaint());
   defaultTextSize = getTextSize();
 }
Example #9
0
  private void initialise() {
    testPaint = new Paint();
    testPaint.set(this.getPaint());

    maxTextSize = this.getTextSize();
  };
Example #10
0
 protected final int h(int paramInt, Object... paramVarArgs) {
   switch (paramInt) {
   }
   for (; ; ) {
     return 0;
     return 96;
     return 96;
     Canvas localCanvas = (Canvas) paramVarArgs[0];
     paramVarArgs = (Looper) paramVarArgs[1];
     Object localObject1 = c.e(paramVarArgs);
     Object localObject2 = c.d(paramVarArgs);
     Paint localPaint1 = c.h(paramVarArgs);
     localPaint1.setFlags(385);
     localPaint1.setStyle(Paint.Style.FILL);
     Paint localPaint2 = c.h(paramVarArgs);
     localPaint2.setFlags(385);
     localPaint2.setStyle(Paint.Style.STROKE);
     localPaint1.setColor(-16777216);
     localPaint2.setStrokeWidth(1.0F);
     localPaint2.setStrokeCap(Paint.Cap.BUTT);
     localPaint2.setStrokeJoin(Paint.Join.MITER);
     localPaint2.setStrokeMiter(4.0F);
     localPaint2.setPathEffect(null);
     Paint localPaint3 = c.a(localPaint2, paramVarArgs);
     localPaint3.set(localPaint2);
     localPaint3.setStrokeWidth(1.0F);
     localCanvas.save();
     localPaint2 = c.a(localPaint1, paramVarArgs);
     localPaint2.set(localPaint1);
     localPaint2.setColor(-1);
     localObject2 = c.a((float[]) localObject2, 1.0F, 0.0F, 16.0F, 0.0F, 1.0F, 19.0F);
     ((Matrix) localObject1).reset();
     ((Matrix) localObject1).setValues((float[]) localObject2);
     localCanvas.concat((Matrix) localObject1);
     localCanvas.save();
     localObject1 = c.a(localPaint2, paramVarArgs);
     ((Paint) localObject1).set(localPaint2);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(7.0F, 11.0F);
     ((Path) localObject2).cubicTo(18.022842F, -1.5691655F, 38.109734F, -3.4442992F, 51.0F, 6.0F);
     ((Path) localObject2).cubicTo(57.19578F, 9.892214F, 61.859707F, 15.868576F, 63.0F, 23.0F);
     ((Path) localObject2).cubicTo(65.37266F, 31.4011F, 62.53027F, 40.786797F, 56.0F, 47.0F);
     ((Path) localObject2).cubicTo(46.767014F, 57.08141F, 30.80359F, 59.658463F, 18.0F, 54.0F);
     ((Path) localObject2).cubicTo(13.649165F, 52.00752F, 9.035285F, 55.466988F, 4.0F, 56.0F);
     ((Path) localObject2).cubicTo(4.9118176F, 52.609165F, 6.3830547F, 49.620983F, 6.0F, 46.0F);
     ((Path) localObject2).cubicTo(5.041927F, 43.40396F, 2.8000417F, 40.85699F, 2.0F, 38.0F);
     ((Path) localObject2).cubicTo(-1.8939054F, 28.623497F, 0.3179545F, 17.643435F, 7.0F, 11.0F);
     ((Path) localObject2).lineTo(7.0F, 11.0F);
     ((Path) localObject2).close();
     ((Path) localObject2).moveTo(12.0F, 25.0F);
     ((Path) localObject2).cubicTo(9.865875F, 26.304083F, 9.149957F, 30.017578F, 11.0F, 32.0F);
     ((Path) localObject2).cubicTo(13.243798F, 34.098343F, 17.448557F, 32.84351F, 18.0F, 30.0F);
     ((Path) localObject2).cubicTo(18.62831F, 26.732563F, 15.159636F, 24.018854F, 12.0F, 25.0F);
     ((Path) localObject2).lineTo(12.0F, 25.0F);
     ((Path) localObject2).close();
     ((Path) localObject2).moveTo(30.0F, 25.0F);
     ((Path) localObject2).cubicTo(27.562128F, 26.335243F, 27.09499F, 30.759026F, 30.0F, 32.0F);
     ((Path) localObject2).cubicTo(32.18272F, 34.112537F, 36.14323F, 32.135086F, 36.0F, 29.0F);
     ((Path) localObject2).cubicTo(36.194004F, 26.263891F, 32.954514F, 24.194704F, 30.0F, 25.0F);
     ((Path) localObject2).lineTo(30.0F, 25.0F);
     ((Path) localObject2).close();
     ((Path) localObject2).moveTo(48.0F, 25.0F);
     ((Path) localObject2).cubicTo(45.873405F, 26.274252F, 45.137405F, 30.01835F, 47.0F, 32.0F);
     ((Path) localObject2).cubicTo(49.23077F, 34.08891F, 53.414875F, 32.85448F, 54.0F, 30.0F);
     ((Path) localObject2).cubicTo(54.63482F, 26.774145F, 51.20688F, 24.040035F, 48.0F, 25.0F);
     ((Path) localObject2).lineTo(48.0F, 25.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, (Paint) localObject1);
     localCanvas.restore();
     localCanvas.restore();
     c.g(paramVarArgs);
   }
 }
Example #11
0
 protected final int h(int paramInt, Object... paramVarArgs) {
   switch (paramInt) {
   }
   for (; ; ) {
     return 0;
     return 54;
     return 54;
     Canvas localCanvas = (Canvas) paramVarArgs[0];
     paramVarArgs = (Looper) paramVarArgs[1];
     c.e(paramVarArgs);
     c.d(paramVarArgs);
     Paint localPaint = c.h(paramVarArgs);
     localPaint.setFlags(385);
     localPaint.setStyle(Paint.Style.FILL);
     Object localObject1 = c.h(paramVarArgs);
     ((Paint) localObject1).setFlags(385);
     ((Paint) localObject1).setStyle(Paint.Style.STROKE);
     localPaint.setColor(-16777216);
     ((Paint) localObject1).setStrokeWidth(1.0F);
     ((Paint) localObject1).setStrokeCap(Paint.Cap.BUTT);
     ((Paint) localObject1).setStrokeJoin(Paint.Join.MITER);
     ((Paint) localObject1).setStrokeMiter(4.0F);
     ((Paint) localObject1).setPathEffect(null);
     Object localObject2 = c.a((Paint) localObject1, paramVarArgs);
     ((Paint) localObject2).set((Paint) localObject1);
     ((Paint) localObject2).setStrokeWidth(1.0F);
     localObject1 = c.a(localPaint, paramVarArgs);
     ((Paint) localObject1).set(localPaint);
     ((Paint) localObject1).setColor(-6710887);
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(0.0F, 0.0F);
     ((Path) localObject2).lineTo(17.995556F, 0.0F);
     ((Path) localObject2)
         .cubicTo(17.995556F, 5.998519F, 18.005554F, 11.997038F, 17.995556F, 17.995556F);
     ((Path) localObject2)
         .cubicTo(11.997038F, 18.005554F, 5.998519F, 17.995556F, 0.0F, 17.995556F);
     ((Path) localObject2).lineTo(0.0F, 0.0F);
     ((Path) localObject2).lineTo(0.0F, 0.0F);
     ((Path) localObject2).close();
     ((Path) localObject2).moveTo(6.0044413F, 6.0F);
     ((Path) localObject2)
         .cubicTo(6.0044413F, 7.99862F, 5.9944487F, 9.99724F, 6.0044413F, 11.9858675F);
     ((Path) localObject2)
         .cubicTo(8.002961F, 11.995861F, 10.00148F, 12.005854F, 11.990007F, 11.995861F);
     ((Path) localObject2).cubicTo(12.0F, 9.99724F, 12.0F, 7.99862F, 12.0F, 6.0F);
     ((Path) localObject2).lineTo(6.0044413F, 6.0F);
     ((Path) localObject2).lineTo(6.0044413F, 6.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(24.0F, 0.0F);
     ((Path) localObject2).lineTo(36.0F, 0.0F);
     ((Path) localObject2).lineTo(36.0F, 6.0F);
     ((Path) localObject2).cubicTo(38.0F, 6.0F, 40.0F, 6.01F, 42.0F, 6.0F);
     ((Path) localObject2).lineTo(42.0F, 12.0F);
     ((Path) localObject2).lineTo(30.0F, 12.0F);
     ((Path) localObject2).lineTo(30.0F, 6.0F);
     ((Path) localObject2).cubicTo(28.0F, 6.0F, 26.0F, 6.0F, 24.0F, 5.99F);
     ((Path) localObject2).lineTo(24.0F, 0.0F);
     ((Path) localObject2).lineTo(24.0F, 0.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(42.0F, 0.0F);
     ((Path) localObject2).lineTo(54.0F, 0.0F);
     ((Path) localObject2).lineTo(54.0F, 24.0F);
     ((Path) localObject2).cubicTo(52.0F, 24.0F, 50.0F, 24.0F, 48.0F, 23.99F);
     ((Path) localObject2).lineTo(48.0F, 18.01F);
     ((Path) localObject2).cubicTo(46.0F, 18.0F, 44.0F, 18.0F, 42.0F, 18.0F);
     ((Path) localObject2).lineTo(42.0F, 12.0F);
     ((Path) localObject2).lineTo(48.0F, 12.0F);
     ((Path) localObject2).cubicTo(48.0F, 10.0F, 48.0F, 8.0F, 47.99F, 6.0F);
     ((Path) localObject2).cubicTo(46.0F, 6.0F, 44.0F, 5.99F, 42.0F, 6.0F);
     ((Path) localObject2).lineTo(42.0F, 0.0F);
     ((Path) localObject2).lineTo(42.0F, 0.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(24.0F, 12.0F);
     ((Path) localObject2).lineTo(30.0F, 12.0F);
     ((Path) localObject2).lineTo(30.0F, 18.0F);
     ((Path) localObject2).lineTo(24.01F, 18.0F);
     ((Path) localObject2).cubicTo(24.0F, 16.0F, 24.0F, 14.0F, 24.0F, 12.0F);
     ((Path) localObject2).lineTo(24.0F, 12.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(30.0F, 18.0F);
     ((Path) localObject2).lineTo(42.0F, 18.0F);
     ((Path) localObject2).lineTo(42.0F, 24.0F);
     ((Path) localObject2).cubicTo(40.0F, 24.0F, 38.0F, 24.0F, 36.0F, 24.01F);
     ((Path) localObject2).lineTo(36.0F, 30.0F);
     ((Path) localObject2).cubicTo(32.0F, 30.0F, 28.0F, 29.99F, 24.01F, 30.0F);
     ((Path) localObject2).cubicTo(24.0F, 32.0F, 24.0F, 34.0F, 24.0F, 36.0F);
     ((Path) localObject2).lineTo(12.0F, 36.0F);
     ((Path) localObject2).lineTo(12.0F, 30.0F);
     ((Path) localObject2).cubicTo(14.0F, 30.01F, 16.0F, 30.0F, 18.0F, 30.0F);
     ((Path) localObject2).cubicTo(18.0F, 28.0F, 18.0F, 26.0F, 18.01F, 24.0F);
     ((Path) localObject2).cubicTo(22.0F, 23.99F, 26.0F, 24.01F, 30.0F, 24.0F);
     ((Path) localObject2).lineTo(30.0F, 18.0F);
     ((Path) localObject2).lineTo(30.0F, 18.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(0.0F, 24.004442F);
     ((Path) localObject2).cubicTo(4.0F, 24.004442F, 8.0F, 23.994446F, 11.99F, 24.004442F);
     ((Path) localObject2).cubicTo(12.0F, 26.003702F, 12.0F, 28.002962F, 12.0F, 30.002222F);
     ((Path) localObject2).cubicTo(10.0F, 29.992226F, 8.0F, 30.002222F, 6.0F, 30.002222F);
     ((Path) localObject2).lineTo(6.0F, 36.0F);
     ((Path) localObject2).lineTo(0.0F, 36.0F);
     ((Path) localObject2).lineTo(0.0F, 24.004442F);
     ((Path) localObject2).lineTo(0.0F, 24.004442F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(36.0F, 30.0F);
     ((Path) localObject2).lineTo(42.0F, 30.0F);
     ((Path) localObject2).lineTo(42.0F, 36.0F);
     ((Path) localObject2).lineTo(36.0F, 36.0F);
     ((Path) localObject2).lineTo(36.0F, 30.0F);
     ((Path) localObject2).lineTo(36.0F, 30.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(48.0F, 30.0F);
     ((Path) localObject2).lineTo(54.0F, 30.0F);
     ((Path) localObject2).lineTo(54.0F, 42.0F);
     ((Path) localObject2).cubicTo(52.0F, 42.0F, 50.0F, 42.0F, 48.0F, 42.01F);
     ((Path) localObject2).cubicTo(48.0F, 44.0F, 48.0F, 46.0F, 48.01F, 48.0F);
     ((Path) localObject2).lineTo(54.0F, 48.0F);
     ((Path) localObject2).lineTo(54.0F, 54.0F);
     ((Path) localObject2).lineTo(42.0F, 54.0F);
     ((Path) localObject2).cubicTo(42.0F, 52.0F, 42.0F, 50.0F, 41.99F, 48.0F);
     ((Path) localObject2).lineTo(36.0F, 48.0F);
     ((Path) localObject2).lineTo(36.0F, 42.0F);
     ((Path) localObject2).cubicTo(38.0F, 42.0F, 40.0F, 42.0F, 42.0F, 41.99F);
     ((Path) localObject2).lineTo(42.0F, 36.0F);
     ((Path) localObject2).lineTo(47.99F, 36.0F);
     ((Path) localObject2).cubicTo(48.0F, 34.0F, 48.0F, 32.0F, 48.0F, 30.0F);
     ((Path) localObject2).lineTo(48.0F, 30.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(6.0F, 36.0F);
     ((Path) localObject2).lineTo(12.0F, 36.0F);
     ((Path) localObject2).lineTo(12.0F, 42.0F);
     ((Path) localObject2).lineTo(6.0F, 42.0F);
     ((Path) localObject2).lineTo(6.0F, 36.0F);
     ((Path) localObject2).lineTo(6.0F, 36.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(24.0F, 36.0F);
     ((Path) localObject2).lineTo(36.0F, 36.0F);
     ((Path) localObject2).lineTo(36.0F, 42.0F);
     ((Path) localObject2).lineTo(24.0F, 42.0F);
     ((Path) localObject2).lineTo(24.0F, 36.0F);
     ((Path) localObject2).lineTo(24.0F, 36.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(0.0F, 42.0F);
     ((Path) localObject2).lineTo(6.0F, 42.0F);
     ((Path) localObject2).lineTo(6.0F, 48.0F);
     ((Path) localObject2).cubicTo(10.0F, 48.01F, 14.0F, 48.0F, 18.0F, 48.0F);
     ((Path) localObject2).lineTo(18.0F, 54.0F);
     ((Path) localObject2).lineTo(0.0F, 54.0F);
     ((Path) localObject2).lineTo(0.0F, 42.0F);
     ((Path) localObject2).lineTo(0.0F, 42.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject2 = c.i(paramVarArgs);
     ((Path) localObject2).moveTo(18.0F, 42.0F);
     ((Path) localObject2).lineTo(24.0F, 42.0F);
     ((Path) localObject2).lineTo(24.0F, 48.0F);
     ((Path) localObject2).lineTo(18.0F, 48.0F);
     ((Path) localObject2).lineTo(18.0F, 42.0F);
     ((Path) localObject2).lineTo(18.0F, 42.0F);
     ((Path) localObject2).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject2, 2);
     localCanvas.drawPath((Path) localObject2, localPaint);
     localCanvas.restore();
     localCanvas.save();
     localPaint = c.a((Paint) localObject1, paramVarArgs);
     localPaint.set((Paint) localObject1);
     localObject1 = c.i(paramVarArgs);
     ((Path) localObject1).moveTo(24.0F, 48.0F);
     ((Path) localObject1).lineTo(36.0F, 48.0F);
     ((Path) localObject1).lineTo(36.0F, 54.0F);
     ((Path) localObject1).lineTo(24.0F, 54.0F);
     ((Path) localObject1).lineTo(24.0F, 48.0F);
     ((Path) localObject1).lineTo(24.0F, 48.0F);
     ((Path) localObject1).close();
     WeChatSVGRenderC2Java.setFillType((Path) localObject1, 2);
     localCanvas.drawPath((Path) localObject1, localPaint);
     localCanvas.restore();
     c.g(paramVarArgs);
   }
 }