AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Painnt tool sai rotate4/2/2023 And then I started to use git-svn as my work on Krita Cavnas could break some stuff in trunk and creating gsoc-canvas branch seems to be the solution. I realized that it can’t be adopted from Karbon, because for Krita it is more complicated. So first week I spent time to investigate all related classes, I investigated canvas in Karbon which in infinte and we discussed that it would be cool to have infinte canvas for Krita. Math issues like transformations are already done in Qt. ![]() But it is complicated much more then one would think.Integrate it into Krita is the biggest problem. PaintTool SAI is a lightweight drawing and painting software used for creating or editing art. The coordinates that comes from canvas events has to be transformed into 2D coordinates properly. Zoom has to be taken into account (points, inch and pixels are present in the API).ġ. The canvas is bigger when it is rotated, so I need to change the size of the canvasĤ. Let’s rotate the rendered image around center using QPainter and QTransform.ģ. Krita renders the whole image (layers and colorspace) into QImage or QPixmap and then displays the result.Ģ. There is already some nice support in Qt for it.ġ. How To Use the Straight and Circle Ruler in Paint Tool Sai 2 Afini 84 subscribers Subscribe 839 29K views 5 years ago UPDATE MAY 2020 This video is from 2017 when my username was. We want to support rotation of the canvas for both OpenGL-based canvas and QPainter-based canvas. It is quite stable but has some issues here and there. I really like the feature which import classes from C++ code. Also you can rotate the canvas for better orientation when the 3D brush will appear in Krita.įirst step for canvas rotation was drawing some UML diagram and get the idea how it looks in Krita and in KOffice libs (flake). ![]() We talked in Berlin at the KOffice Sprint about my Google Summer Of Code proposal and we decided to start with feature “Rotation of the Canvas”.The use-case is that you can rotate canvas in Krita according the rotation of your tablet.
0 Comments
Read More
Leave a Reply. |