Mercurial > projects > dwt-win
comparison dwt/internal/image/PngIhdrChunk.d @ 213:36f5cb12e1a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 17 May 2008 17:34:28 +0200 |
parents | ab60f3309436 |
children |
comparison
equal
deleted
inserted
replaced
212:ab60f3309436 | 213:36f5cb12e1a2 |
---|---|
10 * Port to the D programming language: | 10 * Port to the D programming language: |
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwt.internal.image.PngIhdrChunk; | 13 module dwt.internal.image.PngIhdrChunk; |
14 | 14 |
15 import dwt.dwthelper.utils; | |
16 | |
15 | 17 |
16 import dwt.DWT; | 18 import dwt.DWT; |
17 import dwt.graphics.PaletteData; | 19 import dwt.graphics.PaletteData; |
18 import dwt.graphics.RGB; | 20 import dwt.graphics.RGB; |
19 import dwt.internal.image.PngFileReadState; | 21 import dwt.internal.image.PngFileReadState; |
20 import dwt.internal.image.PngIhdrChunk; | 22 import dwt.internal.image.PngIhdrChunk; |
21 import dwt.internal.image.PngChunk; | 23 import dwt.internal.image.PngChunk; |
22 import tango.text.convert.Format; | 24 import tango.text.convert.Format; |
23 import dwt.dwthelper.utils; | |
24 | 25 |
25 class PngIhdrChunk : PngChunk { | 26 class PngIhdrChunk : PngChunk { |
26 static const int IHDR_DATA_LENGTH = 13; | 27 static const int IHDR_DATA_LENGTH = 13; |
27 | 28 |
28 static const int WIDTH_DATA_OFFSET = DATA_OFFSET + 0; | 29 static const int WIDTH_DATA_OFFSET = DATA_OFFSET + 0; |