Code Monkey home page Code Monkey logo

Comments (3)

RuiwenTang avatar RuiwenTang commented on May 13, 2024

@0TemetNosce0 可以提供一个简单的例子么,或者提一个修复的PR也行

from skity.

0TemetNosce0 avatar 0TemetNosce0 commented on May 13, 2024
    skity::Paint paint;
    paint.setStyle(skity::Paint::kStroke_Style);
    paint.setAntiAlias(true);
    paint.setStrokeWidth(6.f);
    paint.setStrokeJoin(skity::Paint::kRound_Join);
    paint.setStrokeColor(1, 0, 0x0, 1.f);
    skity::Path path;
    path.moveTo(20, 80);
    path.lineTo(20, 30);
    path.cubicTo(80, 0, 50, 50, 80, 80);
    canvas->drawPath(path, paint);

显示效果:https://note.youdao.com/s/PeNRW14C

from skity.

RuiwenTang avatar RuiwenTang commented on May 13, 2024

@0TemetNosce0 可以同步一下最新的代码,这个看上去已经正常了

screenshot-20220422-181707

from skity.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.