Commit Graph

53 Commits

Author SHA1 Message Date
bsski
b8df1217c3
all: fix typos (#2864) 2023-12-17 22:42:34 +09:00
Hajime Hoshi
280b4ff18a ebiten: update comments for ColorM
Updates #2171
2023-03-18 11:24:16 +09:00
Hajime Hoshi
f97d912605 ebiten: remove ColorM.ReadElements
ReadElements is a new function as of v2.5, but at the same time,
the colorm package is also added in v2.5. As ebiten.ColorM is
deprecated, ebiten's ColorM.ReadElements should not be requried.

Closes #2347
2023-03-07 00:07:08 +09:00
Hajime Hoshi
f37deea6e2 colorm: copy ColorM definition to improve documentations 2022-11-27 13:45:36 +09:00
Hajime Hoshi
0660c4ea8a ebiten: add ColorM.ReadElements
Updates #2171
Closes #2347
2022-11-02 02:57:14 +09:00
Hajime Hoshi
a9c9e18ff4 internal/graphicscommand: better strings for ColorM 2022-06-30 11:13:02 +09:00
Hajime Hoshi
e687865c8c ebiten: add ColorM.ScaleWithColor
Updates #1944
2022-01-10 17:36:46 +09:00
Hajime Hoshi
8c9ec8fc9f interna/affine: Avoid UnsafeElements at At
Updates #1796
2021-09-04 17:55:51 +09:00
Hajime Hoshi
3dcb3d7ea7 ebiten: Refactoring: Skip Concat when the argument is an identity 2021-08-18 01:39:19 +09:00
Hajime Hoshi
415ceded79 ebiten: Bug fix: Colorm.Concat crashed when the argument is an initial value
Closes #1765
2021-08-18 01:09:07 +09:00
Hajime Hoshi
21aa96f9f5 internal/affine: Refactoring: Make ColorM interface 2021-07-27 12:10:22 +09:00
Hajime Hoshi
e84506dfc3 internal/affine: Add String 2021-07-26 14:26:59 +09:00
Hajime Hoshi
1d4ff9a906 ebiten: Remove the deprecated functions and constants
Updates #1127
2020-10-04 04:47:24 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
6c33ed107f affine: Add more tests for (*ColorM).Invert 2020-07-04 01:58:37 +09:00
Gabriel Ochsenhofer
94b5747806
affine: Add functions to invert ColorM (#1233)
Fixes #548
2020-07-04 01:23:47 +09:00
Hajime Hoshi
a1ac574a60 docs: Use 'Deprecated:' annotation
Fixes #1160
2020-05-19 01:50:55 +09:00
Hajime Hoshi
8d5f2a5886 graphics: Marks ColorM as non-comparable explicitly
This is a temporary fix to avoid unexpected comparing.

Updates #866
2019-10-31 01:55:59 +09:00
Hajime Hoshi
922ec70cf9 affine: Misspelling 2018-10-13 00:07:48 +09:00
Hajime Hoshi
9af8e621bd Revert "affine: Refactoring: Unify two element slices into one"
This reverts commit da662b384c.
2018-08-06 01:44:31 +09:00
Hajime Hoshi
da662b384c affine: Refactoring: Unify two element slices into one 2018-07-27 01:51:49 +09:00
Hajime Hoshi
c22857ca89 affine: Implement (*GeoM).String() and (*ColorM).String()
Fixes #586
2018-05-08 01:53:59 +09:00
Hajime Hoshi
8c8e512059 affine: User nillable pattern for ColorM 2018-02-28 02:14:06 +09:00
Hajime Hoshi
f1f7e5bcec affine: Transpose ColorM implementation for optimization 2018-02-20 00:53:53 +09:00
Hajime Hoshi
9b361086d7 affine: Use float32 inside of ColorM 2018-02-20 00:33:56 +09:00
Hajime Hoshi
95480d0644 affine: Separate ColorM impl into two slices
This fix avoids unnecessary allocating arrays.
2018-02-12 19:01:01 +09:00
Hajime Hoshi
31796150e7 graphics: Fix comments in ColorM.Apply 2017-10-15 00:00:44 +09:00
Hajime Hoshi
6ae67fc6dd graphics: Add ColorM.Apply (#432) 2017-10-14 23:58:09 +09:00
Hajime Hoshi
a7fc463d91 doc: Improve comments 2017-10-01 03:15:50 +09:00
Hajime Hoshi
803aa77c20 affine: Refactoring 2017-09-16 15:49:12 +09:00
Hajime Hoshi
dad427920d affine: Add Reset function 2017-05-28 00:49:44 +09:00
Hajime Hoshi
6db994f0e8 graphics: Optimize GeoM 2017-05-24 00:57:57 +09:00
Hajime Hoshi
dfcd9fc30c graphics: Make matrices faster 2017-01-20 00:37:51 +09:00
Hajime Hoshi
71a4465c6f graphics: Improve matrices speed 2017-01-19 12:07:31 +09:00
Hajime Hoshi
7ff7f946c9 graphics: Fix comments 2016-12-20 03:05:30 +09:00
Hajime Hoshi
1a1d7972c1 graphics: Deprecated 'Add' func for affine matrices 2016-12-20 02:41:19 +09:00
Hajime Hoshi
84baee8ca7 Add internals/affine 2016-11-01 00:13:19 +09:00
Hajime Hoshi
2ccec18e3a graphics: Change ColorM structure for speed optimization 2016-10-31 11:56:54 +09:00
Hajime Hoshi
55d06f3bdb doc: Fix comments 2016-05-14 20:43:36 +09:00
Hajime Hoshi
723876feba colorm: Add ColorM.ChangeHSV and an example 2016-03-04 01:35:03 +09:00
Hajime Hoshi
278948a770 graphics: Bug fix: comment 2016-02-16 04:46:28 +09:00
Hajime Hoshi
67f837ff18 Add comments 2016-02-15 23:08:10 +09:00
Hajime Hoshi
d2bce0b9c1 image: Remove duplicated impl 2016-02-07 02:39:52 +09:00
Hajime Hoshi
d1ff3701a6 image: Deprecate RotateHue 2016-02-06 23:56:02 +09:00
Hajime Hoshi
439c8a62d3 image: Deprecate ScaleColor and TranslateColor 2016-02-06 21:49:11 +09:00
Hajime Hoshi
6fc6c7ed95 Add comments 2015-02-18 11:15:36 +09:00
Hajime Hoshi
ea98fefc4f Refactoring: matrix initialization 2015-01-03 22:54:01 +09:00
Hajime Hoshi
c53695eb56 Bug fix: Scale and Translate 2015-01-03 19:18:09 +09:00
Hajime Hoshi
2eea1afcd1 Optimize ColorM and GeoM 2015-01-03 18:35:44 +09:00
Hajime Hoshi
449bc7931d Change receiver ColorM.Element and GeoM.Element to pointers (performance issue) 2015-01-03 01:54:12 +09:00