Commit Graph

37 Commits

Author SHA1 Message Date
faiface a555999120 adopt RGB and Alpha 2017-04-10 17:25:56 +02:00
faiface aa2c560d4c rename ComposeDst* -> ComposeR* + add ComposePlus, ComposeCopy 2017-04-10 13:59:16 +02:00
faiface 4374bb7be1 remove smooth argument from Canvas constructor 2017-04-10 00:47:06 +02:00
faiface 3fa31cdab5 fix drawing onto Canvas 2017-04-10 00:41:56 +02:00
faiface 3d3f1c6e11 add Canvas.SetComposeMethod 2017-04-10 00:30:50 +02:00
faiface 134fe2bf7b use glhf.BlendFunc 2017-04-09 23:16:34 +02:00
faiface 32ae09e1e5 replace NRGBA to RGBA because Porter-Duff (!!!) 2017-04-09 22:00:26 +02:00
faiface 79f7f4fb42 split Canvas into Canvas+GLFrame + add GLPicture 2017-04-01 21:54:44 +02:00
faiface 2562f6b754 remove Slice and Original from Canvas 2017-03-31 15:03:06 +02:00
faiface 15a270e689 remove Slice and Original from Picture interface 2017-03-30 23:34:07 +02:00
faiface 379b4df667 adopt new ToNRGBA function 2017-03-23 23:07:49 +01:00
faiface 4b17773a1a fix bug in Canvas.MakeTriangles 2017-03-20 23:11:50 +01:00
faiface 4c526867a4 heavily optimize Canvas.MakePicture with PictureData 2017-03-20 19:54:59 +01:00
faiface eab91b4110 fix many bugs in pixelgl doc 2017-03-15 22:55:43 +01:00
faiface 07ecae706d fix consistency in Canvas.SetBounds 2017-03-14 19:27:28 +01:00
faiface 203adc914b change Rect to have Min, Max instead of Pos, Size 2017-03-13 23:52:34 +01:00
faiface a1e7f9bf04 better error messages %T -> (%T) 2017-03-08 23:51:53 +01:00
faiface 7f38aac901 minor stability change in Canvas.SetBounds 2017-03-08 22:51:18 +01:00
faiface 46f21a3096 fix changing Canvas Bounds 2017-03-08 19:19:20 +01:00
faiface 0127a8ae21 clarify doc 2017-03-08 16:57:02 +01:00
faiface d797cee6ce optimize Canvas.SetBounds 2017-03-08 16:56:02 +01:00
faiface d63590a799 add PictureColor properties to Canvas TargetPicture 2017-03-08 16:37:57 +01:00
faiface 79bffcc7e8 another minor change (code consistency) 2017-03-08 16:29:25 +01:00
faiface 907082326f fix color masking in Canvas.Clear 2017-03-08 15:02:40 +01:00
faiface e4ecafefc5 add clarifying comment 2017-03-07 22:44:25 +01:00
faiface 3d13e52add allow efficiently drawing one Canvas onto another 2017-03-07 20:33:07 +01:00
faiface f65ea40e19 implement Picture for Canvas 2017-03-07 17:45:46 +01:00
faiface 7feecc2e35 correct glhf.Bounds in Canvas 2017-03-07 01:06:37 +01:00
faiface 6b643e588a make Canvas code more consistent 2017-03-07 00:32:58 +01:00
faiface f0394ec7d1 replace Transform by much simpler Matrix 2017-03-06 19:58:24 +01:00
faiface 1083ca720d add Picture.Original 2017-03-06 19:04:57 +01:00
faiface 53066d4759 fix Picture drawing in Canvas 2017-03-06 16:09:09 +01:00
faiface 146797bad5 fix PictureData.Color (off by 1) 2017-03-06 13:05:45 +01:00
faiface 69a3c17cfc big big commit - rework whole pixelgl 2017-03-06 00:28:52 +01:00
faiface c1843b8608 add Drawer struct 2017-02-23 13:07:40 +01:00
faiface 6dc55b8746 change fundamental interfaces (add Picture) 2017-02-22 20:57:22 +01:00
faiface dbd90a0bcb move OpenGL specific stuff to pixelgl (except for Picture) 2017-02-22 20:44:38 +01:00