the_fiddler
44044ea415
Removed debug print statements.
2008-11-14 00:09:47 +00:00
the_fiddler
912e5c873e
Whitespace is now ignored when rendering text (slight performance improvement).
...
Text now split into lines before measuring, to avoid buggy Mono GDI+ implementation.
Pixel unpack attribute is now used optimize glyph uploading.
Added ClampToEdge attribute to the font sheet.
2008-11-14 00:00:54 +00:00
the_fiddler
8146fdcc5c
General cleanup:
...
Glyph is now a struct.
Code layout follows OpenTK format.
Added missing doc-strings.
2008-07-04 19:23:12 +00:00
the_fiddler
bcd8d4c9bc
Removed two warnings.
2008-07-04 16:41:17 +00:00
the_fiddler
486a3cf645
Use StringFormat.GenericDefault when loading glyphs, to account for overhangs (especially visible in e.g. italics).
...
Remove an unused variable in MeasureText.
2008-07-01 18:50:49 +00:00
the_fiddler
ee34df5b16
Reverted StringFormat.GenericDefault change.
...
Explicitly specified StringFormat.GenericTypographic when rasterizing glyphs, to avoid mismatch between rasterization and measuring.
2008-06-29 10:56:51 +00:00
the_fiddler
d7173edb60
Use GenericDefault instead of GenericTypographic for MeasureCharacterRanges, in order to correctly calculate the bounding boxes of glyphs and strings.
2008-06-28 17:44:24 +00:00
the_fiddler
856551e212
Fixed clipping issues with font layout.
...
Improved glyph loading speed.
Fixed text measurement.
2008-06-24 20:35:37 +00:00
the_fiddler
922d9ae3ff
Added a region directive to conform to OpenTK standards.
2008-06-24 18:29:11 +00:00
the_fiddler
a52666d9e6
Now use the new MeasureText function.
2008-06-24 18:29:02 +00:00
the_fiddler
c0803a2e03
Renamed MeasureCharacterRanges to MeasureText.
...
Sped up MeasureText.
Added MeasureText overloads.
Obsoleted MeasureString function.
2008-06-24 18:27:51 +00:00
the_fiddler
3e6a2e4e9b
Corrected two while loops (they should have been plain if-statements, not loops).
2008-06-22 16:31:48 +00:00
the_fiddler
426cb6432d
Corrected a stupid error where MeasureCharacterRanges was called with incorrect parameters.
2008-06-22 16:31:00 +00:00
the_fiddler
8e4287b46e
Updated TextPrinter.PerformLayout to use the new GdiPlus-based MeasureCharacterRanges function.
2008-06-22 16:30:01 +00:00
the_fiddler
6801dc3e94
Implemented MeasureCharacterRanges function using the new GdiPlus bindings.
2008-06-22 16:29:13 +00:00
the_fiddler
fa0e5ee0d0
Removed unnecessary memory allocations.
...
Removed out-of-date comment.
2008-06-21 23:24:24 +00:00
the_fiddler
80020a02f1
Improved code layout. Added #region directives.
2008-06-21 23:23:33 +00:00
the_fiddler
bf8a555bc9
Fixed some code-style issues.
2008-06-21 20:46:31 +00:00
the_fiddler
84d1a13355
Added protected and public getters and setters to TextHandle.
2008-05-24 07:52:36 +00:00
the_fiddler
6ce200cdae
Allow the user to code his own ITextPrinterImplementation.
2008-05-24 07:47:30 +00:00
the_fiddler
7920b65ac4
* TextPrinter.cs: Updated licensing information and fixed some spacing
...
problems.
2008-05-05 17:13:22 +00:00
the_fiddler
c70fef9b91
Added assembly information.
2008-05-04 16:54:43 +00:00
the_fiddler
d154c7fe0b
Should only call GL.PopAttrib() once in TextPrinter.End()
2008-04-17 22:41:27 +00:00
the_fiddler
a1421c2326
Added 1 pixel to packing distances - seems to reduce packing artifacts at the seams.
2008-04-13 18:43:58 +00:00
the_fiddler
4eca16d79f
Fixed dynamic text rendering when no text is precached at all.
2008-04-13 18:29:36 +00:00
the_fiddler
57b097f7d0
Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics.
2008-04-13 16:45:56 +00:00
the_fiddler
4474cd4c35
Moved TexturePacker to OpenTK.Utilities.
2008-04-13 16:37:32 +00:00
the_fiddler
a2ed57a157
Added a missing xml doc to the Dispose method.
2008-04-11 18:22:41 +00:00
the_fiddler
eee67d64b5
Renamed AudioLoader and WaveLoader to AudioReader and WaveReader.
2008-04-06 14:32:59 +00:00
the_fiddler
c587cc5189
Renamed SoundReader to AudioLoader and WaveReader to WaveLoader.
2008-04-06 14:31:11 +00:00
the_fiddler
670d65eada
Fixed SoundReader prermissions.
...
Fixed a problem with SoundReader.EndOfFile.
Removed a Dispose() call i Playback.cs (was not necessecary).
Streaming code updates.
2008-04-04 22:14:42 +00:00
the_fiddler
97a6b4e9c7
Added licenses.
2008-04-04 21:05:03 +00:00
the_fiddler
5ff51ba9fe
Moved OpenTK.OpenAL to OpenTK.Audio.
...
Added SoundReader class.
Added OpenTK.Math.Functions.NextPowerOfTwo
Fixed several AL functions, and added overloads to AL.BufferData.
Added OpenAL wave playback sample.
2008-04-04 19:46:08 +00:00
the_fiddler
9d1f1ecc4c
Push/Pop AttribMask.ColorBufferBit in TextPrinter.Begin/End
...
float[] viewport should have 4 members, not 6.
2008-03-13 09:34:09 +00:00
the_fiddler
ef16a9d296
Moved OpenTK.Fonts to OpenTK.Graphics namespace.
2008-03-08 14:38:10 +00:00
the_fiddler
7751c07e6f
Moved OpenTK.Fonts to from OpenTK OpenTK.Utilities.
...
Added OpenTK.Utilities.dll reference to Examples.
Moved assembly-level attributes from GameWindow.cs to Configuration.cs.
2008-03-08 14:06:59 +00:00
the_fiddler
cd123613fe
Added OpenTK.Utilities assembly.
2008-02-23 23:05:25 +00:00