listing6-05_bugs.xml

来自「着几乎所有智能机厂商都将有自己配套的App Store,甚至并非智能手机制造商的」· XML 代码 · 共 32 行

XML
32
字号
<bugs>
	<bug>
		<name>drawRgbOrigin</name>
		<description>
			The Graphics.drawRGB(..) method does not use a
			translated origin, but starts always at the top-left 0,0 origin.
		</description>
		<area>ui</area>
		<solution>
			Use the top-left 0,0 origin for devices with this bug:
			//#ifdef polish.Bugs.drawRgbOrigin
				x += g.getTranslateX();
				y += g.getTranslateY();
			//#endif
			g.drawRGB( rgbData, offset, scanlength, x, y, width, height, processAlpha);
		</solution>
	</bug>
	<bug>
		<name>ImageIOStreamAutoClose</name>
		<description>
			The Image.createImage( InputStream in ) should not close
			the given input stream according to the specification. Devices with this
			bug close the input stream.
		</description>
		<area>io</area>
		<solution>
			Move any image which should be loaded from an input stream to
			the last position in the corresponding stream.
		</solution>
	<bug>
</bugs>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?