the_fiddler
5cb476942a
Fixed a large number of XML documentation warnings.
2009-05-17 15:06:26 +00:00
the_fiddler
48ad1cad60
* Fonts/IFont.cs: marked as obsolete.
2009-03-25 21:49:52 +00:00
the_fiddler
69b17fa43f
Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files.
2009-02-22 10:43:35 +00:00
the_fiddler
db690b144f
Merged text branch and updated changelog.
2009-02-13 19:09:38 +00:00
the_fiddler
dbfe063aee
Prevent LoadGlyph from thrashing the PixelStore attribute.
2008-11-19 18:00:28 +00:00
the_fiddler
ebc25d1660
Fixed handling of multiple newlines.
...
Removed unused code.
2008-11-18 19:27:26 +00:00
the_fiddler
d605db520f
Fall back to Clamp, if ClampToEdge is not supported.
2008-11-18 12:44:52 +00:00
the_fiddler
39d1bea45f
Removed debug print statements.
2008-11-14 00:09:47 +00:00
the_fiddler
6c43fdb8c2
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
23c4dac622
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
1e6a61e1e1
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
097e3f37db
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
c230cfa3b2
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
a20b8407a2
Fixed clipping issues with font layout.
...
Improved glyph loading speed.
Fixed text measurement.
2008-06-24 20:35:37 +00:00
the_fiddler
f347036a6b
Now use the new MeasureText function.
2008-06-24 18:29:02 +00:00
the_fiddler
f2ac359999
Renamed MeasureCharacterRanges to MeasureText.
...
Sped up MeasureText.
Added MeasureText overloads.
Obsoleted MeasureString function.
2008-06-24 18:27:51 +00:00
the_fiddler
768dd51e74
Corrected two while loops (they should have been plain if-statements, not loops).
2008-06-22 16:31:48 +00:00
the_fiddler
f40073b1b9
Corrected a stupid error where MeasureCharacterRanges was called with incorrect parameters.
2008-06-22 16:31:00 +00:00
the_fiddler
4b47612234
Updated TextPrinter.PerformLayout to use the new GdiPlus-based MeasureCharacterRanges function.
2008-06-22 16:30:01 +00:00
the_fiddler
314bec1c66
Implemented MeasureCharacterRanges function using the new GdiPlus bindings.
2008-06-22 16:29:13 +00:00
the_fiddler
724296dc65
Removed unnecessary memory allocations.
...
Removed out-of-date comment.
2008-06-21 23:24:24 +00:00
the_fiddler
71fda048a6
Improved code layout. Added #region directives.
2008-06-21 23:23:33 +00:00
the_fiddler
da15592dd4
Fixed some code-style issues.
2008-06-21 20:46:31 +00:00
the_fiddler
c63102621f
Added protected and public getters and setters to TextHandle.
2008-05-24 07:52:36 +00:00
the_fiddler
b98fe61653
Allow the user to code his own ITextPrinterImplementation.
2008-05-24 07:47:30 +00:00
the_fiddler
47b0d1f0fe
* TextPrinter.cs: Updated licensing information and fixed some spacing
...
problems.
2008-05-05 17:13:22 +00:00
the_fiddler
d83a3ce6f9
Should only call GL.PopAttrib() once in TextPrinter.End()
2008-04-17 22:41:27 +00:00
the_fiddler
40b074179e
Fixed dynamic text rendering when no text is precached at all.
2008-04-13 18:29:36 +00:00
the_fiddler
fb13f49a85
Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics.
2008-04-13 16:45:56 +00:00
the_fiddler
e6bfaa28ef
Added a missing xml doc to the Dispose method.
2008-04-11 18:22:41 +00:00
the_fiddler
7001076f5a
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
d15062a6f5
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
1e397fcee5
Moved OpenTK.Fonts to OpenTK.Graphics namespace.
2008-03-08 14:38:10 +00:00
the_fiddler
ca68971695
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