Skip to content

Rawdraw text position being move at android #119

Description

@salihberat

video link: https://archive.org/details/screen-record-2025-01-05-01-40-12

int (main):

int main()
{
	CNFGSetup( "Example App", 1024, 768 );
	while(CNFGHandleInput())
	{
		CNFGBGColor =  0xc37e68ff;

		short w, h;
		CNFGClearFrame();
		CNFGGetDimensions( &w, &h );

		//Change color to white.
		CNFGColor( 0xffffffff ); 

		CNFGPenX = 100;
		CNFGPenY = 10;
		CNFGDrawText("FOSS Client", 16);

		//Display the image and wait for time to display next frame.
		CNFGSwapBuffers();		
	}
}

why it is moving?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions