在用cairo进行绘图时,最简单的操作就像手工绘画时一样:选择绘图介质,选择画笔,选择颜色,考虑线条的布局,然后进行实际绘制。
When drawing with Cairo, the simplest operations are akin to choosing your medium, selecting a brush, choosing a color, thinking about the line placement, then actually drawing the lines.
参数数组包含您的绘图选项,这取决于您使用的绘图类型。
The arguments array contains your plot options, which depend on the type of plot you use.
如果需要跨平台功能,但是不需要低层绘图控制,那么可以使用在cairo之上构建的一些绘图库。
And if you want to have the cross-platform capabilities but do not want to draw at a low level, there are some other convenience drawing libraries that sit on top of Cairo.
And if you have your calculator all set up as you love and you don't want to change it, then maybe you should just go and get an $8.00 scientific calculator that doesn't have any of the graphing functions, because you don't actually need them, so that's a better option for you, you can do that as well.
如果你的计算器里已经按照你的喜好编好了,而你又不想改动,那么或许你可以,去再买一个八美元的科学计算器,它没有任何绘图功能,因为实际上你也用不到这些,所以这对你来说是一个更好的选择,你也可以这样做。
Now, we get to draw some lessons out of this thing, so everybody who's feeling a little bit shell shocked from having been doing algebra and calculus and drawing pictures and feeling like they've been cheated into taking a class that looks far too much like economics, calm down we're going to actually talk right now.
下面我们从中总结点经验出来,那些因为代数和微积分计算还有绘图,而感到十分不爽的同学,你们是不是感觉被我忽悠了,才会选这门一点都不像经济学的课啊,稍安勿躁,我们马上切入正题
应用推荐