Jump to content
Software FX Community

Re: CFX98: Font does not scale when Paint() is called?


User (Legacy)

Recommended Posts

Petr,

I had exactly the same problem I think you are having -- that is the graph

bars, pies etc show fine but the fonts look incredibly small.

I solved it by changing the mapping mode before using the paint method.

eg

// Change the mapping mode to text

iMapMode = SetMapMode( hDC, MM_TEXT )

// call paint here

// then change the mapping mode back to whatever it was

SetMapMode(hDC,iMapMode)

Hope this helps you

James Beauchamp

Dipolar Software

Sydney, Australia

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...