mirror of
https://github.com/mirkobrombin/raven.git
synced 2026-11-03 21:46:32 +00:00
feat: add GDI rasterizer, text, image loading, guest user32 component and pinned libpng
This commit is contained in:
1 parent
659315e3a9
commit
4a973d4dce
29 files changed
+3662
-30
No files matched your search
@@ -44,7 +44,7 @@ int main(int argc,char **argv)
|
||||
for (unsigned y=0;y<240;++y) for (unsigned x=0;x<320;++x) {
|
||||
const auto at=(y*320+x)*4;
|
||||
if (x<7 || x>=307 || y<11 || y>=223)
|
||||
check(final[at]==255 && !final[at+1] && !final[at+2],"client drawing damaged the outer border");
|
||||
if (!(final[at]==255 && !final[at+1] && !final[at+2])) { std::cerr<<"border pixel "<<x<<","<<y<<" = "<<unsigned(final[at])<<","<<unsigned(final[at+1])<<","<<unsigned(final[at+2])<<"\n"; check(false,"client drawing damaged the outer border"); }
|
||||
if (final[at]==255 && final[at+1]==255 && final[at+2]==255) ++ink;
|
||||
}
|
||||
check(ink>0,"client text was not presented");
|
||||
|
||||
Reference in new issue
Block a user