在像素坐标与GD之间创建连接,并填充出差销售人员所跨越的地区。
Create connections between the pixel coordinates with GD and fill in the region bounded by your traveling salesperson.
现在我们可以开始来查看样例代码了,它包含了前面介绍的初始化工作,以及处理单个像素、填充矩形和渲染文本的函数。
At this point you can take a look at the sample code which includes the initialization I described earlier, as well as functions to plot single pixels, draw filled rectangles, and render text.
使用这些像素坐标,我们可以绘制以这些点为起点的直线,重新设定直线的颜色、连接直线、用颜色填充周围的区域或者GD 可以执行的任何其他操作。
With these pixel coordinates, we can draw lines emanating from the the points, recolor them, connect them, fill the surrounding area with color, or anything else GD can do.
当给该软件提供剔除一些骨骼的受伤颅骨核磁共振成像时像时,它就可以产生特定的设计来填充缺失的像素。
When the software is fed a magnetic-resonance image of an injured skull with some bones struck out, it generates patient-specific designs to fill in the missing bits.
要去除这些边框,设置-outline属性为与填充色相同即可;要加宽边框,使用- width属性来指定宽度(用像素表示)。
To remove these borders, set the -outline property to be the same as the fill color; to widen the borders, use the -width property to specify their width in pixels.
上面的输出显示,文本填充到一个大小为174x36像素的方框中。
The above output shows that the text fits in a box that is 174x36 pixels in size.
panel类将把元素的边界设为设备框的大小,添加10个像素的填充,并且设置页面的背景颜色和条纹。
The panel class sets the element's border to the size of the device box, adds 10 pixels of padding, and puts the background color and pinstripes on the page.
工具-利用图像编辑器广泛像素的艺术创作工具:铅笔,橡皮擦,吸管,缩放,矩形选择,魔术棒,套索,移动,填充,线条,矩形和椭圆形。
Tools - Leverage Image Editor wide array of tools when composing pixel art: Pencil, Eraser, Eyedropper, Zoom, Rectangular Selection, Magic Wand, Lasso, Move, Fill, Line, Rectangle, and Ellipse.
复制街灯,设置前景色为黑色,锁定图层的透明像素后填充黑色。
Duplicate the lamp, set your foreground color to black and fill the lamp copy locking transparent pixels.
因此,当前场的像素被保留,并且利用运动补偿通过来自所存储的(多个)场的像素来填充这些像素之间的空线。
So, the pixels of the current field are retained, and the empty lines between those pixels are populated with pixels from the stored field (s) using motion compensation.
我做了一个简单的计算和把可用空间划分成3等宽的矩形,并有25像素填充它们之间的空白。
I did a simple calculation and pied the available space into 3 equal width boxes with 25 pixels padding between them.
现在,当有足够的梯形是白色像素填充,有可能是在那边板。
Now, when the trapezoid is filled with enough white pixels, there is probably a plate over there.
实际填充区域(深蓝色部分)仅仅延伸至路径两旁各一半像素。
The actual area to be filled (dark blue) only extends halfway into the pixels on either side of the path.
在以软件模式呈现时,遇到的最大的性能问题与填充率有关,该值定义为呈现的像素数目。
The biggest performance issue you will encounter when rendering in software mode is related to fill rate, which is defined as the number of pixels that you are rendering.
以百万像素/秒,返回显卡像素填充率,或-1,如果显卡是未知的填充率。
Returns pixel fill-rate in mega pixels/second, or -1 if fill rate of the device is not known.
在对微扫描成像性能的评价过程中引入了像素传递函数的概念,并给出了在填充因子不同时的探测器阵列的像素传递函数及其曲线。
The concept of pixel transfer function is introduced and the pixel transfer function and its curves with different filling factor of detector array are presented.
此刻蒙版该层&填充黑色,然后白色笔刷画云的部门,你也许能透过此步操作看见很差劲的像素,快利用钤记工具盖上他们。
Now mask the layer and fill it with black. Then with a white brush draw over the clouds. As you can see my clouds get some really ugly pixels so I used the Clone Tool (S) to cover them up.
在第一个图中,填充了(2,1)至(5,5) 的矩形,整个区域的边界刚好落在像素边缘上,这样就可以得到的矩形有着清晰的边缘。
In the first grid image below, a rectangle from (2,1) to (5,5) is filled. The entire area between them (light red) falls on pixel boundaries, so the resulting filled rectangle will have crisp edges.
新建一层,画一个像素高度的选区,从层中间位置开始用白色到透明的颜色值拉一个径向渐变填充。
Create a New Layer and make a selection 1px height and fill it with a Radial Gradient, White to Transparent, starting out from the middle and deselect.
验证结果显示,其像素结构可以实现较小的像素面积和较好的填充因子,相比于其他相关设计更具折衷性。
The testing result indicate that the proposed pixel structure can not only achieve the smaller pixel size and better fill factor but also keep the better tradeoff compared with other counterparts.
为精确计算结果,请在补白、边框和填充属性上使用像素单位。
For accurate calculations make sure to use pixel values for margins, borders and padding.
创建新图层,用白色填充选择。降低图层不透明度为60%。下面,你可以看到之前和之后添加1像素线的细微区别。
Createnew layer and fill selection with white. Reduce layer opacity to 60%. Below, you can see the subtle difference before and after adding a 1 px line.
创建新图层,用白色填充选择。降低图层不透明度为60%。下面,你可以看到之前和之后添加1像素线的细微区别。
Createnew layer and fill selection with white. Reduce layer opacity to 60%. Below, you can see the subtle difference before and after adding a 1 px line.
应用推荐