/** * æ¡å¤§ç¨é¢æ° * Graphics g * Image image æ¡å¤§ããç»å * int dx, dy æç»å åº§æ¨ * int scaled æ¡å¤§ç * int sx, sy æç»å åº§æ¨ * int width, height æç»å ãµã¤ãº */ private void drawScaledImage1(Graphics g, Image image, int dx, int dy, int scaled, int sx, int sy, int width, int height) { int w = width * scaled; int h = height * scaled; int[] pixels = new int[width*height]; int[] scaled_pixels = new int[w*h]; image.getRGB(pixels, 0
{{#tags}}- {{label}}
{{/tags}}