Graphics Class Design 绘图物件类别设计
opengl graphics class opengl图形库
Besides these, the graphics class exposes a lot of other convenient methods that can be used to draw other basic shapes like rectangles, curves, rounded rectangles, lines, triangles, and so on.
此外,graphics类还给出了可用来绘制诸如矩形、曲线、圆角矩形、线、三角等这类基础图形的其他便捷方法。
The next step is to create the RolloverIcon class that is able to wrap an original icon and paint it with the desired graphics effect shown in Figure 1.
下一步是创建能够将初始图标包装起来并用图1所示的图形效果给图标着色的rollovericon类。
Let's start with a graphics environment object and an interface called GraphicsObject implemented by a line class that draws lines.
让我们首先来看一个图形环境对象和一个名为GraphicsObject的接口,它是使用一个line类实现的,功能就是用来画线。
应用推荐