General information
Category:
Visual FoxPro Beta
Regarding optimizing...
.oBrush.Create( 0xA8000000 )
.oStringFormat.StringFormat.Create()
.oStringFormat.Alignment= GDIPLUS_ALIGNMENT_FAR
.oFont.Create(...)
.oGR.DrawStringW( m.tcContentsToBeRendered ;
, .oFont ;
, .oGR.MakeGdipRectF( x,y,w,h) ;
, .oStringFormat ;
, .oBrush
)
That's what I meant. And if you want to draw in 100% black, you can leave the brush out entirely.
But if your current code works perfectly, it might be best to leave it alone. It's
Note you can keep the brush, font,stringformat objects hanging round indefinitely, but the graphics handle can change on you so don't optimize out the SetHandle().
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only