Trying to set Font in VLDrawTextLayer
|
12-20-2011, 10:39 PM
Post: #11
|
|||
|
|||
RE: Trying to set Font in VLDrawTextLayer
You'll have to convert the colorformat from the FontDialog from BGR to RGBA like so for example:
int red=FontDialog1->Font->Color&0x0FF; int green=(FontDialog1->Font->Color&0x0FF00)>>8; int blue=(FontDialog1->Font->Color&0x0FF0000)>>16; TColor col=0x0FF000000+blue+(green<<8)+(red<<16); VLDrawTextLayer1->Font->Brush->Color=col; Regards, Dave |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Trying to set Font in VLDrawTextLayer - BReeves - 12-18-2011, 11:16 PM
RE: Trying to set Font in VLDrawTextLayer - Dave - 12-18-2011, 11:42 PM
RE: Trying to set Font in VLDrawTextLayer - BReeves - 12-19-2011, 02:32 AM
RE: Trying to set Font in VLDrawTextLayer - Dave - 12-19-2011, 07:11 AM
RE: Trying to set Font in VLDrawTextLayer - BReeves - 12-19-2011, 07:36 AM
RE: Trying to set Font in VLDrawTextLayer - Dave - 12-19-2011, 08:01 AM
RE: Trying to set Font in VLDrawTextLayer - BReeves - 12-19-2011, 08:51 PM
RE: Trying to set Font in VLDrawTextLayer - Dave - 12-20-2011, 10:19 AM
RE: Trying to set Font in VLDrawTextLayer - BReeves - 12-20-2011, 06:39 PM
RE: Trying to set Font in VLDrawTextLayer - Dave - 12-20-2011, 10:03 PM
RE: Trying to set Font in VLDrawTextLayer - BReeves - 12-21-2011, 12:43 AM
RE: Trying to set Font in VLDrawTextLayer - Dave - 12-20-2011 10:39 PM
|
User(s) browsing this thread: 5 Guest(s)