cassius Posted January 7, 2014 Posted January 7, 2014 Thers an example in the command reference. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
gamecreator Posted January 7, 2014 Posted January 7, 2014 Go to Documentation at the top, Command Reference, then Context, then DrawText Quote
nate066 Posted January 7, 2014 Author Posted January 7, 2014 When I draw my text i get these weird blocky characters. Quote
tjheldna Posted January 7, 2014 Posted January 7, 2014 There is no alpha being drawn use the set blend mode Alpha before the draw and blend mode solid after you finished drawing your text etc. think that's it. self.context:SetBlendMode(Blend.Alpha) self.context:SetColor(1,1,1) self.context:DrawText(text,x,y) self.context:SetBlendMode(Blend.Solid) Quote
nate066 Posted January 7, 2014 Author Posted January 7, 2014 T There is no alpha being drawn use the set blend mode Alpha before the draw and blend mode solid after you finished drawing your text etc. think that's it. self.context:SetBlendMode(Blend.Alpha) self.context:SetColor(1,1,1) self.context:DrawText(text,x,y) self.context:SetBlendMode(Blend.Solid) Thanks that worked Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.