Fixes for Win32 build

This commit is contained in:
Robert Osfield
2002-04-12 09:53:39 +00:00
parent c6cdfc6794
commit a44efe01bb
3 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ void Transform::setReferenceFrame(ReferenceFrame rf)
_referenceFrame = rf;
// switch off culling if transform is absolute.
if (_referenceFrame==ABSOLUTE) setCullingActive(false);
if (_referenceFrame==RELATIVE_TO_ABSOLUTE) setCullingActive(false);
else setCullingActive(true);
}

View File

@@ -30,7 +30,7 @@ void FTContour::AddPoint( const float x, const float y)
FTVectoriser::FTVectoriser( FT_Glyph glyph)
: contour(0),
contourFlag(0),
kBSTEPSIZE( 0.2)
kBSTEPSIZE( 0.2f)
{
FT_OutlineGlyph outline = (FT_OutlineGlyph)glyph;
ftOutline = outline->outline;