.TH "SoQtCursor::CustomCursor" 3 "Thu May 26 2016" "Version 1.6.0a" "SoQt" \" -*- nroff -*- .ad l .nh .SH NAME SoQtCursor::CustomCursor \- The \fBSoQtCursor::CustomCursor\fP class is used to specify bitmap data for \fBSoQtCursor\fP custom cursors\&. .SH SYNOPSIS .br .PP .SS "Public Attributes" .in +1c .ti -1c .RI "SbVec2s \fBdim\fP" .br .ti -1c .RI "SbVec2s \fBhotspot\fP" .br .ti -1c .RI "unsigned char * \fBbitmap\fP" .br .ti -1c .RI "unsigned char * \fBmask\fP" .br .in -1c .SH "Detailed Description" .PP The \fBSoQtCursor::CustomCursor\fP class is used to specify bitmap data for \fBSoQtCursor\fP custom cursors\&. .SH "Member Data Documentation" .PP .SS "SbVec2s SoQtCursor::CustomCursor::dim" Size of cursor data\&. Can be anything from 1 pixel wide and high, up to maximum 32 pixels in each dimension\&. .SS "SbVec2s SoQtCursor::CustomCursor::hotspot" Position of cursor hotspot, ie the pixel of the cursor which is considered to be the 'pick point' when interacting with the canvas or widgets\&. .PP The hotspot position should be specified relative to the uppermost, leftmost corner (which is position <0, 0>)\&. .SS "unsigned char * SoQtCursor::CustomCursor::bitmap" The size of the array of bitmap data should be equal to (width+7)/8*height, as each cursor pixel is specified with just two bits, one in the bitmap array, one in the mask array\&. .PP The bitmap and mask bits should be laid out as follows: .PP .nf B=1 and M=1 == black B=0 and M=1 == white B=0 and M=0 == transparency B=1 and M=0 will give undefined results for some platforms, so avoid. .fi .PP .SS "unsigned char * SoQtCursor::CustomCursor::mask" See doc of \fBSoQtCursor::CustomCursor::bitmap\fP\&. .SH "Author" .PP Generated automatically by Doxygen for SoQt from the source code\&.