mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Fix spelling (#128)
* Fix spelling in .cpp files * Fix spelling in all files
This commit is contained in:
@@ -135,7 +135,7 @@ uint32_t SimpleCodePoints[] = {
|
||||
0x394, // Δ // GREEK CAPITAL LETTER DELTA
|
||||
0x3a9, // Ω // GREEK CAPITAL LETTER OMEGA
|
||||
0x3b8, // θ // GREEK SMALL LETTER THETA
|
||||
0x3bb, // λ // GREEK SMALL LETTER LAMDA
|
||||
0x3bb, // λ // GREEK SMALL LETTER LAMBDA
|
||||
0x3bc, // μ // GREEK SMALL LETTER MU
|
||||
0x3c0, // π // GREEK SMALL LETTER PI
|
||||
0x3c3, // σ // GREEK SMALL LETTER SIGMA
|
||||
|
||||
@@ -185,7 +185,7 @@ int main(int argc, char * argv[]) {
|
||||
fprintf(sourceFile, "/* This file is auto-generated by the rasterizer */\n\n");
|
||||
fprintf(sourceFile, "#include <kandinsky/font.h>\n\n");
|
||||
|
||||
// Step 1 - Build the GlyphIndex <-> UnicodeCodePoint correspondance table
|
||||
// Step 1 - Build the GlyphIndex <-> UnicodeCodePoint correspondence table
|
||||
|
||||
int previousIndex = -1;
|
||||
uint32_t previousCodePoint = 0;
|
||||
|
||||
@@ -77,10 +77,10 @@ void KDContext::blendRectWithMask(KDRect rect, KDColor color, const uint8_t * ma
|
||||
startingJ = startingJ > 0 ? startingJ : 0;
|
||||
for (KDCoordinate j=0; j<absoluteRect.height(); j++) {
|
||||
for (KDCoordinate i=0; i<absoluteRect.width(); i++) {
|
||||
KDColor * currentPixelAdress = workingBuffer + i + absoluteRect.width()*j;
|
||||
KDColor * currentPixelAddress = workingBuffer + i + absoluteRect.width()*j;
|
||||
const uint8_t * currentMaskAddress = mask + i + startingI + rect.width()*(j + startingJ);
|
||||
*currentPixelAdress = KDColor::blend(*currentPixelAdress, color, *currentMaskAddress);
|
||||
//*currentPixelAdress = KDColorBlend(*currentPixelAdress, color, *currentMaskAddress);
|
||||
*currentPixelAddress = KDColor::blend(*currentPixelAddress, color, *currentMaskAddress);
|
||||
//*currentPixelAddress = KDColorBlend(*currentPixelAddress, color, *currentMaskAddress);
|
||||
}
|
||||
}
|
||||
pushRect(absoluteRect, workingBuffer);
|
||||
|
||||
Reference in New Issue
Block a user