| 177 | } |
| 178 | |
| 179 | void Ruler::SetLabelEdges(bool labelEdges) |
| 180 | { |
| 181 | // If this is true, the edges of the ruler will always |
| 182 | // receive a label. If not, the nearest round number is |
| 183 | // labeled (which may or may not be the edge). |
| 184 | |
| 185 | if (mRulerStruct.mLabelEdges != labelEdges) { |
| 186 | mRulerStruct.mLabelEdges = labelEdges; |
| 187 | |
| 188 | Invalidate(); |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | void Ruler::SetFlip(bool flip) |
| 193 | { |
no outgoing calls