Commit Graph

826 Commits

Author SHA1 Message Date
faiface 5097bc9cac adjust WindowConfig doc, more consistent with the rest 2017-04-07 12:34:16 +02:00
faiface 8db95af845 fix GLFrame.SetBounds to not reallocate when not necessary 2017-04-05 23:20:55 +02:00
faiface b41e117ac6 fix Matrix.String 2017-04-04 14:10:39 +02:00
faiface 49338251d2 add Matrix.String 2017-04-04 14:08:37 +02:00
faiface b135012115 minor change 2017-04-04 14:02:39 +02:00
faiface 1a2ca3264d add Window.Color 2017-04-02 19:08:48 +02:00
faiface 46c8784df0 split Canvas into Canvas+GLFrame + add GLPicture 2017-04-01 21:54:44 +02:00
faiface f9482d311f remove Slice and Original from Canvas 2017-03-31 15:03:06 +02:00
faiface 1b32c1a04b make Sprite accept Picture and frame 2017-03-31 15:00:59 +02:00
faiface 0b3cfac547 remove Slice and Original from Picture interface 2017-03-30 23:34:07 +02:00
faiface 5d98f28ca0 remove auto norm from R (Rect constructor) 2017-03-25 19:45:11 +01:00
faiface 379b4df667 adopt new ToNRGBA function 2017-03-23 23:07:49 +01:00
faiface 6eeff66728 add ToNRGBA function for performance 2017-03-23 23:03:07 +01:00
faiface 3cfa3a5395 add Sprite.Matrix and Sprite.ColorMask getters 2017-03-23 23:00:42 +01:00
faiface 7454bf723e minor code change 2017-03-23 20:27:51 +01:00
faiface cee897e1a5 add Sprite.SetMatrix and Sprite.SetColorMask 2017-03-23 19:59:03 +01:00
faiface af76ff17d8 rename graphics.go -> sprite.go 2017-03-23 19:46:24 +01:00
faiface fb8424cd32 add support for one point lines in imdraw 2017-03-23 19:38:53 +01:00
faiface 4bebc7e6e4 add Vec.WithX/WithY and Rect.WithMin/WithMax 2017-03-23 19:27:39 +01:00
faiface 4619398b9e fix 0 vector len + fix imdraw polyline 2017-03-23 19:15:06 +01:00
faiface 0585b0af8c improve imdraw doc 2017-03-22 18:53:25 +01:00
faiface 5e698c63f0 move IMDraw to separate package 2017-03-21 11:33:11 +01:00
faiface 118bd03bac rename PictureData.Offset -> Index 2017-03-20 23:13:18 +01:00
faiface 4b17773a1a fix bug in Canvas.MakeTriangles 2017-03-20 23:11:50 +01:00
faiface b4adc875d8 make PictureData.Offset exported 2017-03-20 23:08:36 +01:00
faiface 4c526867a4 heavily optimize Canvas.MakePicture with PictureData 2017-03-20 19:54:59 +01:00
faiface bf5ff044b2 significantly lower memory usage of PictureData 2017-03-19 20:20:07 +01:00
faiface 1be88eeb17 optimize color.NRGBA -> pixel.NRGBA conversion 2017-03-19 20:09:05 +01:00
faiface 0b5c3f2171 fix updating Batch's TargetTriangles 2017-03-19 19:49:08 +01:00
faiface bec6bdca6a add Matrix.Chained 2017-03-19 00:08:46 +01:00
faiface 1ff57ffbe4 fix bug with matrix and mask in IMDraw 2017-03-18 22:39:12 +01:00
faiface 562f5e19c9 fix bug in IMDraw.Push 2017-03-18 20:18:44 +01:00
faiface 039b4f1706 add IMDraw type doc 2017-03-18 17:18:41 +01:00
faiface 3aa5478499 add IMDraw drawing methods 2017-03-18 16:18:05 +01:00
faiface 2e8f5fb05a remove Vec.YX because it's unreadable 2017-03-18 11:55:01 +01:00
faiface 31d4f08173 add Vec.YX 2017-03-18 11:34:31 +01:00
faiface 3ed1d0ab78 fix angle consistency in IMDraw.FillEllipseArc 2017-03-16 12:53:52 +01:00
faiface 1f6d186539 fix another two misspells 2017-03-16 00:47:50 +01:00
faiface 8625586bee fix two misspells 2017-03-16 00:45:04 +01:00
faiface 04d6e176ff minor doc change 2017-03-16 00:40:52 +01:00
faiface 19ba78bb0c minor changes 2017-03-16 00:15:39 +01:00
faiface 311b474e89 remove last usages of mainthread.CallVal 2017-03-15 23:43:00 +01:00
faiface cd11c39e64 one more doc bug 2017-03-15 22:56:23 +01:00
faiface eab91b4110 fix many bugs in pixelgl doc 2017-03-15 22:55:43 +01:00
faiface 6df99cdb35 fix many bugs in doc 2017-03-15 19:40:39 +01:00
faiface 1cecf85bdb simplify IMDraw.Precision 2017-03-15 14:01:55 +01:00
faiface 5cc293784e add IMDraw BasicTarget interface check 2017-03-15 13:55:52 +01:00
faiface d11245e164 make IMDraw a fully featured BasicTarget 2017-03-15 13:54:19 +01:00
faiface 415fc129ca add missing dot in doc 2017-03-15 01:09:33 +01:00
faiface 21013620a9 minor change 2017-03-15 00:35:14 +01:00