Skip to content

Commit bdebe96

Browse files
authored
Update README.md
1 parent c13397e commit bdebe96

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,3 @@ apt-get install libgd-dev
2929

3030
3. Include SwiftLibgd in your target dependencies.
3131
SwiftLibgd has a single Swift dependency: Cgd, which wraps the underlying GD library.
32-
33-
## Classes
34-
35-
SwiftLibgd provides five classes for basic image operations:
36-
- Image – responsible for loading, saving, and manipulating image data
37-
- Point – stores x and y coordinates as integers
38-
- Size – stores width and height as integers
39-
- Rectangle – combines Point and Size into one value
40-
- Color – provides red, green, blue, and alpha components as Doubles from 0 to 1, and includes some built-in colors to get you started
41-
42-
These are implemented as classes rather than structs because only classes have deinitializers, which are required to release GD’s memory when an image is destroyed.

0 commit comments

Comments
 (0)